CbmRoot
CbmTrdTracksPidQa.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------
2 // ----- CbmTrdTracksPidQa -----
3 // ----- Created 24.02.07 F. Uhlig -----
4 // -----------------------------------------------------------------------
5 
6 
20 #ifndef CBMTRDTRACKSPIDQA_H
21 #define CBMTRDTRACKSPIDQA_H 1
22 
23 #include "FairTask.h"
24 
25 class TClonesArray;
26 class TH1F;
27 class TH2F;
28 
29 class CbmTrdTracksPidQa : public FairTask {
30 public:
31  /* Defaul constructor */
33 
34  /* Standard constructor */
35  CbmTrdTracksPidQa(const char* name, const char* title = "FairTask");
36 
37  /* Destructor */
38  virtual ~CbmTrdTracksPidQa();
39 
40  /* Initialisation */
41  InitStatus Init();
42 
43  /* Execution */
44  virtual void Exec(Option_t* option);
45 
46  /* Finish at the end of each event */
47  virtual void Finish();
48 
49 
50 private:
51  /* Data branches*/
52  TClonesArray* fTrdTrackCollection;
53  TClonesArray* fTrdHitCollection;
54  TClonesArray* fMCPointArray;
55  TClonesArray* fMCTrackArray;
56 
57 
58  /* QA histograms*/
59  TH1F* PartID; //
60  TH1F* NrTRDHits; //
61  TH1F* ELossPI; //
62  TH1F* ELossEL; //
63  TH1F* ELossALL; //
64  TH1F* MomPI; //
65  TH1F* MomEL; //
66  TH1F* MomALL; //
67  TH2F* MOMvsELossEL;
68  TH2F* MOMvsELossPI;
70 
71  TH1F* WknPI; //
72  TH1F* WknEL; //
73  TH1F* WknALL; //
74  TH1F* WknLowPI; //
75  TH1F* WknLowEL; //
76  TH1F* WknLowALL; //
77  TH1F* WknHighPI; //
78  TH1F* WknHighEL; //
79  TH1F* WknHighALL; //
80 
81  TH1F* AnnPI; //
82  TH1F* AnnEL; //
83  TH1F* AnnALL; //
84  TH1F* AnnLowPI; //
85  TH1F* AnnLowEL; //
86  TH1F* AnnLowALL; //
87  TH1F* AnnHighPI; //
88  TH1F* AnnHighEL; //
89  TH1F* AnnHighALL; //
90 
91  TH1F* LikePI; //
92  TH1F* LikeEL; //
93  TH1F* LikeALL; //
94  TH1F* LikeHighPI; //
95  TH1F* LikeHighEL; //
96  TH1F* LikeHighALL; //
97  TH1F* LikeLowPI; //
98  TH1F* LikeLowEL; //
99  TH1F* LikeLowALL; //
100 
101 
102  /* Write the QA histograms to file*/
103  void WriteHistograms();
104 
107 
108  ClassDef(CbmTrdTracksPidQa, 1)
109 };
110 
111 #endif
CbmTrdTracksPidQa::LikeEL
TH1F * LikeEL
Definition: CbmTrdTracksPidQa.h:92
CbmTrdTracksPidQa::~CbmTrdTracksPidQa
virtual ~CbmTrdTracksPidQa()
Definition: CbmTrdTracksPidQa.cxx:134
CbmTrdTracksPidQa::LikePI
TH1F * LikePI
Definition: CbmTrdTracksPidQa.h:91
CbmTrdTracksPidQa::fMCTrackArray
TClonesArray * fMCTrackArray
Definition: CbmTrdTracksPidQa.h:55
CbmTrdTracksPidQa::AnnLowALL
TH1F * AnnLowALL
Definition: CbmTrdTracksPidQa.h:86
CbmTrdTracksPidQa
Definition: CbmTrdTracksPidQa.h:29
CbmTrdTracksPidQa::WknLowALL
TH1F * WknLowALL
Definition: CbmTrdTracksPidQa.h:76
CbmTrdTracksPidQa::fTrdHitCollection
TClonesArray * fTrdHitCollection
Definition: CbmTrdTracksPidQa.h:53
CbmTrdTracksPidQa::AnnLowPI
TH1F * AnnLowPI
Definition: CbmTrdTracksPidQa.h:84
CbmTrdTracksPidQa::MOMvsELossEL
TH2F * MOMvsELossEL
Definition: CbmTrdTracksPidQa.h:67
CbmTrdTracksPidQa::operator=
CbmTrdTracksPidQa & operator=(const CbmTrdTracksPidQa &)
CbmTrdTracksPidQa::WknHighEL
TH1F * WknHighEL
Definition: CbmTrdTracksPidQa.h:78
CbmTrdTracksPidQa::WknHighALL
TH1F * WknHighALL
Definition: CbmTrdTracksPidQa.h:79
CbmTrdTracksPidQa::Finish
virtual void Finish()
Definition: CbmTrdTracksPidQa.cxx:290
CbmTrdTracksPidQa::LikeHighEL
TH1F * LikeHighEL
Definition: CbmTrdTracksPidQa.h:95
CbmTrdTracksPidQa::WknALL
TH1F * WknALL
Definition: CbmTrdTracksPidQa.h:73
CbmTrdTracksPidQa::Exec
virtual void Exec(Option_t *option)
Definition: CbmTrdTracksPidQa.cxx:187
CbmTrdTracksPidQa::MOMvsELossPI
TH2F * MOMvsELossPI
Definition: CbmTrdTracksPidQa.h:68
CbmTrdTracksPidQa::CbmTrdTracksPidQa
CbmTrdTracksPidQa()
Definition: CbmTrdTracksPidQa.cxx:27
CbmTrdTracksPidQa::LikeHighPI
TH1F * LikeHighPI
Definition: CbmTrdTracksPidQa.h:94
CbmTrdTracksPidQa::WknPI
TH1F * WknPI
Definition: CbmTrdTracksPidQa.h:71
CbmTrdTracksPidQa::fTrdTrackCollection
TClonesArray * fTrdTrackCollection
Definition: CbmTrdTracksPidQa.h:52
CbmTrdTracksPidQa::ELossPI
TH1F * ELossPI
Definition: CbmTrdTracksPidQa.h:61
CbmTrdTracksPidQa::AnnHighEL
TH1F * AnnHighEL
Definition: CbmTrdTracksPidQa.h:88
CbmTrdTracksPidQa::ELossALL
TH1F * ELossALL
Definition: CbmTrdTracksPidQa.h:63
CbmTrdTracksPidQa::WriteHistograms
void WriteHistograms()
Definition: CbmTrdTracksPidQa.cxx:295
CbmTrdTracksPidQa::MomALL
TH1F * MomALL
Definition: CbmTrdTracksPidQa.h:66
CbmTrdTracksPidQa::WknLowEL
TH1F * WknLowEL
Definition: CbmTrdTracksPidQa.h:75
CbmTrdTracksPidQa::AnnEL
TH1F * AnnEL
Definition: CbmTrdTracksPidQa.h:82
CbmTrdTracksPidQa::LikeHighALL
TH1F * LikeHighALL
Definition: CbmTrdTracksPidQa.h:96
CbmTrdTracksPidQa::NrTRDHits
TH1F * NrTRDHits
Definition: CbmTrdTracksPidQa.h:60
CbmTrdTracksPidQa::AnnLowEL
TH1F * AnnLowEL
Definition: CbmTrdTracksPidQa.h:85
CbmTrdTracksPidQa::LikeALL
TH1F * LikeALL
Definition: CbmTrdTracksPidQa.h:93
CbmTrdTracksPidQa::WknHighPI
TH1F * WknHighPI
Definition: CbmTrdTracksPidQa.h:77
CbmTrdTracksPidQa::LikeLowALL
TH1F * LikeLowALL
Definition: CbmTrdTracksPidQa.h:99
CbmTrdTracksPidQa::AnnPI
TH1F * AnnPI
Definition: CbmTrdTracksPidQa.h:81
CbmTrdTracksPidQa::WknLowPI
TH1F * WknLowPI
Definition: CbmTrdTracksPidQa.h:74
CbmTrdTracksPidQa::MomEL
TH1F * MomEL
Definition: CbmTrdTracksPidQa.h:65
CbmTrdTracksPidQa::MomPI
TH1F * MomPI
Definition: CbmTrdTracksPidQa.h:64
CbmTrdTracksPidQa::PartID
TH1F * PartID
Definition: CbmTrdTracksPidQa.h:59
CbmTrdTracksPidQa::MOMvsELossALL
TH2F * MOMvsELossALL
Definition: CbmTrdTracksPidQa.h:69
CbmTrdTracksPidQa::LikeLowPI
TH1F * LikeLowPI
Definition: CbmTrdTracksPidQa.h:97
CbmTrdTracksPidQa::Init
InitStatus Init()
Definition: CbmTrdTracksPidQa.cxx:139
CbmTrdTracksPidQa::LikeLowEL
TH1F * LikeLowEL
Definition: CbmTrdTracksPidQa.h:98
CbmTrdTracksPidQa::AnnHighPI
TH1F * AnnHighPI
Definition: CbmTrdTracksPidQa.h:87
CbmTrdTracksPidQa::ELossEL
TH1F * ELossEL
Definition: CbmTrdTracksPidQa.h:62
CbmTrdTracksPidQa::WknEL
TH1F * WknEL
Definition: CbmTrdTracksPidQa.h:72
CbmTrdTracksPidQa::AnnALL
TH1F * AnnALL
Definition: CbmTrdTracksPidQa.h:83
CbmTrdTracksPidQa::AnnHighALL
TH1F * AnnHighALL
Definition: CbmTrdTracksPidQa.h:89
CbmTrdTracksPidQa::CbmTrdTracksPidQa
CbmTrdTracksPidQa(const CbmTrdTracksPidQa &)
CbmTrdTracksPidQa::fMCPointArray
TClonesArray * fMCPointArray
Definition: CbmTrdTracksPidQa.h:54