CbmRoot
CbmMuchFindVectorsQA.h
Go to the documentation of this file.
1 
9 #ifndef CBMMUCHFINDVECTORSQA_H_
10 #define CBMMUCHFINDVECTORSQA_H_ 1
11 
12 #include "CbmMuchGeoScheme.h"
13 #include "FairTask.h"
14 #include <set>
15 #include <vector>
16 
17 class CbmMuchTrack;
18 class TClonesArray;
19 class TH1D;
20 class TH2D;
21 
22 class CbmMuchFindVectorsQA : public FairTask {
23 public:
26 
28  virtual ~CbmMuchFindVectorsQA();
29 
31  virtual InitStatus Init();
32 
34  virtual void Exec(Option_t* opt);
35 
37  virtual void Finish();
38 
40  virtual void SetParContainers();
41 
43  //Int_t GetNofTracks() { return fNofTracks; };
44 
45 private:
46  CbmMuchGeoScheme* fGeoScheme; // Geometry scheme
47  Int_t fStatFirst; // First straw station No.
48  Int_t fNstat; // Number of straw stations
49  Int_t fNdoubl[10]; // Number of double layers in stations
50  Double_t fZpos[7][10]; // Z-pos. of double layers in stations
51 
52  TClonesArray* fVectors;
53  TClonesArray* fMCTracks;
54  TClonesArray* fPoints;
55  TClonesArray* fHits;
56  TClonesArray* fHitsGem;
57  TClonesArray* fDigis;
58  TClonesArray* fDigisGem;
59  TClonesArray* fDigiMatches;
60  TClonesArray* fDigiMatchesGem;
61  TClonesArray* fClusters;
62 
63  TH1D** fhNvec;
64  TH1D** fhNdoubl;
65  TH1D** fhNhits;
66  TH1D** fhNhitsOk;
67  TH1D** fhChi2;
68  TH1D** fhNgood;
69  TH1D** fhNghost;
70  TH1D** fhChi2ok;
71  TH1D** fhChi2bad;
72  TH1D** fhDx;
73  TH1D** fhDy;
74  TH1D** fhDtx;
75  TH1D** fhDty;
76  TH1D** fhIds;
77  TH2D** fhIdVsEv;
78  TH1D** fhDtxAll;
79  TH1D** fhDtyAll;
80  TH1D** fhDtxOk;
81  TH1D** fhDtyOk;
82  TH1D* fhDtube[7][10];
83  TH2D* fhDtube2[7][10];
84  TH1D** fhShort;
85  TH2D** fhOverlap;
86  TH1D* fhSim;
87  TH1D* fhRec;
88  TH1D** fhChi2mat;
89  TH1D** fhMatchMult;
90  TH1D** fhOccup;
91  TH1D* fhMCFit[7][10];
92  TH1D* fhZXY[2];
93  TH1D* fhEvents;
94  TH2D** fhDx12;
95  TH2D** fhDx23;
96  TH2D** fhDy12;
97  TH2D** fhDy23;
98 
99  void BookHistos();
100  Bool_t CheckMatch(CbmMuchTrack* vec);
101  Bool_t CheckMatchGem(CbmMuchTrack* vec);
102  void CheckShorts(TClonesArray* hitArray);
103  void CheckEffic();
104 
107 
108  ClassDef(CbmMuchFindVectorsQA, 1)
109 };
110 
111 #endif
CbmMuchGeoScheme
Definition: CbmMuchGeoScheme.h:43
CbmMuchFindVectorsQA::fDigisGem
TClonesArray * fDigisGem
Definition: CbmMuchFindVectorsQA.h:58
CbmMuchFindVectorsQA::fhZXY
TH1D * fhZXY[2]
Definition: CbmMuchFindVectorsQA.h:92
CbmMuchFindVectorsQA::BookHistos
void BookHistos()
Definition: CbmMuchFindVectorsQA.cxx:113
CbmMuchFindVectorsQA::fhDx12
TH2D ** fhDx12
transient histo
Definition: CbmMuchFindVectorsQA.h:94
CbmMuchFindVectorsQA::fhDx
TH1D ** fhDx
Definition: CbmMuchFindVectorsQA.h:72
CbmMuchFindVectorsQA::fhOccup
TH1D ** fhOccup
Definition: CbmMuchFindVectorsQA.h:90
CbmMuchFindVectorsQA::fStatFirst
Int_t fStatFirst
Definition: CbmMuchFindVectorsQA.h:47
CbmMuchFindVectorsQA::fhSim
TH1D * fhSim
Definition: CbmMuchFindVectorsQA.h:86
CbmMuchFindVectorsQA::fhChi2
TH1D ** fhChi2
Definition: CbmMuchFindVectorsQA.h:67
CbmMuchFindVectorsQA::fVectors
TClonesArray * fVectors
Definition: CbmMuchFindVectorsQA.h:52
CbmMuchFindVectorsQA::fhChi2ok
TH1D ** fhChi2ok
Definition: CbmMuchFindVectorsQA.h:70
CbmMuchFindVectorsQA::fhDty
TH1D ** fhDty
Definition: CbmMuchFindVectorsQA.h:75
CbmMuchFindVectorsQA::fDigiMatchesGem
TClonesArray * fDigiMatchesGem
Definition: CbmMuchFindVectorsQA.h:60
CbmMuchFindVectorsQA::fPoints
TClonesArray * fPoints
Definition: CbmMuchFindVectorsQA.h:54
CbmMuchFindVectorsQA::fhDx23
TH2D ** fhDx23
Definition: CbmMuchFindVectorsQA.h:95
CbmMuchFindVectorsQA::CbmMuchFindVectorsQA
CbmMuchFindVectorsQA(const CbmMuchFindVectorsQA &)
CbmMuchFindVectorsQA::fhDy12
TH2D ** fhDy12
Definition: CbmMuchFindVectorsQA.h:96
CbmMuchFindVectorsQA::CheckMatchGem
Bool_t CheckMatchGem(CbmMuchTrack *vec)
Definition: CbmMuchFindVectorsQA.cxx:595
CbmMuchFindVectorsQA::Exec
virtual void Exec(Option_t *opt)
Definition: CbmMuchFindVectorsQA.cxx:355
CbmMuchFindVectorsQA::Init
virtual InitStatus Init()
Definition: CbmMuchFindVectorsQA.cxx:50
CbmMuchFindVectorsQA::CheckEffic
void CheckEffic()
Definition: CbmMuchFindVectorsQA.cxx:749
CbmMuchTrack
Definition: CbmMuchTrack.h:16
CbmMuchFindVectorsQA::fhRec
TH1D * fhRec
Definition: CbmMuchFindVectorsQA.h:87
CbmMuchFindVectorsQA::fhDtube
TH1D * fhDtube[7][10]
Definition: CbmMuchFindVectorsQA.h:82
CbmMuchFindVectorsQA::fGeoScheme
CbmMuchGeoScheme * fGeoScheme
Definition: CbmMuchFindVectorsQA.h:46
CbmMuchFindVectorsQA::fhIdVsEv
TH2D ** fhIdVsEv
Definition: CbmMuchFindVectorsQA.h:77
CbmMuchFindVectorsQA::CheckShorts
void CheckShorts(TClonesArray *hitArray)
Definition: CbmMuchFindVectorsQA.cxx:695
CbmMuchFindVectorsQA::fhDy
TH1D ** fhDy
Definition: CbmMuchFindVectorsQA.h:73
CbmMuchFindVectorsQA::Finish
virtual void Finish()
Definition: CbmMuchFindVectorsQA.cxx:924
CbmMuchFindVectorsQA::fhNhits
TH1D ** fhNhits
Definition: CbmMuchFindVectorsQA.h:65
CbmMuchFindVectorsQA::fhChi2mat
TH1D ** fhChi2mat
Definition: CbmMuchFindVectorsQA.h:88
CbmMuchFindVectorsQA::fhDtxOk
TH1D ** fhDtxOk
Definition: CbmMuchFindVectorsQA.h:80
CbmMuchFindVectorsQA::fZpos
Double_t fZpos[7][10]
Definition: CbmMuchFindVectorsQA.h:50
CbmMuchFindVectorsQA::fhNhitsOk
TH1D ** fhNhitsOk
Definition: CbmMuchFindVectorsQA.h:66
CbmMuchFindVectorsQA::fhDtube2
TH2D * fhDtube2[7][10]
Definition: CbmMuchFindVectorsQA.h:83
CbmMuchFindVectorsQA::fhMCFit
TH1D * fhMCFit[7][10]
Definition: CbmMuchFindVectorsQA.h:91
CbmMuchFindVectorsQA::fhDy23
TH2D ** fhDy23
Definition: CbmMuchFindVectorsQA.h:97
CbmMuchFindVectorsQA::fMCTracks
TClonesArray * fMCTracks
Definition: CbmMuchFindVectorsQA.h:53
CbmMuchFindVectorsQA::fhNgood
TH1D ** fhNgood
Definition: CbmMuchFindVectorsQA.h:68
CbmMuchFindVectorsQA::fhDtx
TH1D ** fhDtx
Definition: CbmMuchFindVectorsQA.h:74
CbmMuchFindVectorsQA
Definition: CbmMuchFindVectorsQA.h:22
CbmMuchFindVectorsQA::fNdoubl
Int_t fNdoubl[10]
Definition: CbmMuchFindVectorsQA.h:49
CbmMuchFindVectorsQA::~CbmMuchFindVectorsQA
virtual ~CbmMuchFindVectorsQA()
Definition: CbmMuchFindVectorsQA.cxx:46
CbmMuchFindVectorsQA::SetParContainers
virtual void SetParContainers()
Definition: CbmMuchFindVectorsQA.cxx:109
CbmMuchFindVectorsQA::fhEvents
TH1D * fhEvents
transient histos
Definition: CbmMuchFindVectorsQA.h:93
CbmMuchFindVectorsQA::fhOverlap
TH2D ** fhOverlap
Definition: CbmMuchFindVectorsQA.h:85
CbmMuchFindVectorsQA::fClusters
TClonesArray * fClusters
Definition: CbmMuchFindVectorsQA.h:61
CbmMuchFindVectorsQA::fHitsGem
TClonesArray * fHitsGem
Definition: CbmMuchFindVectorsQA.h:56
CbmMuchFindVectorsQA::fhChi2bad
TH1D ** fhChi2bad
Definition: CbmMuchFindVectorsQA.h:71
CbmMuchFindVectorsQA::fNstat
Int_t fNstat
Definition: CbmMuchFindVectorsQA.h:48
CbmMuchFindVectorsQA::CbmMuchFindVectorsQA
CbmMuchFindVectorsQA()
Definition: CbmMuchFindVectorsQA.cxx:38
CbmMuchFindVectorsQA::fhDtxAll
TH1D ** fhDtxAll
Definition: CbmMuchFindVectorsQA.h:78
CbmMuchFindVectorsQA::operator=
CbmMuchFindVectorsQA & operator=(const CbmMuchFindVectorsQA &)
CbmMuchFindVectorsQA::CheckMatch
Bool_t CheckMatch(CbmMuchTrack *vec)
Definition: CbmMuchFindVectorsQA.cxx:422
CbmMuchFindVectorsQA::fhDtyAll
TH1D ** fhDtyAll
Definition: CbmMuchFindVectorsQA.h:79
CbmMuchFindVectorsQA::fhDtyOk
TH1D ** fhDtyOk
Definition: CbmMuchFindVectorsQA.h:81
CbmMuchGeoScheme.h
CbmMuchFindVectorsQA::fhNdoubl
TH1D ** fhNdoubl
Definition: CbmMuchFindVectorsQA.h:64
CbmMuchFindVectorsQA::fhShort
TH1D ** fhShort
Definition: CbmMuchFindVectorsQA.h:84
CbmMuchFindVectorsQA::fDigis
TClonesArray * fDigis
Definition: CbmMuchFindVectorsQA.h:57
CbmMuchFindVectorsQA::fhIds
TH1D ** fhIds
Definition: CbmMuchFindVectorsQA.h:76
CbmMuchFindVectorsQA::fHits
TClonesArray * fHits
Definition: CbmMuchFindVectorsQA.h:55
CbmMuchFindVectorsQA::fhMatchMult
TH1D ** fhMatchMult
Definition: CbmMuchFindVectorsQA.h:89
CbmMuchFindVectorsQA::fhNghost
TH1D ** fhNghost
Definition: CbmMuchFindVectorsQA.h:69
CbmMuchFindVectorsQA::fDigiMatches
TClonesArray * fDigiMatches
Definition: CbmMuchFindVectorsQA.h:59
CbmMuchFindVectorsQA::fhNvec
TH1D ** fhNvec
Definition: CbmMuchFindVectorsQA.h:63