CbmRoot
CbmRecoQa.h
Go to the documentation of this file.
1 
6 #ifndef CBMRECOQA
7 #define CBMRECOQA 1
8 
9 #include "CbmMCDataManager.h"
10 #include "CbmMCEventList.h"
11 #include "FairRootManager.h"
12 #include "FairTask.h"
13 #include "TFile.h"
14 #include "TH1.h"
15 #include <string>
16 
17 #include <array>
18 #include <string>
19 #include <utility>
20 #include <vector>
21 
22 class CbmRecoQa : public FairTask {
23 private:
24  void record(std::string decName, int i);
25  TFile* pullresfile;
26  int verbosity;
27  std::vector<std::pair<std::string, std::array<int, 4>>> detectors;
28  std::vector<std::vector<TH1F*>> hists;
30  FairRootManager* fManager;
32  std::string outname;
33 
34 public:
35  CbmRecoQa(std::vector<std::pair<std::string, std::array<int, 4>>> decNames,
36  std::string outName = "test",
37  int verbose_l = 0);
38  ~CbmRecoQa();
40  virtual InitStatus ReInit();
41  virtual InitStatus Init();
42  virtual void FinishEvent();
43  virtual void FinishTask();
44 
46 };
47 
48 #endif
CbmRecoQa::fManager
FairRootManager * fManager
Definition: CbmRecoQa.h:30
CbmMCDataManager.h
CbmRecoQa::pullresfile
TFile * pullresfile
Definition: CbmRecoQa.h:25
CbmRecoQa::verbosity
int verbosity
Definition: CbmRecoQa.h:26
CbmRecoQa::Init
virtual InitStatus Init()
Definition: CbmRecoQa.cxx:78
CbmRecoQa::ClassDef
ClassDef(CbmRecoQa, 1)
i
int i
Definition: L1/vectors/P4_F32vec4.h:25
CbmRecoQa::ReInit
virtual InitStatus ReInit()
Definition: CbmRecoQa.cxx:76
CbmRecoQa::mcManager
CbmMCDataManager * mcManager
Definition: CbmRecoQa.h:31
CbmRecoQa::FinishEvent
virtual void FinishEvent()
Definition: CbmRecoQa.cxx:172
CbmRecoQa::eventList
CbmMCEventList * eventList
Definition: CbmRecoQa.h:29
CbmRecoQa
Definition: CbmRecoQa.h:22
CbmRecoQa::hists
std::vector< std::vector< TH1F * > > hists
Definition: CbmRecoQa.h:28
CbmMCEventList
Container class for MC events with number, file and start time.
Definition: CbmMCEventList.h:38
CbmMCDataManager
Task class creating and managing CbmMCDataArray objects.
Definition: CbmMCDataManager.h:27
CbmRecoQa::detectors
std::vector< std::pair< std::string, std::array< int, 4 > > > detectors
Definition: CbmRecoQa.h:27
CbmMCEventList.h
CbmRecoQa::instance
static CbmRecoQa * instance
Definition: CbmRecoQa.h:39
CbmRecoQa::record
void record(std::string decName, int i)
Definition: CbmRecoQa.cxx:202
CbmRecoQa::outname
std::string outname
Definition: CbmRecoQa.h:32
CbmRecoQa::FinishTask
virtual void FinishTask()
Definition: CbmRecoQa.cxx:183
CbmRecoQa::CbmRecoQa
CbmRecoQa(std::vector< std::pair< std::string, std::array< int, 4 >>> decNames, std::string outName="test", int verbose_l=0)
Definition: CbmRecoQa.cxx:55
CbmRecoQa::~CbmRecoQa
~CbmRecoQa()
Definition: CbmRecoQa.cxx:73