Go to the documentation of this file.
8 #ifndef CBMLITTRACKINGQA_H_
9 #define CBMLITTRACKINGQA_H_
47 virtual InitStatus
Init();
52 virtual void Exec(Option_t* opt);
138 const string& parameter,
139 const string& xTitle,
146 const string& parameter,
147 const string& xTitle,
148 const string& yTitle,
158 const string& parameter,
159 const string& xTitle,
165 const string& xTitle,
166 const string& yTitle,
172 const string& xTitle,
173 const string& yTitle,
174 const string& zTitle,
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);
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);
268 const multimap<pair<Int_t, Int_t>, Int_t>& mcMap,
269 const string& effName);
363 Int_t nofHitsInRing);
365 const TClonesArray* globalTracks,
366 const TClonesArray* stsMatches,
367 const TClonesArray* richMatches,
369 map<string, LitTrackAcceptanceFunction>
371 map<string, LitRingAcceptanceFunction>
373 map<string, LitPiSuppAcceptanceFunction>
void ProcessGlobalTracks()
Loop over the reconstructed global tracks. Check if track is correct and fill multimap <MC track inde...
vector< string > fRingCategories
vector< string > PionSuppressionVariants()
void FillTrackAndRingAcceptanceFunctions()
CbmLitTrackingQa()
Constructor.
void CreateH2Efficiency(const string &name, const string ¶meter, 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)
void CreateH1PionSuppression(const string &name, const string ¶meter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
Creates CbmLitMCTrack objects.
Bool_t(* LitRingAcceptanceFunction)(CbmMCDataArray *mcTracks, Int_t eventNo, Int_t index, Int_t nofHitsInRing)
void FillDefaultTrackCategories()
Fill array of track categories with default values.
vector< string > fRingCategoriesPID
void FillTrackQualityHistograms(const CbmTrackMatchNew *trackMatch, ECbmModuleId detId)
void SetPtRange(Int_t bins, Int_t min, Int_t max)
void SetMinNofPointsSts(Int_t minNofPointsSts)
void SetMinNofPointsTrd(Int_t minNofPointsTrd)
Access to a MC data branch for time-based analysis.
Helper class to access detector presence.
vector< string > GlobalTrackVariants()
void SetYRange(Int_t bins, Int_t min, Int_t max)
void SetAngleRange(Double_t min, Double_t max, Int_t nofBins)
TClonesArray * fStsMatches
string LocalEfficiencyNormalization(const string &detName)
CbmLitMCTrackCreator * fMCTrackCreator
void SetRichAnnCut(Double_t par)
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
map< string, LitRingAcceptanceFunction > fRingAcceptanceFunctions
virtual void Exec(Option_t *opt)
Derived from FairTask.
TClonesArray * fRichRingMatches
Bool_t fUseConsecutivePointsInSts
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.
void CreateTrackHitsHistogram(const string &detName)
static vector< vector< QAMCTrack > > mcTracks
map< string, LitTrackAcceptanceFunction > fTrackAcceptanceFunctions
void IncreaseCounters()
Increase number of objects counters.
void FillDefaultTrackPIDCategories()
virtual void Finish()
Derived from FairTask.
vector< string > fTrackCategories
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.
void SetQuotaRich(Double_t quotaRich)
vector< string > CreateGlobalTrackingHistogramNames()
void SetTrdAnnCut(Double_t par)
virtual ~CbmLitTrackingQa()
Destructor.
void FillDefaultPiSuppCategories()
TClonesArray * fGlobalTracks
void SetOutputDir(const std::string &dir)
Bool_t(* LitTrackAcceptanceFunction)(CbmMCDataArray *mcTracks, Int_t eventNo, Int_t index)
void FillDefaultRingPIDCategories()
void SetMinNofHitsTrd(Int_t minNofHitsTrd)
CbmLitTrackingQa & operator=(const CbmLitTrackingQa &)
TClonesArray * fRichProjections
void SetMinNofPointsMuch(Int_t minNofPointsMuch)
CbmLitTrackingQa(const CbmLitTrackingQa &)
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)
void SetQuota(Double_t quota)
void SetMinNofPointsTof(Int_t minNofPointsTof)
void SetTrackCategories(const vector< string > &trackCategories)
TClonesArray * fTrdMatches
void FillDefaultRingCategories()
void CreateH1Efficiency(const string &name, const string ¶meter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin, const string &opt)
TClonesArray * fRichRings
void SetPRange(Int_t bins, Int_t min, Int_t max)
Bool_t(* LitPiSuppAcceptanceFunction)(const TClonesArray *globalTracks, const TClonesArray *stsMatches, const TClonesArray *richMatches, Int_t index)
CbmMCDataArray * fMvdPoints
void CreateH1(const string &name, const string &xTitle, const string &yTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
void ReadDataBranches()
Read data branches from input data files.
void SetMinNofHitsRich(Int_t minNofHitsRich)
void SetUseConsecutivePointsInSts(Bool_t useConsecutivePointsInSts)
void SetMinNofHitsMuch(Int_t minNofHitsMuch)
void ProcessMvd(Int_t stsId)
Check correctness attached MVD hits.
CbmMCDataArray * fMCTracks
void SetRingCategories(const vector< string > &ringCategories)
TClonesArray * fMuchMatches
Bool_t ElectronId(Int_t mcEventId, Int_t mcId, const multimap< pair< Int_t, Int_t >, Int_t > &mcMap, const string &effName)
friend F32vec4 max(const F32vec4 &a, const F32vec4 &b)
void ProcessRichRings()
Loop over the reconstructed RICH rings. Check if ring is correct and fill multimap <MC track index,...
CbmMCDataArray * fTofPoints
map< string, LitPiSuppAcceptanceFunction > fPiSuppAcceptanceFunctions
map< string, multimap< pair< Int_t, Int_t >, Int_t > > fMcToRecoMap
vector< string > fPiSuppCategories
TClonesArray * fMvdHitMatches
vector< string > fTrackCategoriesPID
TClonesArray * fTofMatches
ClassDef(CbmLitTrackingQa, 1)
TClonesArray * fStsTracks
virtual InitStatus Init()
Derived from FairTask.
void ProcessMcTracks(Int_t iEvent)
Loop over the MC tracks. Check track acceptance for different cases. Fill histograms of accepted and ...
Helper class to access detector presence.