CbmRoot
Loading...
Searching...
No Matches
PairAnalysisCutQa Class Reference

#include <PairAnalysisCutQa.h>

Inheritance diagram for PairAnalysisCutQa:
[legend]
Collaboration diagram for PairAnalysisCutQa:
[legend]

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 &)
 
PairAnalysisCutQaoperator= (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)
 

Detailed Description

Definition at line 28 of file PairAnalysisCutQa.h.

Member Enumeration Documentation

◆ ETypes

enum class PairAnalysisCutQa::ETypes
strong
Enumerator
kEvent 
kTrack 
kTrack2 
kTrackMC 
kPair 
kPrePair 
kNtypes 

Definition at line 31 of file PairAnalysisCutQa.h.

Constructor & Destructor Documentation

◆ PairAnalysisCutQa() [1/3]

PairAnalysisCutQa::PairAnalysisCutQa ( )

◆ PairAnalysisCutQa() [2/3]

PairAnalysisCutQa::PairAnalysisCutQa ( const char * name,
const char * title )

◆ ~PairAnalysisCutQa()

PairAnalysisCutQa::~PairAnalysisCutQa ( )
virtual

Definition at line 65 of file PairAnalysisCutQa.cxx.

References fQAHistList.

◆ PairAnalysisCutQa() [3/3]

PairAnalysisCutQa::PairAnalysisCutQa ( const PairAnalysisCutQa & )
private

Member Function Documentation

◆ AddEventFilter()

void PairAnalysisCutQa::AddEventFilter ( AnalysisFilter * eventFilter)

Definition at line 312 of file PairAnalysisCutQa.cxx.

References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kEvent.

Referenced by PairAnalysis::Init().

◆ AddPairFilter()

void PairAnalysisCutQa::AddPairFilter ( AnalysisFilter * pairFilter)

Definition at line 268 of file PairAnalysisCutQa.cxx.

References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kPair.

Referenced by PairAnalysis::Init().

◆ AddPrePairFilter()

void PairAnalysisCutQa::AddPrePairFilter ( AnalysisFilter * pairFilter)

Definition at line 289 of file PairAnalysisCutQa.cxx.

References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kPrePair.

Referenced by PairAnalysis::Init().

◆ AddTrackFilter()

void PairAnalysisCutQa::AddTrackFilter ( AnalysisFilter * trkFilter)

Definition at line 200 of file PairAnalysisCutQa.cxx.

References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kTrack.

Referenced by PairAnalysis::Init().

◆ AddTrackFilter2()

void PairAnalysisCutQa::AddTrackFilter2 ( AnalysisFilter * trkFilter2)

Definition at line 245 of file PairAnalysisCutQa.cxx.

References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kTrack2.

Referenced by PairAnalysis::Init().

◆ AddTrackFilterMC()

void PairAnalysisCutQa::AddTrackFilterMC ( AnalysisFilter * trkFilterMC)

Definition at line 222 of file PairAnalysisCutQa.cxx.

References fCutNames, fNCuts, AnalysisFilter::GetCuts(), and kTrackMC.

Referenced by PairAnalysis::Init().

◆ Fill()

◆ FillAll()

◆ GetObjIndex()

UInt_t PairAnalysisCutQa::GetObjIndex ( TObject * obj)
private

Definition at line 489 of file PairAnalysisCutQa.cxx.

References kEvent, kPair, kTrack, and kTrackMC.

Referenced by Fill(), and FillAll().

◆ GetQAHistList()

const THashList * PairAnalysisCutQa::GetQAHistList ( ) const
inline

Definition at line 58 of file PairAnalysisCutQa.h.

References fQAHistList.

Referenced by PairAnalysis::GetQAHistList().

◆ Init()

◆ operator=()

PairAnalysisCutQa & PairAnalysisCutQa::operator= ( const PairAnalysisCutQa & )
private

Member Data Documentation

◆ fCutNames

const char* PairAnalysisCutQa::fCutNames[20][fNtypes]
private

◆ fNCuts

Int_t PairAnalysisCutQa::fNCuts[fNtypes]
private

◆ fNtypes

Int_t PairAnalysisCutQa::fNtypes = static_cast<Int_t>(ETypes::kNtypes)
staticconstexprprivate

Definition at line 63 of file PairAnalysisCutQa.h.

Referenced by Init(), and PairAnalysisCutQa().

◆ fQAHistList

THashList PairAnalysisCutQa::fQAHistList
private

◆ fTypeKeys

const char* PairAnalysisCutQa::fTypeKeys[fNtypes]
private

Definition at line 66 of file PairAnalysisCutQa.h.

Referenced by Fill(), FillAll(), Init(), and PairAnalysisCutQa().


The documentation for this class was generated from the following files: