CbmRoot
CbmMvdReadoutSimple.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmMvdReadoutSimple header file -----
3 // ----- Created 17/10/16 by P. Sitzmann -----
4 // -------------------------------------------------------------------------
5 
6 
14 #ifndef CBMMVDREADOUTSIMPLE_H
15 #define CBMMVDREADOUTSIMPLE_H 1
16 
17 #include "FairTask.h"
18 #include "TH1F.h"
19 #include "TH2F.h"
20 
21 class CbmMvdReadoutSimple : public FairTask {
22 public:
24  CbmMvdReadoutSimple(const char* name, Int_t iVerbose = 0);
27 
29 
30  InitStatus Init();
31 
32  void Exec(Option_t* opt);
33 
34  void ShowHistograms() { fshow = kTRUE; };
35 
36  void SetHistogramFile(TFile* file) { foutFile = file; };
37 
38  void Finish();
39 
40 private:
41  TFile* foutFile;
42 
43  Bool_t fshow;
44  TH2F* fMvdMCBank[63];
51  TH2I* fMvdBankDist;
52  TH2F* fMvdMCWorst;
56  TH1F* fMvdDataPerRegion[64];
58 
59  TClonesArray* fMcPoints;
60  TClonesArray* fListMCTracks;
61 
62  Int_t fEventNumber;
63 
64  void DrawHistograms();
65  void WriteHistograms();
66  void SetupHistograms();
67 
69 };
70 #endif
CbmMvdReadoutSimple::fMvdMCHitsStations
TH2F * fMvdMCHitsStations[4]
Definition: CbmMvdReadoutSimple.h:45
CbmMvdReadoutSimple::fWordsPerWorstRegion
TH1F * fWordsPerWorstRegion
Definition: CbmMvdReadoutSimple.h:48
CbmMvdReadoutSimple::fListMCTracks
TClonesArray * fListMCTracks
Definition: CbmMvdReadoutSimple.h:60
CbmMvdReadoutSimple::WriteHistograms
void WriteHistograms()
Definition: CbmMvdReadoutSimple.cxx:302
CbmMvdReadoutSimple::Init
InitStatus Init()
Definition: CbmMvdReadoutSimple.cxx:68
CbmMvdReadoutSimple::fMvdDataLoadHotSensor
TH1I * fMvdDataLoadHotSensor
Definition: CbmMvdReadoutSimple.h:55
CbmMvdReadoutSimple::fWordsPerSuperRegion
TH1F * fWordsPerSuperRegion
Definition: CbmMvdReadoutSimple.h:49
CbmMvdReadoutSimple::Finish
void Finish()
Definition: CbmMvdReadoutSimple.cxx:285
CbmMvdReadoutSimple
Definition: CbmMvdReadoutSimple.h:21
CbmMvdReadoutSimple::fEventNumber
Int_t fEventNumber
Definition: CbmMvdReadoutSimple.h:62
CbmMvdReadoutSimple::fshow
Bool_t fshow
Definition: CbmMvdReadoutSimple.h:43
CbmMvdReadoutSimple::Exec
void Exec(Option_t *opt)
Definition: CbmMvdReadoutSimple.cxx:199
CbmMvdReadoutSimple::fMvdBankDist
TH2I * fMvdBankDist
Definition: CbmMvdReadoutSimple.h:51
CbmMvdReadoutSimple::SetupHistograms
void SetupHistograms()
Definition: CbmMvdReadoutSimple.cxx:84
CbmMvdReadoutSimple::fWordsPerRegion
TH1F * fWordsPerRegion
Definition: CbmMvdReadoutSimple.h:46
CbmMvdReadoutSimple::SetHistogramFile
void SetHistogramFile(TFile *file)
Definition: CbmMvdReadoutSimple.h:36
CbmMvdReadoutSimple::fMvdMCWorstDelta
TH2F * fMvdMCWorstDelta
Definition: CbmMvdReadoutSimple.h:53
CbmMvdReadoutSimple::ShowHistograms
void ShowHistograms()
Definition: CbmMvdReadoutSimple.h:34
CbmMvdReadoutSimple::fMcPoints
TClonesArray * fMcPoints
Definition: CbmMvdReadoutSimple.h:59
CbmMvdReadoutSimple::fMvdDataPerRegion
TH1F * fMvdDataPerRegion[64]
Definition: CbmMvdReadoutSimple.h:56
CbmMvdReadoutSimple::DrawHistograms
void DrawHistograms()
Definition: CbmMvdReadoutSimple.cxx:342
CbmMvdReadoutSimple::foutFile
TFile * foutFile
Definition: CbmMvdReadoutSimple.h:41
CbmMvdReadoutSimple::fWordsPerRegion2
TH2F * fWordsPerRegion2
Definition: CbmMvdReadoutSimple.h:47
CbmMvdReadoutSimple::fMvdDataLoadPerSensor
TH1I * fMvdDataLoadPerSensor
Definition: CbmMvdReadoutSimple.h:54
CbmMvdReadoutSimple::fMvdMCBank
TH2F * fMvdMCBank[63]
Definition: CbmMvdReadoutSimple.h:44
CbmMvdReadoutSimple::CbmMvdReadoutSimple
CbmMvdReadoutSimple()
Definition: CbmMvdReadoutSimple.cxx:35
CbmMvdReadoutSimple::CbmMvdReadoutSimple
CbmMvdReadoutSimple(const CbmMvdReadoutSimple &)=delete
CbmMvdReadoutSimple::fMvdDataPerSuperRegion
TH1F * fMvdDataPerSuperRegion[16]
Definition: CbmMvdReadoutSimple.h:57
CbmMvdReadoutSimple::operator=
CbmMvdReadoutSimple & operator=(const CbmMvdReadoutSimple &)=delete
CbmMvdReadoutSimple::fMvdMCWorst
TH2F * fMvdMCWorst
Definition: CbmMvdReadoutSimple.h:52
CbmMvdReadoutSimple::ClassDef
ClassDef(CbmMvdReadoutSimple, 1)
CbmMvdReadoutSimple::fWorstSuperPerEvent
TH1F * fWorstSuperPerEvent
Definition: CbmMvdReadoutSimple.h:50
CbmMvdReadoutSimple::~CbmMvdReadoutSimple
~CbmMvdReadoutSimple()
Definition: CbmMvdReadoutSimple.cxx:64