CbmRoot
CbmMvdReadoutCluster.h
Go to the documentation of this file.
1 // -------------------------------------------------------------------------
2 // ----- CbmMvdReadoutCluster header file -----
3 // ----- Created 17/10/16 by P. Sitzmann -----
4 // -------------------------------------------------------------------------
5 
6 
14 #ifndef CBMMVDREADOUTCLUSTER_H
15 #define CBMMVDREADOUTCLUSTER_H 1
16 
17 #include "FairTask.h"
18 #include "TH1F.h"
19 #include "TH2F.h"
20 
21 class CbmMvdReadoutCluster : public FairTask {
22 public:
24  CbmMvdReadoutCluster(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 
45  TH1F* fWordsPerRegion[350];
47 
48  TClonesArray* fMvdCluster;
49 
50  Int_t fEventNumber;
51  const Int_t fPixelsPerRegion = 16;
52  const Int_t fPixelsPerSuperRegion = 64;
53 
54  void DrawHistograms();
55  void WriteHistograms();
56  void SetupHistograms();
57 
59 };
60 #endif
CbmMvdReadoutCluster::Exec
void Exec(Option_t *opt)
Definition: CbmMvdReadoutCluster.cxx:80
CbmMvdReadoutCluster::CbmMvdReadoutCluster
CbmMvdReadoutCluster(const CbmMvdReadoutCluster &)=delete
CbmMvdReadoutCluster::fWordsPerRegion
TH1F * fWordsPerRegion[350]
Definition: CbmMvdReadoutCluster.h:45
CbmMvdReadoutCluster::DrawHistograms
void DrawHistograms()
Definition: CbmMvdReadoutCluster.cxx:134
CbmMvdReadoutCluster::Init
InitStatus Init()
Definition: CbmMvdReadoutCluster.cxx:50
CbmMvdReadoutCluster::fWordsPerSuperRegion
TH1F * fWordsPerSuperRegion[350]
Definition: CbmMvdReadoutCluster.h:46
CbmMvdReadoutCluster
Definition: CbmMvdReadoutCluster.h:21
CbmMvdReadoutCluster::fEventNumber
Int_t fEventNumber
Definition: CbmMvdReadoutCluster.h:50
CbmMvdReadoutCluster::CbmMvdReadoutCluster
CbmMvdReadoutCluster()
Definition: CbmMvdReadoutCluster.cxx:30
CbmMvdReadoutCluster::WriteHistograms
void WriteHistograms()
Definition: CbmMvdReadoutCluster.cxx:121
CbmMvdReadoutCluster::foutFile
TFile * foutFile
Definition: CbmMvdReadoutCluster.h:41
CbmMvdReadoutCluster::ClassDef
ClassDef(CbmMvdReadoutCluster, 1)
CbmMvdReadoutCluster::operator=
CbmMvdReadoutCluster & operator=(const CbmMvdReadoutCluster &)=delete
CbmMvdReadoutCluster::ShowHistograms
void ShowHistograms()
Definition: CbmMvdReadoutCluster.h:34
CbmMvdReadoutCluster::SetupHistograms
void SetupHistograms()
Definition: CbmMvdReadoutCluster.cxx:65
CbmMvdReadoutCluster::fPixelsPerRegion
const Int_t fPixelsPerRegion
Definition: CbmMvdReadoutCluster.h:51
CbmMvdReadoutCluster::Finish
void Finish()
Definition: CbmMvdReadoutCluster.cxx:106
CbmMvdReadoutCluster::fshow
Bool_t fshow
Definition: CbmMvdReadoutCluster.h:43
CbmMvdReadoutCluster::~CbmMvdReadoutCluster
~CbmMvdReadoutCluster()
Definition: CbmMvdReadoutCluster.cxx:46
CbmMvdReadoutCluster::fPixelsPerSuperRegion
const Int_t fPixelsPerSuperRegion
Definition: CbmMvdReadoutCluster.h:52
CbmMvdReadoutCluster::SetHistogramFile
void SetHistogramFile(TFile *file)
Definition: CbmMvdReadoutCluster.h:36
CbmMvdReadoutCluster::fMvdCluster
TClonesArray * fMvdCluster
Definition: CbmMvdReadoutCluster.h:48