CbmRoot
CbmLitTrackingQa.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITTRACKINGQA_H_
9 #define CBMLITTRACKINGQA_H_
10 
11 #include "CbmDefs.h"
12 #include "FairTask.h"
14 
15 class CbmHistManager;
16 class CbmTrackMatchNew;
18 class CbmMCDataArray;
19 
20 using std::multimap;
21 using std::pair;
22 using std::string;
23 using std::vector;
24 
25 
32 class CbmLitTrackingQa : public FairTask {
33 public:
38 
42  virtual ~CbmLitTrackingQa();
43 
47  virtual InitStatus Init();
48 
52  virtual void Exec(Option_t* opt);
53 
57  virtual void Finish();
58 
60  void SetMinNofPointsSts(Int_t minNofPointsSts) {
61  fMinNofPointsSts = minNofPointsSts;
62  }
63  void SetMinNofPointsTrd(Int_t minNofPointsTrd) {
64  fMinNofPointsTrd = minNofPointsTrd;
65  }
66  void SetMinNofPointsMuch(Int_t minNofPointsMuch) {
67  fMinNofPointsMuch = minNofPointsMuch;
68  }
69  void SetMinNofPointsTof(Int_t minNofPointsTof) {
70  fMinNofPointsTof = minNofPointsTof;
71  }
72  void SetMinNofHitsRich(Int_t minNofHitsRich) {
73  fMinNofHitsRich = minNofHitsRich;
74  }
75  void SetQuota(Double_t quota) { fQuota = quota; }
76  void SetQuotaRich(Double_t quotaRich) { fQuotaRich = quotaRich; }
77  void SetMinNofHitsTrd(Int_t minNofHitsTrd) { fMinNofHitsTrd = minNofHitsTrd; }
78  void SetMinNofHitsMuch(Int_t minNofHitsMuch) {
79  fMinNofHitsMuch = minNofHitsMuch;
80  }
81  void SetUseConsecutivePointsInSts(Bool_t useConsecutivePointsInSts) {
82  fUseConsecutivePointsInSts = useConsecutivePointsInSts;
83  }
84  void SetOutputDir(const std::string& dir) { fOutputDir = dir; }
85  void SetPRange(Int_t bins, Int_t min, Int_t max) {
86  fPRangeBins = bins;
87  fPRangeMin = min;
88  fPRangeMax = max;
89  }
90  void SetYRange(Int_t bins, Int_t min, Int_t max) {
91  fYRangeBins = bins;
92  fYRangeMin = min;
93  fYRangeMax = max;
94  }
95  void SetPtRange(Int_t bins, Int_t min, Int_t max) {
96  fPtRangeBins = bins;
97  fPtRangeMin = min;
98  fPtRangeMax = max;
99  }
100  void SetAngleRange(Double_t min, Double_t max, Int_t nofBins) {
103  fAngleRangeBins = nofBins;
104  }
105  void SetTrackCategories(const vector<string>& trackCategories) {
106  fTrackCategories = trackCategories;
107  }
108  void SetRingCategories(const vector<string>& ringCategories) {
109  fRingCategories = ringCategories;
110  }
111 
112  void SetRichAnnCut(Double_t par) { fRichAnnCut = par; }
113  void SetTrdAnnCut(Double_t par) { fTrdAnnCut = par; }
114 
115 private:
119  void ReadDataBranches();
120 
125 
127 
129 
131 
133 
135 
136 
137  void CreateH1Efficiency(const string& name,
138  const string& parameter,
139  const string& xTitle,
140  Int_t nofBins,
141  Double_t minBin,
142  Double_t maxBin,
143  const string& opt);
144 
145  void CreateH2Efficiency(const string& name,
146  const string& parameter,
147  const string& xTitle,
148  const string& yTitle,
149  Int_t nofBinsX,
150  Double_t minBinX,
151  Double_t maxBinX,
152  Int_t nofBinsY,
153  Double_t minBinY,
154  Double_t maxBinY,
155  const string& opt);
156 
157  void CreateH1PionSuppression(const string& name,
158  const string& parameter,
159  const string& xTitle,
160  Int_t nofBins,
161  Double_t minBin,
162  Double_t maxBin);
163 
164  void CreateH1(const string& name,
165  const string& xTitle,
166  const string& yTitle,
167  Int_t nofBins,
168  Double_t minBin,
169  Double_t maxBin);
170 
171  void CreateH2(const string& name,
172  const string& xTitle,
173  const string& yTitle,
174  const string& zTitle,
175  Int_t nofBinsX,
176  Double_t minBinX,
177  Double_t maxBinX,
178  Int_t nofBinsY,
179  Double_t minBinY,
180  Double_t maxBinY);
181 
182  void CreateTrackHitsHistogram(const string& detName);
183 
184  vector<string>
185  CreateGlobalTrackingHistogramNames(const vector<string>& detectors);
186 
187  vector<string> CreateGlobalTrackingHistogramNames();
188 
189  string LocalEfficiencyNormalization(const string& detName);
190 
191  vector<string> GlobalTrackVariants();
192 
193  vector<string> PionSuppressionVariants();
194 
195  void CreateHistograms();
196 
202  void ProcessGlobalTracks();
203 
209  void ProcessRichRings();
210 
214  void ProcessMvd(Int_t stsId);
215 
216  void FillTrackQualityHistograms(const CbmTrackMatchNew* trackMatch,
217  ECbmModuleId detId);
218 
223  void ProcessMcTracks(Int_t iEvent);
224 
225  // /**
226  // * \brief Calculate efficiency histograms.
227  // */
228  // void CalculateEfficiencyHistos();
229 
239  Int_t mcEventId,
240  Int_t mcId,
241  const multimap<pair<Int_t, Int_t>, Int_t>& mcMap,
242  const string& histName,
243  const string& histTypeName,
244  const string& effName,
245  const string& catName,
246  const vector<Double_t>& par);
247 
257  Int_t mcEventId,
258  Int_t mcId,
259  const multimap<pair<Int_t, Int_t>, Int_t>& mcMap,
260  const string& histName,
261  const string& histTypeName,
262  const string& effName,
263  const string& catName,
264  const vector<Double_t>& par);
265 
266  Bool_t ElectronId(Int_t mcEventId,
267  Int_t mcId,
268  const multimap<pair<Int_t, Int_t>, Int_t>& mcMap,
269  const string& effName);
270 
271  void PionSuppression();
272 
276  void IncreaseCounters();
277 
278  CbmHistManager* fHM; // Histogram manager
279  string fOutputDir; // Output directory for results
280  CbmLitDetectorSetup fDet; // Detector presence information
281  CbmLitMCTrackCreator* fMCTrackCreator; // MC track creator tool
282 
283  // Acceptance defined by MC points
284  Int_t fMinNofPointsSts; // Minimal number of MCPoints in STS
285  Int_t fMinNofPointsTrd; // Minimal number of MCPoints in TRD
286  Int_t fMinNofPointsMuch; // Minimal number of MCPoints in MUCH
287  Int_t fMinNofPointsTof; // Minimal number of MCPoints in TOF
288  Double_t
289  fQuota; // True/all hits for track to be considered correctly reconstructed
290 
291  Bool_t
292  fUseConsecutivePointsInSts; // Use consecutive MC points for STS normalization
293 
294  // Acceptance in RICH
295  Int_t fMinNofHitsRich; // Minimal number of hits in MC RICH ring
296  Double_t
297  fQuotaRich; // True/all hits for ring to be considered correctly reconstructed
298 
299  // Minimal number of hits in track to be considered as accepted.
300  // This is needed because the definition of the correctly reconstructed track
301  // is 70% of hits in the reconstructed track are from the same MC track.
302  // But this can lead to the situation when a reconstructed track has 4 hits,
303  // all of them from the same MC track, which means that the track is correctly
304  // reconstructed. BUT the real MC track has 12 points(hits). This is especially
305  // important for the MUCH detector. To avoid such situations one has to put
306  // such cut.
307  Int_t fMinNofHitsTrd; // for TRD track
308  Int_t fMinNofHitsMuch; // for MUCH track
309 
310  Double_t
311  fPRangeMin; // Minimum momentum for tracks for efficiency calculation [GeV/c]
312  Double_t
313  fPRangeMax; // Maximum momentum for tracks for efficiency calculation [GeV/c]
314  Int_t fPRangeBins; // Number of bins for efficiency vs. momentum histogram
315  Double_t
316  fPtRangeMin; // Minimum Pt for tracks for efficiency calculation [GeV/c]
317  Double_t
318  fPtRangeMax; // Maximum Pt for tracks for efficiency calculation [GeV/c]
319  Int_t fPtRangeBins; // Number of bins for efficiency vs. Pt histogram
320  Double_t
321  fYRangeMin; // Minimum rapidity for tracks for efficiency calculation [GeV/c]
322  Double_t
323  fYRangeMax; // Maximum rapidity for tracks for efficiency calculation [GeV/c]
324  Int_t fYRangeBins; // Number of bins for efficiency vs. rapidity histogram
325  Double_t fAngleRangeMin; // Minimum polar angle [grad]
326  Double_t fAngleRangeMax; // Maximum polar angle [grad]
327  Int_t
328  fAngleRangeBins; // Number of bins for efficiency vs. polar angle histogram
329 
330  // Pointers to data arrays
331  CbmMCDataArray* fMCTracks; // CbmMCTrack array
332  TClonesArray* fGlobalTracks; // CbmGlobalTrack array
333  CbmMCDataArray* fMvdPoints; // CbmMvdPoint array
334  TClonesArray* fMvdHitMatches; // CbmMatch array
335  TClonesArray* fStsTracks; // CbmStsTrack array
336  TClonesArray* fStsMatches; // CbmStsTrackMatch array
337  TClonesArray* fRichRings; // CbmRichRing array
338  TClonesArray* fRichProjections; // CbmRichProjection array
339  TClonesArray* fRichRingMatches; // CbmRichMatchesn array
340  TClonesArray* fMuchMatches; // CbmTrackMatchNew array
341  TClonesArray* fTrdMatches; // CbmTrackMatchNew array
342  CbmMCDataArray* fTofPoints; // CbmTofPoint array
343  TClonesArray* fTofMatches; // CbmMatch array
344 
345  // Global track segment name maps to multimap <MC track index, reconstructed track index>
346  map<string, multimap<pair<Int_t, Int_t>, Int_t>> fMcToRecoMap;
347 
348  vector<string> fTrackCategories; // Vector of track category names
349  vector<string> fRingCategories; // Vector of ring category names
350  vector<string> fTrackCategoriesPID; // Vector of track category names
351  vector<string>
352  fRingCategoriesPID; // Vector of ring category names for REC+PID
353  vector<string> fPiSuppCategories;
354  ; // Vector of categories for pion suppression
355 
356  //#ifndef __ROOTCLING__
358  Int_t eventNo,
359  Int_t index);
361  Int_t eventNo,
362  Int_t index,
363  Int_t nofHitsInRing);
364  typedef Bool_t (*LitPiSuppAcceptanceFunction)(
365  const TClonesArray* globalTracks,
366  const TClonesArray* stsMatches,
367  const TClonesArray* richMatches,
368  Int_t index);
369  map<string, LitTrackAcceptanceFunction>
370  fTrackAcceptanceFunctions; // maps track category name to track acceptance function
371  map<string, LitRingAcceptanceFunction>
372  fRingAcceptanceFunctions; // maps ring category name to ring acceptance function
373  map<string, LitPiSuppAcceptanceFunction>
374  fPiSuppAcceptanceFunctions; // maps pion supp. category name to piSupp acceptance function
375  //#endif
376  Double_t fTrdAnnCut;
377  Double_t fRichAnnCut;
378 
381 
383 };
384 
385 #endif /* CBMLITTRACKINGQA_H_ */
CbmLitTrackingQa::fPtRangeMax
Double_t fPtRangeMax
Definition: CbmLitTrackingQa.h:318
CbmLitTrackingQa::fMinNofHitsTrd
Int_t fMinNofHitsTrd
Definition: CbmLitTrackingQa.h:307
CbmLitTrackingQa::fMinNofPointsTof
Int_t fMinNofPointsTof
Definition: CbmLitTrackingQa.h:287
CbmLitTrackingQa::fMinNofPointsMuch
Int_t fMinNofPointsMuch
Definition: CbmLitTrackingQa.h:286
CbmLitTrackingQa::ProcessGlobalTracks
void ProcessGlobalTracks()
Loop over the reconstructed global tracks. Check if track is correct and fill multimap <MC track inde...
Definition: CbmLitTrackingQa.cxx:972
CbmLitTrackingQa::fRingCategories
vector< string > fRingCategories
Definition: CbmLitTrackingQa.h:349
CbmLitTrackingQa::PionSuppressionVariants
vector< string > PionSuppressionVariants()
Definition: CbmLitTrackingQa.cxx:524
CbmLitTrackingQa::fPRangeMax
Double_t fPRangeMax
Definition: CbmLitTrackingQa.h:313
CbmLitTrackingQa::FillTrackAndRingAcceptanceFunctions
void FillTrackAndRingAcceptanceFunctions()
Definition: CbmLitTrackingQa.cxx:252
CbmLitTrackingQa::fTrdAnnCut
Double_t fTrdAnnCut
Definition: CbmLitTrackingQa.h:376
CbmLitTrackingQa::CbmLitTrackingQa
CbmLitTrackingQa()
Constructor.
Definition: CbmLitTrackingQa.cxx:46
CbmLitTrackingQa::CreateH2Efficiency
void CreateH2Efficiency(const string &name, const string &parameter, const string &xTitle, const string &yTitle, Int_t nofBinsX, Double_t minBinX, Double_t maxBinX, Int_t nofBinsY, Double_t minBinY, Double_t maxBinY, const string &opt)
Definition: CbmLitTrackingQa.cxx:334
CbmLitTrackingQa::fPtRangeBins
Int_t fPtRangeBins
Definition: CbmLitTrackingQa.h:319
CbmLitTrackingQa::CreateH1PionSuppression
void CreateH1PionSuppression(const string &name, const string &parameter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
Definition: CbmLitTrackingQa.cxx:374
CbmLitTrackingQa::fPRangeMin
Double_t fPRangeMin
Definition: CbmLitTrackingQa.h:311
CbmLitMCTrackCreator
Creates CbmLitMCTrack objects.
Definition: CbmLitMCTrackCreator.h:35
CbmLitTrackingQa::LitRingAcceptanceFunction
Bool_t(* LitRingAcceptanceFunction)(CbmMCDataArray *mcTracks, Int_t eventNo, Int_t index, Int_t nofHitsInRing)
Definition: CbmLitTrackingQa.h:360
CbmLitTrackingQa::FillDefaultTrackCategories
void FillDefaultTrackCategories()
Fill array of track categories with default values.
Definition: CbmLitTrackingQa.cxx:218
CbmLitTrackingQa::fRichAnnCut
Double_t fRichAnnCut
Definition: CbmLitTrackingQa.h:377
CbmLitTrackingQa::fRingCategoriesPID
vector< string > fRingCategoriesPID
Definition: CbmLitTrackingQa.h:352
CbmLitTrackingQa::FillTrackQualityHistograms
void FillTrackQualityHistograms(const CbmTrackMatchNew *trackMatch, ECbmModuleId detId)
Definition: CbmLitTrackingQa.cxx:1222
CbmLitTrackingQa::fYRangeBins
Int_t fYRangeBins
Definition: CbmLitTrackingQa.h:324
CbmLitTrackingQa::SetPtRange
void SetPtRange(Int_t bins, Int_t min, Int_t max)
Definition: CbmLitTrackingQa.h:95
ECbmModuleId
ECbmModuleId
Definition: CbmDefs.h:33
CbmLitTrackingQa::SetMinNofPointsSts
void SetMinNofPointsSts(Int_t minNofPointsSts)
Definition: CbmLitTrackingQa.h:60
CbmLitTrackingQa::fDet
CbmLitDetectorSetup fDet
Definition: CbmLitTrackingQa.h:280
CbmLitTrackingQa::SetMinNofPointsTrd
void SetMinNofPointsTrd(Int_t minNofPointsTrd)
Definition: CbmLitTrackingQa.h:63
CbmMCDataArray
Access to a MC data branch for time-based analysis.
Definition: CbmMCDataArray.h:35
CbmLitDetectorSetup
Helper class to access detector presence.
Definition: CbmLitDetectorSetup.h:22
CbmLitTrackingQa::fQuota
Double_t fQuota
Definition: CbmLitTrackingQa.h:289
CbmLitTrackingQa::GlobalTrackVariants
vector< string > GlobalTrackVariants()
Definition: CbmLitTrackingQa.cxx:489
CbmLitTrackingQa::fOutputDir
string fOutputDir
Definition: CbmLitTrackingQa.h:279
CbmLitTrackingQa::SetYRange
void SetYRange(Int_t bins, Int_t min, Int_t max)
Definition: CbmLitTrackingQa.h:90
CbmLitTrackingQa::fAngleRangeMin
Double_t fAngleRangeMin
Definition: CbmLitTrackingQa.h:325
CbmLitTrackingQa::SetAngleRange
void SetAngleRange(Double_t min, Double_t max, Int_t nofBins)
Definition: CbmLitTrackingQa.h:100
CbmLitTrackingQa::fStsMatches
TClonesArray * fStsMatches
Definition: CbmLitTrackingQa.h:336
CbmLitTrackingQa::LocalEfficiencyNormalization
string LocalEfficiencyNormalization(const string &detName)
Definition: CbmLitTrackingQa.cxx:552
CbmLitTrackingQa::fMCTrackCreator
CbmLitMCTrackCreator * fMCTrackCreator
Definition: CbmLitTrackingQa.h:281
CbmLitTrackingQa::SetRichAnnCut
void SetRichAnnCut(Double_t par)
Definition: CbmLitTrackingQa.h:112
min
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
Definition: L1/vectors/P4_F32vec4.h:33
CbmLitTrackingQa::fMinNofPointsSts
Int_t fMinNofPointsSts
Definition: CbmLitTrackingQa.h:284
CbmLitTrackingQa::fRingAcceptanceFunctions
map< string, LitRingAcceptanceFunction > fRingAcceptanceFunctions
Definition: CbmLitTrackingQa.h:372
CbmLitTrackingQa::Exec
virtual void Exec(Option_t *opt)
Derived from FairTask.
Definition: CbmLitTrackingQa.cxx:134
CbmLitTrackingQa::fRichRingMatches
TClonesArray * fRichRingMatches
Definition: CbmLitTrackingQa.h:339
CbmHistManager
Histogram manager.
Definition: CbmHistManager.h:41
CbmLitTrackingQa::fUseConsecutivePointsInSts
Bool_t fUseConsecutivePointsInSts
Definition: CbmLitTrackingQa.h:292
CbmLitTrackingQa::FillGlobalReconstructionHistos
void FillGlobalReconstructionHistos(Int_t mcEventId, Int_t mcId, const multimap< pair< Int_t, Int_t >, Int_t > &mcMap, const string &histName, const string &histTypeName, const string &effName, const string &catName, const vector< Double_t > &par)
Fill histograms of accepted and reconstructed tracks.
Definition: CbmLitTrackingQa.cxx:1412
CbmLitTrackingQa::CreateTrackHitsHistogram
void CreateTrackHitsHistogram(const string &detName)
Definition: CbmLitTrackingQa.cxx:431
mcTracks
static vector< vector< QAMCTrack > > mcTracks
Definition: CbmTofHitFinderTBQA.cxx:112
CbmLitTrackingQa::fTrackAcceptanceFunctions
map< string, LitTrackAcceptanceFunction > fTrackAcceptanceFunctions
Definition: CbmLitTrackingQa.h:370
CbmLitTrackingQa::IncreaseCounters
void IncreaseCounters()
Increase number of objects counters.
Definition: CbmLitTrackingQa.cxx:1576
CbmLitTrackingQa::FillDefaultTrackPIDCategories
void FillDefaultTrackPIDCategories()
Definition: CbmLitTrackingQa.cxx:231
CbmLitTrackingQa::Finish
virtual void Finish()
Derived from FairTask.
Definition: CbmLitTrackingQa.cxx:148
CbmLitTrackingQa::fTrackCategories
vector< string > fTrackCategories
Definition: CbmLitTrackingQa.h:348
CbmLitTrackingQa::FillGlobalReconstructionHistosRich
void FillGlobalReconstructionHistosRich(Int_t mcEventId, Int_t mcId, const multimap< pair< Int_t, Int_t >, Int_t > &mcMap, const string &histName, const string &histTypeName, const string &effName, const string &catName, const vector< Double_t > &par)
Fill histograms of accepted and reconstructed rings tracks.
Definition: CbmLitTrackingQa.cxx:1442
CbmLitTrackingQa::SetQuotaRich
void SetQuotaRich(Double_t quotaRich)
Definition: CbmLitTrackingQa.h:76
CbmLitTrackingQa::fMinNofHitsRich
Int_t fMinNofHitsRich
Definition: CbmLitTrackingQa.h:295
CbmLitTrackingQa::CreateGlobalTrackingHistogramNames
vector< string > CreateGlobalTrackingHistogramNames()
Definition: CbmLitTrackingQa.cxx:462
CbmLitTrackingQa::SetTrdAnnCut
void SetTrdAnnCut(Double_t par)
Definition: CbmLitTrackingQa.h:113
CbmLitTrackingQa::~CbmLitTrackingQa
virtual ~CbmLitTrackingQa()
Destructor.
Definition: CbmLitTrackingQa.cxx:93
CbmLitTrackingQa::FillDefaultPiSuppCategories
void FillDefaultPiSuppCategories()
Definition: CbmLitTrackingQa.cxx:245
CbmLitTrackingQa::fGlobalTracks
TClonesArray * fGlobalTracks
Definition: CbmLitTrackingQa.h:332
CbmLitTrackingQa::fHM
CbmHistManager * fHM
Definition: CbmLitTrackingQa.h:278
CbmLitTrackingQa::SetOutputDir
void SetOutputDir(const std::string &dir)
Definition: CbmLitTrackingQa.h:84
CbmLitTrackingQa::fQuotaRich
Double_t fQuotaRich
Definition: CbmLitTrackingQa.h:297
CbmLitTrackingQa::LitTrackAcceptanceFunction
Bool_t(* LitTrackAcceptanceFunction)(CbmMCDataArray *mcTracks, Int_t eventNo, Int_t index)
Definition: CbmLitTrackingQa.h:357
CbmLitTrackingQa::FillDefaultRingPIDCategories
void FillDefaultRingPIDCategories()
Definition: CbmLitTrackingQa.cxx:238
CbmLitTrackingQa::fPRangeBins
Int_t fPRangeBins
Definition: CbmLitTrackingQa.h:314
CbmLitTrackingQa::CreateHistograms
void CreateHistograms()
Definition: CbmLitTrackingQa.cxx:568
CbmLitTrackingQa::SetMinNofHitsTrd
void SetMinNofHitsTrd(Int_t minNofHitsTrd)
Definition: CbmLitTrackingQa.h:77
CbmLitTrackingQa::operator=
CbmLitTrackingQa & operator=(const CbmLitTrackingQa &)
CbmLitTrackingQa::fRichProjections
TClonesArray * fRichProjections
Definition: CbmLitTrackingQa.h:338
CbmLitTrackingQa::SetMinNofPointsMuch
void SetMinNofPointsMuch(Int_t minNofPointsMuch)
Definition: CbmLitTrackingQa.h:66
CbmLitTrackingQa::fYRangeMax
Double_t fYRangeMax
Definition: CbmLitTrackingQa.h:323
CbmLitTrackingQa::CbmLitTrackingQa
CbmLitTrackingQa(const CbmLitTrackingQa &)
CbmLitTrackingQa::CreateH2
void CreateH2(const string &name, const string &xTitle, const string &yTitle, const string &zTitle, Int_t nofBinsX, Double_t minBinX, Double_t maxBinX, Int_t nofBinsY, Double_t minBinY, Double_t maxBinY)
Definition: CbmLitTrackingQa.cxx:409
CbmLitTrackingQa::SetQuota
void SetQuota(Double_t quota)
Definition: CbmLitTrackingQa.h:75
CbmLitTrackingQa::SetMinNofPointsTof
void SetMinNofPointsTof(Int_t minNofPointsTof)
Definition: CbmLitTrackingQa.h:69
CbmLitTrackingQa::SetTrackCategories
void SetTrackCategories(const vector< string > &trackCategories)
Definition: CbmLitTrackingQa.h:105
CbmLitTrackingQa
Definition: CbmLitTrackingQa.h:32
CbmLitTrackingQa::fTrdMatches
TClonesArray * fTrdMatches
Definition: CbmLitTrackingQa.h:341
CbmLitTrackingQa::FillDefaultRingCategories
void FillDefaultRingCategories()
Definition: CbmLitTrackingQa.cxx:225
CbmLitTrackingQa::CreateH1Efficiency
void CreateH1Efficiency(const string &name, const string &parameter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin, const string &opt)
Definition: CbmLitTrackingQa.cxx:304
CbmLitTrackingQa::fRichRings
TClonesArray * fRichRings
Definition: CbmLitTrackingQa.h:337
CbmLitTrackingQa::SetPRange
void SetPRange(Int_t bins, Int_t min, Int_t max)
Definition: CbmLitTrackingQa.h:85
CbmLitTrackingQa::LitPiSuppAcceptanceFunction
Bool_t(* LitPiSuppAcceptanceFunction)(const TClonesArray *globalTracks, const TClonesArray *stsMatches, const TClonesArray *richMatches, Int_t index)
Definition: CbmLitTrackingQa.h:364
CbmLitTrackingQa::fYRangeMin
Double_t fYRangeMin
Definition: CbmLitTrackingQa.h:321
CbmLitTrackingQa::fMvdPoints
CbmMCDataArray * fMvdPoints
Definition: CbmLitTrackingQa.h:333
CbmLitTrackingQa::CreateH1
void CreateH1(const string &name, const string &xTitle, const string &yTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
Definition: CbmLitTrackingQa.cxx:395
CbmLitTrackingQa::PionSuppression
void PionSuppression()
Definition: CbmLitTrackingQa.cxx:1504
CbmLitTrackingQa::fMinNofHitsMuch
Int_t fMinNofHitsMuch
Definition: CbmLitTrackingQa.h:308
CbmLitTrackingQa::fMinNofPointsTrd
Int_t fMinNofPointsTrd
Definition: CbmLitTrackingQa.h:285
CbmLitTrackingQa::fPtRangeMin
Double_t fPtRangeMin
Definition: CbmLitTrackingQa.h:316
CbmLitTrackingQa::ReadDataBranches
void ReadDataBranches()
Read data branches from input data files.
Definition: CbmLitTrackingQa.cxx:165
CbmTrackMatchNew
Definition: CbmTrackMatchNew.h:19
CbmLitTrackingQa::SetMinNofHitsRich
void SetMinNofHitsRich(Int_t minNofHitsRich)
Definition: CbmLitTrackingQa.h:72
CbmLitTrackingQa::SetUseConsecutivePointsInSts
void SetUseConsecutivePointsInSts(Bool_t useConsecutivePointsInSts)
Definition: CbmLitTrackingQa.h:81
CbmLitTrackingQa::SetMinNofHitsMuch
void SetMinNofHitsMuch(Int_t minNofHitsMuch)
Definition: CbmLitTrackingQa.h:78
CbmLitTrackingQa::fAngleRangeMax
Double_t fAngleRangeMax
Definition: CbmLitTrackingQa.h:326
CbmLitTrackingQa::ProcessMvd
void ProcessMvd(Int_t stsId)
Check correctness attached MVD hits.
Definition: CbmLitTrackingQa.cxx:1183
CbmLitTrackingQa::fMCTracks
CbmMCDataArray * fMCTracks
Definition: CbmLitTrackingQa.h:331
CbmLitTrackingQa::fAngleRangeBins
Int_t fAngleRangeBins
Definition: CbmLitTrackingQa.h:328
CbmLitTrackingQa::SetRingCategories
void SetRingCategories(const vector< string > &ringCategories)
Definition: CbmLitTrackingQa.h:108
CbmLitTrackingQa::fMuchMatches
TClonesArray * fMuchMatches
Definition: CbmLitTrackingQa.h:340
CbmLitTrackingQa::ElectronId
Bool_t ElectronId(Int_t mcEventId, Int_t mcId, const multimap< pair< Int_t, Int_t >, Int_t > &mcMap, const string &effName)
Definition: CbmLitTrackingQa.cxx:1474
max
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
Definition: L1/vectors/P4_F32vec4.h:36
CbmLitTrackingQa::ProcessRichRings
void ProcessRichRings()
Loop over the reconstructed RICH rings. Check if ring is correct and fill multimap <MC track index,...
Definition: CbmLitTrackingQa.cxx:1165
CbmLitTrackingQa::fTofPoints
CbmMCDataArray * fTofPoints
Definition: CbmLitTrackingQa.h:342
CbmLitTrackingQa::fPiSuppAcceptanceFunctions
map< string, LitPiSuppAcceptanceFunction > fPiSuppAcceptanceFunctions
Definition: CbmLitTrackingQa.h:374
CbmLitTrackingQa::fMcToRecoMap
map< string, multimap< pair< Int_t, Int_t >, Int_t > > fMcToRecoMap
Definition: CbmLitTrackingQa.h:346
CbmLitTrackingQa::fPiSuppCategories
vector< string > fPiSuppCategories
Definition: CbmLitTrackingQa.h:353
CbmLitTrackingQa::fMvdHitMatches
TClonesArray * fMvdHitMatches
Definition: CbmLitTrackingQa.h:334
CbmLitTrackingQa::fTrackCategoriesPID
vector< string > fTrackCategoriesPID
Definition: CbmLitTrackingQa.h:350
CbmLitTrackingQa::fTofMatches
TClonesArray * fTofMatches
Definition: CbmLitTrackingQa.h:343
CbmLitTrackingQa::ClassDef
ClassDef(CbmLitTrackingQa, 1)
CbmLitTrackingQa::fStsTracks
TClonesArray * fStsTracks
Definition: CbmLitTrackingQa.h:335
CbmLitTrackingQa::Init
virtual InitStatus Init()
Derived from FairTask.
Definition: CbmLitTrackingQa.cxx:97
CbmLitTrackingQa::ProcessMcTracks
void ProcessMcTracks(Int_t iEvent)
Loop over the MC tracks. Check track acceptance for different cases. Fill histograms of accepted and ...
Definition: CbmLitTrackingQa.cxx:1243
CbmLitDetectorSetup.h
Helper class to access detector presence.
CbmDefs.h