CbmRoot
CbmTrdHitProducerQa.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // ----- CbmTrdHitProducerQa -----
3 // ----- Created 13/12/05 by M. Kalisky -----
4 // -----------------------------------------------------------------------
5 
6 
17 #ifndef CBMTRDHITPRODUCERQA
18 #define CBMTRDHITPRODUCERQA 1
19 
20 #include "FairTask.h"
21 
22 class TClonesArray;
23 class TH1F;
24 
25 class CbmTrdHitProducerQa : public FairTask {
26 public:
27  /* Defaul constructor */
29 
30  /* Standard constructor */
31  CbmTrdHitProducerQa(const char* name, const char* title = "FairTask");
32 
33  /* Destructor */
34  virtual ~CbmTrdHitProducerQa();
35 
36  /* Initialisation */
37  InitStatus Init();
38 
39  /* Execution */
40  virtual void Exec(Option_t* option);
41 
42  /* Finish at the end of each event */
43  virtual void Finish();
44 
45 
46 private:
47  /* Data branches*/
48  TClonesArray* fTrdHitCollection;
49  TClonesArray* fTrdDigiCollection;
50  TClonesArray* fTrdDigiMatchCollection;
51  TClonesArray* fTrdPointCollection;
52  TClonesArray* fMCTrackArray;
53 
56 
59 
60 
61  /* Test histograms*/
62  TH1F* fHitPoolsX; // = ((Hit - Point) / HitError) in X
63  TH1F* fHitPoolsY; // = ((Hit - Point) / HitError) in Y
64 
65  TH1F* S1L1eTR15; //
66  TH1F* S1L1edEdx15; //
67  TH1F* S1L1edE15; //
68  TH1F* S1L1edEall; //
69  TH1F* S1L1pidE15; //
70  TH1F* S1L1pidEall; //
71 
72  TH1F* S3L4eTR15; //
73  TH1F* S3L4edEdx15; //
74  TH1F* S3L4edE15; //
75  TH1F* S3L4edEall; //
76  TH1F* S3L4pidE15; //
77  TH1F* S3L4pidEall; //
78 
79 private:
82 
83  //public:
84 
85  /* Write test histograms */
86  void WriteHistograms();
87 
88 
89  ClassDef(CbmTrdHitProducerQa, 2)
90 };
91 
92 
93 #endif
CbmTrdHitProducerQa::fTrdDigiCollection
TClonesArray * fTrdDigiCollection
Definition: CbmTrdHitProducerQa.h:49
CbmTrdHitProducerQa::Finish
virtual void Finish()
Definition: CbmTrdHitProducerQa.cxx:249
CbmTrdHitProducerQa::S1L1pidEall
TH1F * S1L1pidEall
Definition: CbmTrdHitProducerQa.h:70
CbmTrdHitProducerQa::S3L4edE15
TH1F * S3L4edE15
Definition: CbmTrdHitProducerQa.h:74
CbmTrdHitProducerQa::~CbmTrdHitProducerQa
virtual ~CbmTrdHitProducerQa()
Definition: CbmTrdHitProducerQa.cxx:71
CbmTrdHitProducerQa::S3L4edEall
TH1F * S3L4edEall
Definition: CbmTrdHitProducerQa.h:75
CbmTrdHitProducerQa::fTrdPointCollection
TClonesArray * fTrdPointCollection
Definition: CbmTrdHitProducerQa.h:51
CbmTrdHitProducerQa::fNoTrdStations
Int_t fNoTrdStations
Definition: CbmTrdHitProducerQa.h:55
CbmTrdHitProducerQa::S3L4eTR15
TH1F * S3L4eTR15
Definition: CbmTrdHitProducerQa.h:72
CbmTrdHitProducerQa::fMCTrackArray
TClonesArray * fMCTrackArray
Definition: CbmTrdHitProducerQa.h:52
CbmTrdHitProducerQa::S1L1eTR15
TH1F * S1L1eTR15
Definition: CbmTrdHitProducerQa.h:65
CbmTrdHitProducerQa::operator=
CbmTrdHitProducerQa & operator=(const CbmTrdHitProducerQa &)
CbmTrdHitProducerQa::S1L1edEdx15
TH1F * S1L1edEdx15
Definition: CbmTrdHitProducerQa.h:66
CbmTrdHitProducerQa::S3L4pidEall
TH1F * S3L4pidEall
Definition: CbmTrdHitProducerQa.h:77
CbmTrdHitProducerQa::S3L4pidE15
TH1F * S3L4pidE15
Definition: CbmTrdHitProducerQa.h:76
CbmTrdHitProducerQa::fTrdHitCollection
TClonesArray * fTrdHitCollection
Definition: CbmTrdHitProducerQa.h:48
CbmTrdHitProducerQa::fHitPoolsX
TH1F * fHitPoolsX
Definition: CbmTrdHitProducerQa.h:62
CbmTrdHitProducerQa::fNoTrdPerStation
Int_t fNoTrdPerStation
Definition: CbmTrdHitProducerQa.h:58
CbmTrdHitProducerQa::S1L1edE15
TH1F * S1L1edE15
Definition: CbmTrdHitProducerQa.h:67
CbmTrdHitProducerQa
Definition: CbmTrdHitProducerQa.h:25
CbmTrdHitProducerQa::CbmTrdHitProducerQa
CbmTrdHitProducerQa(const CbmTrdHitProducerQa &)
CbmTrdHitProducerQa::S3L4edEdx15
TH1F * S3L4edEdx15
Definition: CbmTrdHitProducerQa.h:73
CbmTrdHitProducerQa::S1L1edEall
TH1F * S1L1edEall
Definition: CbmTrdHitProducerQa.h:68
CbmTrdHitProducerQa::fTrdDigiMatchCollection
TClonesArray * fTrdDigiMatchCollection
Definition: CbmTrdHitProducerQa.h:50
CbmTrdHitProducerQa::S1L1pidE15
TH1F * S1L1pidE15
Definition: CbmTrdHitProducerQa.h:69
CbmTrdHitProducerQa::CbmTrdHitProducerQa
CbmTrdHitProducerQa()
Definition: CbmTrdHitProducerQa.cxx:31
CbmTrdHitProducerQa::Init
InitStatus Init()
Definition: CbmTrdHitProducerQa.cxx:76
CbmTrdHitProducerQa::WriteHistograms
void WriteHistograms()
Definition: CbmTrdHitProducerQa.cxx:295
CbmTrdHitProducerQa::fHitPoolsY
TH1F * fHitPoolsY
Definition: CbmTrdHitProducerQa.h:63
CbmTrdHitProducerQa::Exec
virtual void Exec(Option_t *option)
Definition: CbmTrdHitProducerQa.cxx:131