CbmRoot
|
#include <PairAnalysisCutQa.h>
Public Types | |
enum class | ETypes { kEvent = 0 , kTrack , kTrack2 , kTrackMC , kPair , kPrePair , kNtypes } |
Public Member Functions | |
PairAnalysisCutQa () | |
PairAnalysisCutQa (const char *name, const char *title) | |
virtual | ~PairAnalysisCutQa () |
void | Init () |
void | AddTrackFilterMC (AnalysisFilter *trkFilterMC) |
void | AddTrackFilter (AnalysisFilter *trkFilter) |
void | AddPrePairFilter (AnalysisFilter *pairFilter) |
void | AddTrackFilter2 (AnalysisFilter *trkFilter2) |
void | AddPairFilter (AnalysisFilter *pairFilter) |
void | AddEventFilter (AnalysisFilter *eventFilter) |
void | Fill (UInt_t mask, TObject *obj, UInt_t addIdx=0) |
void | FillAll (TObject *obj, UInt_t addIdx=0) |
const THashList * | GetQAHistList () const |
Private Member Functions | |
UInt_t | GetObjIndex (TObject *obj) |
PairAnalysisCutQa (const PairAnalysisCutQa &) | |
PairAnalysisCutQa & | operator= (const PairAnalysisCutQa &) |
Private Attributes | |
THashList | fQAHistList |
Int_t | fNCuts [fNtypes] |
const char * | fCutNames [20][fNtypes] |
const char * | fTypeKeys [fNtypes] |
Static Private Attributes | |
static constexpr Int_t | fNtypes = static_cast<Int_t>(ETypes::kNtypes) |
Definition at line 28 of file PairAnalysisCutQa.h.
|
strong |
Enumerator | |
---|---|
kEvent | |
kTrack | |
kTrack2 | |
kTrackMC | |
kPair | |
kPrePair | |
kNtypes |
Definition at line 31 of file PairAnalysisCutQa.h.
PairAnalysisCutQa::PairAnalysisCutQa | ( | ) |
PairAnalysisCutQa::PairAnalysisCutQa | ( | const char * | name, |
const char * | title ) |
|
virtual |
Definition at line 65 of file PairAnalysisCutQa.cxx.
References fQAHistList.
|
private |
void PairAnalysisCutQa::AddEventFilter | ( | AnalysisFilter * | eventFilter | ) |
Definition at line 312 of file PairAnalysisCutQa.cxx.
References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kEvent.
Referenced by PairAnalysis::Init().
void PairAnalysisCutQa::AddPairFilter | ( | AnalysisFilter * | pairFilter | ) |
Definition at line 268 of file PairAnalysisCutQa.cxx.
References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kPair.
Referenced by PairAnalysis::Init().
void PairAnalysisCutQa::AddPrePairFilter | ( | AnalysisFilter * | pairFilter | ) |
Definition at line 289 of file PairAnalysisCutQa.cxx.
References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kPrePair.
Referenced by PairAnalysis::Init().
void PairAnalysisCutQa::AddTrackFilter | ( | AnalysisFilter * | trkFilter | ) |
Definition at line 200 of file PairAnalysisCutQa.cxx.
References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kTrack.
Referenced by PairAnalysis::Init().
void PairAnalysisCutQa::AddTrackFilter2 | ( | AnalysisFilter * | trkFilter2 | ) |
Definition at line 245 of file PairAnalysisCutQa.cxx.
References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kTrack2.
Referenced by PairAnalysis::Init().
void PairAnalysisCutQa::AddTrackFilterMC | ( | AnalysisFilter * | trkFilterMC | ) |
Definition at line 222 of file PairAnalysisCutQa.cxx.
References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kTrackMC.
Referenced by PairAnalysis::Init().
void PairAnalysisCutQa::Fill | ( | UInt_t | mask, |
TObject * | obj, | ||
UInt_t | addIdx = 0 ) |
Definition at line 334 of file PairAnalysisCutQa.cxx.
References BIT, fNCuts, fQAHistList, fTypeKeys, PairAnalysisHelper::GetDetName(), GetObjIndex(), kEvent, kMuch, kMvd, kPair, kPrePair, kRich, kSts, kTof, kTrack, kTrack2, kTrackMC, kTrd, and ToIntegralType().
Referenced by PairAnalysis::FillHistogramsFromPairArray(), PairAnalysis::FillPairArrays(), PairAnalysis::FillTrackArrays(), PairAnalysis::FilterTrackArrays(), PairAnalysis::PairPreFilter(), PairAnalysis::Process(), and PairAnalysis::ProcessMC().
void PairAnalysisCutQa::FillAll | ( | TObject * | obj, |
UInt_t | addIdx = 0 ) |
Definition at line 417 of file PairAnalysisCutQa.cxx.
References BIT, fQAHistList, fTypeKeys, PairAnalysisHelper::GetDetName(), GetObjIndex(), kEvent, kMuch, kMvd, kPair, kPrePair, kRich, kSts, kTof, kTrack, kTrack2, kTrackMC, kTrd, and ToIntegralType().
Referenced by PairAnalysis::FillHistogramsFromPairArray(), PairAnalysis::FillPairArrays(), PairAnalysis::FillTrackArrays(), PairAnalysis::FilterTrackArrays(), PairAnalysis::PairPreFilter(), PairAnalysis::Process(), and PairAnalysis::ProcessMC().
|
private |
|
inline |
Definition at line 58 of file PairAnalysisCutQa.h.
References fQAHistList.
Referenced by PairAnalysis::GetQAHistList().
void PairAnalysisCutQa::Init | ( | ) |
Definition at line 74 of file PairAnalysisCutQa.cxx.
References fCutNames, fNCuts, fNtypes, fQAHistList, fTypeKeys, PairAnalysisHelper::GetDetName(), kEvent, kMuch, kMvd, kPair, kPrePair, kRich, kSts, kTof, kTrack, kTrack2, kTrackMC, kTrd, and PairAnalysisHelper::MakeLinBinning().
Referenced by PairAnalysis::Init().
|
private |
|
private |
Definition at line 65 of file PairAnalysisCutQa.h.
Referenced by AddEventFilter(), AddPairFilter(), AddPrePairFilter(), AddTrackFilter(), AddTrackFilter2(), AddTrackFilterMC(), Init(), and PairAnalysisCutQa().
|
private |
Definition at line 64 of file PairAnalysisCutQa.h.
Referenced by AddEventFilter(), AddPairFilter(), AddPrePairFilter(), AddTrackFilter(), AddTrackFilter2(), AddTrackFilterMC(), Fill(), Init(), and PairAnalysisCutQa().
|
staticconstexprprivate |
Definition at line 63 of file PairAnalysisCutQa.h.
Referenced by Init(), and PairAnalysisCutQa().
|
private |
Definition at line 62 of file PairAnalysisCutQa.h.
Referenced by Fill(), FillAll(), GetQAHistList(), Init(), PairAnalysisCutQa(), and ~PairAnalysisCutQa().
|
private |
Definition at line 66 of file PairAnalysisCutQa.h.
Referenced by Fill(), FillAll(), Init(), and PairAnalysisCutQa().