CbmRoot
CbmMuchMergeVectorsQA.h
Go to the documentation of this file.
1 
9 #ifndef CBMMUCHMERGEVECTORSQA_H_
10 #define CBMMUCHMERGEVECTORSQA_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 CbmMuchMergeVectorsQA : public FairTask {
23 public:
26 
28  virtual ~CbmMuchMergeVectorsQA();
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[5][10]; // Z-pos. of double layers in stations
51 
52  TClonesArray* fTracks;
53  TClonesArray* fVectors;
54  TClonesArray* fMCTracks;
55  TClonesArray* fPoints;
56  TClonesArray* fHits;
57  TClonesArray* fHitsGem;
58  TClonesArray* fDigis;
59  TClonesArray* fDigisGem;
60  TClonesArray* fDigiMatches;
61  TClonesArray* fDigiMatchesGem;
62  TClonesArray* fClusters;
63 
64  TH1D* fhSim;
65  TH1D* fhRec;
66  TH1D* fhMatchMult;
67  TH1D* fhMatchOver;
68  TH1D* fhOverlap;
69  TH1D** fhChi2mat;
70  TH2D* fhSimRec;
71 
72  void BookHistos();
73  Bool_t CheckMatch(CbmMuchTrack* vec);
74  void CheckEffic();
75 
78 
79  ClassDef(CbmMuchMergeVectorsQA, 1)
80 };
81 
82 #endif
CbmMuchMergeVectorsQA::fhMatchOver
TH1D * fhMatchOver
Definition: CbmMuchMergeVectorsQA.h:67
CbmMuchGeoScheme
Definition: CbmMuchGeoScheme.h:43
CbmMuchMergeVectorsQA::SetParContainers
virtual void SetParContainers()
Definition: CbmMuchMergeVectorsQA.cxx:106
CbmMuchMergeVectorsQA::fDigis
TClonesArray * fDigis
Definition: CbmMuchMergeVectorsQA.h:58
CbmMuchMergeVectorsQA
Definition: CbmMuchMergeVectorsQA.h:22
CbmMuchMergeVectorsQA::Exec
virtual void Exec(Option_t *opt)
Definition: CbmMuchMergeVectorsQA.cxx:138
CbmMuchMergeVectorsQA::BookHistos
void BookHistos()
Definition: CbmMuchMergeVectorsQA.cxx:110
CbmMuchMergeVectorsQA::Init
virtual InitStatus Init()
Definition: CbmMuchMergeVectorsQA.cxx:45
CbmMuchMergeVectorsQA::fDigiMatches
TClonesArray * fDigiMatches
Definition: CbmMuchMergeVectorsQA.h:60
CbmMuchTrack
Definition: CbmMuchTrack.h:16
CbmMuchMergeVectorsQA::CheckMatch
Bool_t CheckMatch(CbmMuchTrack *vec)
Definition: CbmMuchMergeVectorsQA.cxx:147
CbmMuchMergeVectorsQA::fClusters
TClonesArray * fClusters
Definition: CbmMuchMergeVectorsQA.h:62
CbmMuchMergeVectorsQA::fVectors
TClonesArray * fVectors
Definition: CbmMuchMergeVectorsQA.h:53
CbmMuchMergeVectorsQA::Finish
virtual void Finish()
Definition: CbmMuchMergeVectorsQA.cxx:450
CbmMuchMergeVectorsQA::fStatFirst
Int_t fStatFirst
Definition: CbmMuchMergeVectorsQA.h:47
CbmMuchMergeVectorsQA::fPoints
TClonesArray * fPoints
Definition: CbmMuchMergeVectorsQA.h:55
CbmMuchMergeVectorsQA::fhRec
TH1D * fhRec
Definition: CbmMuchMergeVectorsQA.h:65
CbmMuchMergeVectorsQA::fZpos
Double_t fZpos[5][10]
Definition: CbmMuchMergeVectorsQA.h:50
CbmMuchMergeVectorsQA::CbmMuchMergeVectorsQA
CbmMuchMergeVectorsQA(const CbmMuchMergeVectorsQA &)
CbmMuchMergeVectorsQA::fhSim
TH1D * fhSim
Definition: CbmMuchMergeVectorsQA.h:64
CbmMuchMergeVectorsQA::fNstat
Int_t fNstat
Definition: CbmMuchMergeVectorsQA.h:48
CbmMuchMergeVectorsQA::fHitsGem
TClonesArray * fHitsGem
Definition: CbmMuchMergeVectorsQA.h:57
CbmMuchMergeVectorsQA::CheckEffic
void CheckEffic()
Definition: CbmMuchMergeVectorsQA.cxx:278
CbmMuchMergeVectorsQA::~CbmMuchMergeVectorsQA
virtual ~CbmMuchMergeVectorsQA()
Definition: CbmMuchMergeVectorsQA.cxx:41
CbmMuchMergeVectorsQA::CbmMuchMergeVectorsQA
CbmMuchMergeVectorsQA()
Definition: CbmMuchMergeVectorsQA.cxx:33
CbmMuchMergeVectorsQA::fTracks
TClonesArray * fTracks
Definition: CbmMuchMergeVectorsQA.h:52
CbmMuchMergeVectorsQA::fDigiMatchesGem
TClonesArray * fDigiMatchesGem
Definition: CbmMuchMergeVectorsQA.h:61
CbmMuchMergeVectorsQA::fhOverlap
TH1D * fhOverlap
Definition: CbmMuchMergeVectorsQA.h:68
CbmMuchMergeVectorsQA::fGeoScheme
CbmMuchGeoScheme * fGeoScheme
Definition: CbmMuchMergeVectorsQA.h:46
CbmMuchMergeVectorsQA::fHits
TClonesArray * fHits
Definition: CbmMuchMergeVectorsQA.h:56
CbmMuchMergeVectorsQA::fhMatchMult
TH1D * fhMatchMult
Definition: CbmMuchMergeVectorsQA.h:66
CbmMuchMergeVectorsQA::fhSimRec
TH2D * fhSimRec
Definition: CbmMuchMergeVectorsQA.h:70
CbmMuchMergeVectorsQA::fhChi2mat
TH1D ** fhChi2mat
Definition: CbmMuchMergeVectorsQA.h:69
CbmMuchGeoScheme.h
CbmMuchMergeVectorsQA::operator=
CbmMuchMergeVectorsQA & operator=(const CbmMuchMergeVectorsQA &)
CbmMuchMergeVectorsQA::fMCTracks
TClonesArray * fMCTracks
Definition: CbmMuchMergeVectorsQA.h:54
CbmMuchMergeVectorsQA::fNdoubl
Int_t fNdoubl[10]
Definition: CbmMuchMergeVectorsQA.h:49
CbmMuchMergeVectorsQA::fDigisGem
TClonesArray * fDigisGem
Definition: CbmMuchMergeVectorsQA.h:59