CbmRoot
Loading...
Searching...
No Matches
CbmTrdTracksPidQa.h
Go to the documentation of this file.
1/* Copyright (C) 2007-2012 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Florian Uhlig [committer] */
4
5// -----------------------------------------------------------------------
6// ----- CbmTrdTracksPidQa -----
7// ----- Created 24.02.07 F. Uhlig -----
8// -----------------------------------------------------------------------
9
10
24#ifndef CBMTRDTRACKSPIDQA_H
25#define CBMTRDTRACKSPIDQA_H 1
26
27#include "FairTask.h"
28
29class TClonesArray;
30class TH1F;
31class TH2F;
32
33class CbmTrdTracksPidQa : public FairTask {
34 public:
35 /* Defaul constructor */
37
38 /* Standard constructor */
39 CbmTrdTracksPidQa(const char* name, const char* title = "FairTask");
40
41 /* Destructor */
42 virtual ~CbmTrdTracksPidQa();
43
44 /* Initialisation */
45 InitStatus Init();
46
47 /* Execution */
48 virtual void Exec(Option_t* option);
49
50 /* Finish at the end of each event */
51 virtual void Finish();
52
53
54 private:
55 /* Data branches*/
56 TClonesArray* fTrdTrackCollection;
57 TClonesArray* fTrdHitCollection;
58 TClonesArray* fMCPointArray;
59 TClonesArray* fMCTrackArray;
60
61
62 /* QA histograms*/
63 TH1F* PartID; //
64 TH1F* NrTRDHits; //
65 TH1F* ELossPI; //
66 TH1F* ELossEL; //
67 TH1F* ELossALL; //
68 TH1F* MomPI; //
69 TH1F* MomEL; //
70 TH1F* MomALL; //
74
75 TH1F* WknPI; //
76 TH1F* WknEL; //
77 TH1F* WknALL; //
78 TH1F* WknLowPI; //
79 TH1F* WknLowEL; //
80 TH1F* WknLowALL; //
81 TH1F* WknHighPI; //
82 TH1F* WknHighEL; //
83 TH1F* WknHighALL; //
84
85 TH1F* AnnPI; //
86 TH1F* AnnEL; //
87 TH1F* AnnALL; //
88 TH1F* AnnLowPI; //
89 TH1F* AnnLowEL; //
90 TH1F* AnnLowALL; //
91 TH1F* AnnHighPI; //
92 TH1F* AnnHighEL; //
93 TH1F* AnnHighALL; //
94
95 TH1F* LikePI; //
96 TH1F* LikeEL; //
97 TH1F* LikeALL; //
98 TH1F* LikeHighPI; //
99 TH1F* LikeHighEL; //
100 TH1F* LikeHighALL; //
101 TH1F* LikeLowPI; //
102 TH1F* LikeLowEL; //
103 TH1F* LikeLowALL; //
104
105
106 /* Write the QA histograms to file*/
107 void WriteHistograms();
108
111
112 ClassDef(CbmTrdTracksPidQa, 1)
113};
114
115#endif
virtual void Exec(Option_t *option)
CbmTrdTracksPidQa(const CbmTrdTracksPidQa &)
TClonesArray * fMCPointArray
TClonesArray * fTrdTrackCollection
CbmTrdTracksPidQa & operator=(const CbmTrdTracksPidQa &)
TClonesArray * fTrdHitCollection
TClonesArray * fMCTrackArray