|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnPidQa.h>
Public Member Functions | |
| BmnPidQa () | |
| Constructor. | |
| BmnPidQa (TString name, TString storageName="canvStorage") | |
| Constructor. | |
| virtual | ~BmnPidQa () |
| Destructor. | |
| virtual InitStatus | Init () |
| Derived from FairTask. | |
| virtual void | Exec (Option_t *opt) |
| Derived from FairTask. | |
| virtual void | Finish () |
| Derived from FairTask. | |
| TParticlePDG * | GetParticleExtend (Int_t pdgCode) |
| void | SetOutputDir (const std::string &dir) |
| void | SetPRange (Int_t bins, Int_t min, Int_t max) |
| void | SetOnlyPrimes (const Bool_t prime) |
| Bool_t | GetOnlyPrimes () const |
Private Member Functions | |
| Int_t | EnumToPdg (PidParticles part) |
| void | ReadDataBranches () |
| Read data branches from input data files. | |
| void | CreateH1 (const string &name, const string &xTitle, const string &yTitle, Int_t nofBins, Double_t minBin, Double_t maxBin) |
| 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 | CreateTrackHitsHistogram (const string &detName) |
| void | ReadEventHeader () |
| void | CreateHistograms () |
| void | ProcessGlobal () |
| string | GetParticleName (Double_t mass) |
| void | MassTablePrint () |
| void | PidStatisticsPrint400 () |
| void | PidStatisticsPrint700 () |
| BmnPidQa (const BmnPidQa &) | |
| BmnPidQa & | operator= (const BmnPidQa &) |
Private Attributes | |
| TString | fOutName |
| TString | fStorageName |
| BmnHistManager * | fHM |
| string | fOutputDir |
| Bool_t | fPrimes |
| Double_t | fPRangeMin |
| Double_t | fPRangeMax |
| Int_t | fPRangeBins |
| Double_t | fBetaRangeMin |
| Double_t | fBetaRangeMax |
| Int_t | fBetaRangeBins |
| Double_t | fVelocRangeMin |
| Double_t | fVelocRangeMax |
| Int_t | fVelocRangeBins |
| Double_t | fTimeRangeMin |
| Double_t | fTimeRangeMax |
| Int_t | fTimeRangeBins |
| Double_t | fMassRangeMin |
| Double_t | fMassRangeMax |
| Int_t | fMassRangeBins |
| Double_t | fNHitsRangeMin |
| Double_t | fNHitsRangeMax |
| Int_t | fNHitsRangeBins |
| TDatabasePDG * | db = nullptr |
| vector< TParticlePDG * > | fParticles |
| unordered_map< Double_t, string > | fMassTable |
| unordered_map< string, vector< Int_t > > | fPidStatistics400 |
| unordered_map< string, vector< Int_t > > | fPidStatistics700 |
| TClonesArray * | fMCTracks |
| TClonesArray * | fGlobalTracks |
| TClonesArray * | fGlobalTrackMatches |
| TClonesArray * | fTof400Hits |
| TClonesArray * | fTof700Hits |
Definition at line 29 of file BmnPidQa.h.
|
inline |
Definition at line 35 of file BmnPidQa.h.
Referenced by BmnPidQa(), and operator=().
Definition at line 47 of file BmnPidQa.cxx.
References db, EnumToPdg(), fBetaRangeBins, fBetaRangeMax, fBetaRangeMin, fGlobalTracks, fHM, fMassRangeBins, fMassRangeMax, fMassRangeMin, fMassTable, fMCTracks, fNHitsRangeBins, fNHitsRangeMax, fNHitsRangeMin, fOutName, fOutputDir, fParticles, fPidStatistics400, fPidStatistics700, fPRangeBins, fPRangeMax, fPRangeMin, fPrimes, fStorageName, fTimeRangeBins, fTimeRangeMax, fTimeRangeMin, fVelocRangeBins, fVelocRangeMax, fVelocRangeMin, TNamed::GetName(), TDatabasePDG::Instance(), and TParticlePDG::Mass().
|
virtual |
Definition at line 96 of file BmnPidQa.cxx.
References fHM.
|
private |
|
private |
Definition at line 153 of file BmnPidQa.cxx.
References fHM.
Referenced by CreateHistograms(), and CreateTrackHitsHistogram().
|
private |
Definition at line 164 of file BmnPidQa.cxx.
References fHM.
Referenced by CreateHistograms().
|
private |
Definition at line 193 of file BmnPidQa.cxx.
References CreateH1(), CreateH2(), fBetaRangeBins, fBetaRangeMax, fBetaRangeMin, fMassRangeBins, fMassRangeMax, fMassRangeMin, fMassTable, fNHitsRangeBins, fNHitsRangeMax, fNHitsRangeMin, fPRangeBins, fPRangeMax, fPRangeMin, fTimeRangeBins, fTimeRangeMax, fTimeRangeMin, fVelocRangeBins, fVelocRangeMax, and fVelocRangeMin.
Referenced by Init().
|
private |
Definition at line 180 of file BmnPidQa.cxx.
References CreateH1(), i, max(), and min().
|
private |
Definition at line 535 of file BmnPidQa.cxx.
Referenced by BmnPidQa(), and ProcessGlobal().
|
virtual |
Definition at line 110 of file BmnPidQa.cxx.
References ProcessGlobal().
|
virtual |
Definition at line 115 of file BmnPidQa.cxx.
References BmnSimulationReport::Create(), fHM, fMassTable, fOutName, fOutputDir, fPrimes, fStorageName, MassTablePrint(), PidStatisticsPrint400(), PidStatisticsPrint700(), and BmnSimulationReport::SetOnlyPrimes().
|
inline |
Definition at line 75 of file BmnPidQa.h.
References fPrimes.
Referenced by ProcessGlobal().
| TParticlePDG * BmnPidQa::GetParticleExtend | ( | Int_t | pdgCode | ) |
Definition at line 560 of file BmnPidQa.cxx.
References db, and fParticles.
Referenced by ProcessGlobal().
|
private |
Definition at line 570 of file BmnPidQa.cxx.
References fMassTable.
Referenced by ProcessGlobal().
|
virtual |
Definition at line 102 of file BmnPidQa.cxx.
References CreateHistograms(), fHM, and ReadDataBranches().
|
private |
Definition at line 580 of file BmnPidQa.cxx.
References fMassTable.
Referenced by Finish().
|
private |
Definition at line 586 of file BmnPidQa.cxx.
References fPidStatistics400.
Referenced by Finish().
|
private |
Definition at line 591 of file BmnPidQa.cxx.
References fPidStatistics700.
Referenced by Finish().
|
private |
Definition at line 347 of file BmnPidQa.cxx.
References EnumToPdg(), fGlobalTrackMatches, fGlobalTracks, fHM, fMassTable, fMCTracks, fPidStatistics400, fPidStatistics700, fTof400Hits, fTof700Hits, BmnLink::GetIndex(), BmnHit::GetLength(), BmnGlobalTrack::GetMass2(), BmnMatch::GetMatchedLink(), CbmMCTrack::GetMotherId(), BmnTrack::GetNHits(), BmnMatch::GetNofLinks(), GetOnlyPrimes(), BmnTrack::GetP(), GetParticleExtend(), GetParticleName(), CbmMCTrack::GetPdgCode(), BmnGlobalTrack::GetTof1HitIndex(), BmnGlobalTrack::GetTof2HitIndex(), and TParticlePDG::Mass().
Referenced by Exec().
|
private |
Definition at line 134 of file BmnPidQa.cxx.
References fGlobalTrackMatches, fGlobalTracks, fMCTracks, fTof400Hits, and fTof700Hits.
Referenced by Init().
|
private |
|
inline |
Definition at line 73 of file BmnPidQa.h.
References fPrimes.
Referenced by bmn_pid_generator().
|
inline |
Definition at line 64 of file BmnPidQa.h.
References fOutputDir.
Definition at line 66 of file BmnPidQa.h.
References fPRangeBins, fPRangeMax, fPRangeMin, max(), and min().
|
private |
Definition at line 142 of file BmnPidQa.h.
Referenced by BmnPidQa(), and GetParticleExtend().
|
private |
Definition at line 124 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 123 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 122 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 163 of file BmnPidQa.h.
Referenced by ProcessGlobal(), and ReadDataBranches().
|
private |
Definition at line 162 of file BmnPidQa.h.
Referenced by BmnPidQa(), ProcessGlobal(), and ReadDataBranches().
|
private |
Definition at line 113 of file BmnPidQa.h.
Referenced by BmnPidQa(), ~BmnPidQa(), CreateH1(), CreateH2(), Finish(), Init(), and ProcessGlobal().
|
private |
Definition at line 136 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 135 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 134 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 146 of file BmnPidQa.h.
Referenced by BmnPidQa(), CreateHistograms(), Finish(), GetParticleName(), MassTablePrint(), and ProcessGlobal().
|
private |
Definition at line 161 of file BmnPidQa.h.
Referenced by BmnPidQa(), ProcessGlobal(), and ReadDataBranches().
|
private |
Definition at line 140 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 139 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 138 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 110 of file BmnPidQa.h.
Referenced by BmnPidQa(), and Finish().
|
private |
Definition at line 114 of file BmnPidQa.h.
Referenced by BmnPidQa(), Finish(), and SetOutputDir().
|
private |
Definition at line 144 of file BmnPidQa.h.
Referenced by BmnPidQa(), and GetParticleExtend().
|
private |
Definition at line 156 of file BmnPidQa.h.
Referenced by BmnPidQa(), PidStatisticsPrint400(), and ProcessGlobal().
|
private |
Definition at line 156 of file BmnPidQa.h.
Referenced by BmnPidQa(), PidStatisticsPrint700(), and ProcessGlobal().
|
private |
Definition at line 120 of file BmnPidQa.h.
Referenced by BmnPidQa(), CreateHistograms(), and SetPRange().
|
private |
Definition at line 119 of file BmnPidQa.h.
Referenced by BmnPidQa(), CreateHistograms(), and SetPRange().
|
private |
Definition at line 118 of file BmnPidQa.h.
Referenced by BmnPidQa(), CreateHistograms(), and SetPRange().
|
private |
Definition at line 116 of file BmnPidQa.h.
Referenced by BmnPidQa(), Finish(), GetOnlyPrimes(), and SetOnlyPrimes().
|
private |
Definition at line 111 of file BmnPidQa.h.
Referenced by BmnPidQa(), and Finish().
|
private |
Definition at line 132 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 131 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 130 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 164 of file BmnPidQa.h.
Referenced by ProcessGlobal(), and ReadDataBranches().
|
private |
Definition at line 165 of file BmnPidQa.h.
Referenced by ProcessGlobal(), and ReadDataBranches().
|
private |
Definition at line 128 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 127 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().
|
private |
Definition at line 126 of file BmnPidQa.h.
Referenced by BmnPidQa(), and CreateHistograms().