CbmRoot
Loading...
Searching...
No Matches
CbmTaskInspectDigiTimeslice.h
Go to the documentation of this file.
1/* Copyright (C) 2024 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer] */
4
5#pragma once
6
7
8#include "CbmBmonDigi.h"
9#include "CbmDefs.h"
10#include "CbmMuchDigi.h"
11#include "CbmRichDigi.h"
12#include "CbmStsDigi.h"
13#include "CbmTofDigi.h"
14#include "CbmTrdDigi.h"
15
16#include <FairTask.h>
17
18#include <vector>
19
20class FairRootManager;
21
30class CbmTaskInspectDigiTimeslice : public FairTask {
31
32 public:
35
36
39
40
43
44
46 virtual void Exec(Option_t* opt);
47
48
50 virtual void Finish();
51
52
55
56
57 private: // methods
59 virtual InitStatus Init();
60
61 template<typename TVecobj>
62 const std::vector<TVecobj>* InitInput(FairRootManager* ioman);
63
64 private: // members
65 const std::vector<CbmBmonDigi>* fBmonDigis = nullptr;
66 const std::vector<CbmStsDigi>* fStsDigis = nullptr;
67 const std::vector<CbmMuchDigi>* fMuchDigis = nullptr;
68 const std::vector<CbmTrdDigi>* fTrdDigis = nullptr;
69 const std::vector<CbmTofDigi>* fTofDigis = nullptr;
70 const std::vector<CbmRichDigi>* fRichDigis = nullptr;
71 size_t fNumTs = 0;
72
73
75};
Demonstrator class to save online unpacked digis in an output ROOT tree.
CbmTaskInspectDigiTimeslice & operator=(const CbmTaskInspectDigiTimeslice &)=delete
Assignment operator (disabled)
ClassDef(CbmTaskInspectDigiTimeslice, 1)
const std::vector< CbmRichDigi > * fRichDigis
Input data (digis)
virtual void Finish()
Finish timeslice.
virtual void Exec(Option_t *opt)
Task execution.
const std::vector< TVecobj > * InitInput(FairRootManager *ioman)
const std::vector< CbmTofDigi > * fTofDigis
Input data (digis)
CbmTaskInspectDigiTimeslice(const CbmTaskInspectDigiTimeslice &)=delete
Copy constructor (disabled)
virtual InitStatus Init()
Task initialisation.
const std::vector< CbmStsDigi > * fStsDigis
Input data (digis)
const std::vector< CbmMuchDigi > * fMuchDigis
Input data (digis)
const std::vector< CbmTrdDigi > * fTrdDigis
Input data (digis)
const std::vector< CbmBmonDigi > * fBmonDigis