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

#include <PairAnalysis.h>

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

Public Types

enum class  EPairType {
  kSEPP = 0 , kSEPM , kSEMM , kMEPP ,
  kMEMP , kMEPM , kMEMM , kSEPMRot ,
  kPairTypes
}
 
enum class  ELegType { kSEP , kSEM , kLegTypes }
 
enum class  ECutType { kBothLegs = 0 , kAnyLeg , kOneLeg }
 

Public Member Functions

 PairAnalysis ()
 pair prefilter leg cut logic
 
 PairAnalysis (const char *name, const char *title)
 
virtual ~PairAnalysis ()
 
void Init ()
 
void Process (TObjArray *arr)
 
Bool_t Process (PairAnalysisEvent *ev1)
 
const AnalysisFilterGetEventFilter () const
 
const AnalysisFilterGetTrackFilter () const
 
const AnalysisFilterGetPairFilter () const
 
const AnalysisFilterGetTrackFilterMC () const
 
const AnalysisFilterGetPairFilterMC () const
 
AnalysisFilterGetEventFilter ()
 
AnalysisFilterGetTrackFilter ()
 
AnalysisFilterGetPairFilter ()
 
AnalysisFilterGetPairPreFilterLegs ()
 
AnalysisFilterGetPairPreFilter ()
 
AnalysisFilterGetFinalTrackFilter ()
 
AnalysisFilterGetTrackFilterMC ()
 
AnalysisFilterGetPairFilterMC ()
 
void SetPairPreFilterLegCutType (ECutType type)
 
void SetCutQA (Bool_t qa=kTRUE)
 
void SetNoPairing (Bool_t noPairing=kTRUE)
 
Bool_t IsNoPairing ()
 
void SetProcessLS (Bool_t doLS=kTRUE)
 
Bool_t DoProcessLS ()
 
void SetUseKF (Bool_t useKF=kTRUE)
 
const TObjArray * GetTrackArray (Int_t i) const
 
const TObjArray * GetPairArray (Int_t i) const
 
TObjArray ** GetPairArraysPointer ()
 
void SetPairArraysPointer (TObjArray *arr)
 
void SetHistogramArray (PairAnalysisHF *const histoarray)
 
const TObjArray * GetHistogramArray () const
 
const THashList * GetQAHistList () const
 
void SetHistogramManager (PairAnalysisHistos *const histos)
 
PairAnalysisHistos * GetHistoManager () const
 
const THashList * GetHistogramList () const
 
THashList * GetCutStepHistogramList () const
 
Bool_t HasCandidates () const
 
Bool_t HasCandidatesTR () const
 
Bool_t HasCandidatesLikeSign () const
 
void SetPreFilterUnlikeOnly (Bool_t setValue=kTRUE)
 
void SetPreFilterAllSigns (Bool_t setValue=kTRUE)
 
void SetTrackRotator (PairAnalysisTrackRotator *const rot)
 
PairAnalysisTrackRotatorGetTrackRotator () const
 
void SetStoreRotatedPairs (Bool_t storeTR)
 
void SetMixingHandler (PairAnalysisMixingHandler *mix)
 
PairAnalysisMixingHandlerGetMixingHandler () const
 
void SetDontClearArrays (Bool_t dontClearArrays=kTRUE)
 
Bool_t DontClearArrays () const
 
void SetHasMC (Bool_t hasMC)
 
void AddSignalMC (PairAnalysisSignalMC *signal)
 
void SetMotherPdg (Int_t pdgMother)
 
void SetLegPdg (Int_t pdgLeg1, Int_t pdgLeg2)
 
void SetRefitWithMassAssump (Bool_t setValue=kTRUE)
 
const TObjArray * GetMCSignals () const
 
Bool_t GetHasMC () const
 
Int_t GetMotherPdg () const
 
Int_t GetLeg1Pdg () const
 
Int_t GetLeg2Pdg () const
 
Bool_t DoEventProcess () const
 
void SetEventProcess (Bool_t setValue=kTRUE)
 
void FillHistogramsFromPairArray (Bool_t pairInfoOnly=kFALSE)
 

Static Public Member Functions

static const char * TrackClassName (Int_t i)
 
static const char * PairClassName (Int_t i)
 

Static Public Attributes

static constexpr Int_t fNTypes = static_cast<Int_t>(EPairType::kPairTypes)
 
static constexpr Int_t fLegTypes = static_cast<Int_t>(ELegType::kLegTypes)
 

Private Member Functions

void FillTrackArrays (PairAnalysisEvent *const ev)
 
void PairPreFilter (Int_t arr1, Int_t arr2, TObjArray &arrTracks1, TObjArray &arrTracks2)
 
void FilterTrackArrays (TObjArray &arrTracks1, TObjArray &arrTracks2)
 
void FillPairArrays (Int_t arr1, Int_t arr2)
 
void FillPairArrayTR ()
 
Int_t GetPairIndex (Int_t arr1, Int_t arr2) const
 
void InitPairCandidateArrays ()
 
void ClearArrays ()
 
TObjArray * PairArray (Int_t i)
 
void ProcessMC ()
 
void FillHistograms (const PairAnalysisEvent *ev, Bool_t pairInfoOnly=kFALSE)
 
Bool_t FillMCHistograms (Int_t label1, Int_t label2, Int_t nSignal)
 
void FillHistogramsMC (const PairAnalysisEvent *ev, PairAnalysisEvent *ev1)
 
void FillHistogramsPair (PairAnalysisPair *pair, Bool_t fromPreFilter=kFALSE)
 
void FillHistogramsTracks (TObjArray **tracks)
 
void FillHistogramsHits (const PairAnalysisEvent *ev, TBits *fillMC, PairAnalysisTrack *track, Bool_t trackIsLeg, Double_t *values)
 
void FillCutStepHistograms (AnalysisFilter *filter, UInt_t cutmask, PairAnalysisTrack *trk, const Double_t *values)
 
void FillCutStepHistogramsMC (AnalysisFilter *filter, UInt_t cutmask, Int_t label, const Double_t *values)
 
 PairAnalysis (const PairAnalysis &c)
 
PairAnalysisoperator= (const PairAnalysis &c)
 
 ClassDef (PairAnalysis, 2)
 

Private Attributes

Bool_t fCutQA = kFALSE
 
PairAnalysisCutQafQAmonitor = NULL
 
AnalysisFilter fEventFilter
 
AnalysisFilter fTrackFilter
 
AnalysisFilter fPairPreFilterLegs
 
AnalysisFilter fPairPreFilter
 
AnalysisFilter fFinalTrackFilter
 
AnalysisFilter fPairFilter
 
AnalysisFilter fTrackFilterMC
 
AnalysisFilter fPairFilterMC
 
Int_t fPdgMother = 443
 
Int_t fPdgLeg1 = 11
 
Int_t fPdgLeg2 = 11
 
Bool_t fRefitMassAssump = kFALSE
 
TObjArray * fSignalsMC = NULL
 
ECutType fCutType = ECutType::kBothLegs
 
Bool_t fNoPairing = kFALSE
 
Bool_t fProcessLS = kTRUE
 
Bool_t fUseKF = kFALSE
 
THashList * fCutStepHistos = NULL
 
PairAnalysisHFfHistoArray = NULL
 
PairAnalysisHistos * fHistos = NULL
 
TBits * fUsedVars
 
TObjArray fTracks [4]
 
TObjArray * fPairCandidates
 Selected track candidates.
 
PairAnalysisTrackRotatorfTrackRotator = NULL
 Pair candidate arrays.
 
PairAnalysisMixingHandlerfMixing = NULL
 
Bool_t fPreFilterUnlikeOnly = kFALSE
 
Bool_t fPreFilterAllSigns = kFALSE
 
Bool_t fHasMC = kFALSE
 
Bool_t fStoreRotatedPairs = kFALSE
 
Bool_t fDontClearArrays
 
Bool_t fEventProcess = kTRUE
 

Static Private Attributes

static const char * fgkTrackClassNames [2]
 
static const char * fgkPairClassNames [8] = {"SE++", "SE+-", "SE--", "ME++", "ME-+", "ME+-", "ME--", "TR+-"}
 

Friends

class PairAnalysisMixingHandler
 

Detailed Description

Definition at line 26 of file PairAnalysis.h.

Member Enumeration Documentation

◆ ECutType

enum class PairAnalysis::ECutType
strong
Enumerator
kBothLegs 
kAnyLeg 
kOneLeg 

Definition at line 50 of file PairAnalysis.h.

◆ ELegType

enum class PairAnalysis::ELegType
strong
Enumerator
kSEP 
kSEM 
kLegTypes 

Definition at line 43 of file PairAnalysis.h.

◆ EPairType

enum class PairAnalysis::EPairType
strong
Enumerator
kSEPP 
kSEPM 
kSEMM 
kMEPP 
kMEMP 
kMEPM 
kMEMM 
kSEPMRot 
kPairTypes 

Definition at line 30 of file PairAnalysis.h.

Constructor & Destructor Documentation

◆ PairAnalysis() [1/3]

PairAnalysis::PairAnalysis ( )

pair prefilter leg cut logic

Definition at line 97 of file PairAnalysis.cxx.

◆ PairAnalysis() [2/3]

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

Definition at line 105 of file PairAnalysis.cxx.

◆ ~PairAnalysis()

PairAnalysis::~PairAnalysis ( )
virtual

◆ PairAnalysis() [3/3]

PairAnalysis::PairAnalysis ( const PairAnalysis & c)
private

Member Function Documentation

◆ AddSignalMC()

void PairAnalysis::AddSignalMC ( PairAnalysisSignalMC * signal)

Definition at line 1409 of file PairAnalysis.cxx.

References fSignalsMC, and PairAnalysisSignalMC::IsSingleParticle().

◆ ClassDef()

PairAnalysis::ClassDef ( PairAnalysis ,
2  )
private

◆ ClearArrays()

void PairAnalysis::ClearArrays ( )
inlineprivate

Definition at line 283 of file PairAnalysis.h.

References fTracks, and PairArray().

Referenced by Process().

◆ DoEventProcess()

Bool_t PairAnalysis::DoEventProcess ( ) const
inline

◆ DontClearArrays()

Bool_t PairAnalysis::DontClearArrays ( ) const
inline

Definition at line 133 of file PairAnalysis.h.

References fDontClearArrays.

Referenced by AnalysisTaskMultiPairAnalysis::Exec().

◆ DoProcessLS()

Bool_t PairAnalysis::DoProcessLS ( )
inline

Definition at line 88 of file PairAnalysis.h.

References fProcessLS.

◆ FillCutStepHistograms()

void PairAnalysis::FillCutStepHistograms ( AnalysisFilter * filter,
UInt_t cutmask,
PairAnalysisTrack * trk,
const Double_t * values )
private

mc instance

hist classes

loop over mc signals

store mc signal weights in track - ATTENTION later signals should be more specific

reset iterator

loop over cuts

UInt_t cutMask=1<<iCut; // for each cut

passed cut

find histogram list of current track

fill track histos only once

fill mc

end passed cut

end cuts

end mc signals

Definition at line 1611 of file PairAnalysis.cxx.

References fgkPairClassNames, fgkTrackClassNames, fHasMC, fLegTypes, fSignalsMC, AnalysisFilter::GetCuts(), AnalysisFilter::GetHistogramList(), PairAnalysisMC::Instance(), and PairAnalysisMC::IsMCTruth().

Referenced by FillTrackArrays(), and FilterTrackArrays().

◆ FillCutStepHistogramsMC()

void PairAnalysis::FillCutStepHistogramsMC ( AnalysisFilter * filter,
UInt_t cutmask,
Int_t label,
const Double_t * values )
private

mc instance

hist classes

loop over mc signals

store mc signal weights in track - ATTENTION later signals should be more specific

reset iterator

loop over cuts

UInt_t cutMask=1<<iCut; // for each cut

passed cut

find histogram list of current track

fill mc truth

end passed cut

end cuts

end mc signals

Definition at line 1679 of file PairAnalysis.cxx.

References fgkPairClassNames, fHasMC, fSignalsMC, AnalysisFilter::GetCuts(), PairAnalysisSignalMC::GetFillPureMCStep(), AnalysisFilter::GetHistogramList(), PairAnalysisMC::Instance(), and PairAnalysisMC::IsMCTruth().

Referenced by ProcessMC().

◆ FillHistograms()

◆ FillHistogramsFromPairArray()

◆ FillHistogramsHits()

◆ FillHistogramsMC()

void PairAnalysis::FillHistogramsMC ( const PairAnalysisEvent * ev,
PairAnalysisEvent * ev1 )
private

Definition at line 568 of file PairAnalysis.cxx.

◆ FillHistogramsPair()

void PairAnalysis::FillHistogramsPair ( PairAnalysisPair * pair,
Bool_t fromPreFilter = kFALSE )
private

◆ FillHistogramsTracks()

void PairAnalysis::FillHistogramsTracks ( TObjArray ** tracks)
private

◆ FillMCHistograms()

◆ FillPairArrays()

void PairAnalysis::FillPairArrays ( Int_t arr1,
Int_t arr2 )
private

◆ FillPairArrayTR()

◆ FillTrackArrays()

◆ FilterTrackArrays()

void PairAnalysis::FilterTrackArrays ( TObjArray & arrTracks1,
TObjArray & arrTracks2 )
private

◆ GetCutStepHistogramList()

THashList * PairAnalysis::GetCutStepHistogramList ( ) const
inline

Definition at line 109 of file PairAnalysis.h.

References fCutStepHistos.

Referenced by AnalysisTaskMultiPairAnalysis::Init().

◆ GetEventFilter() [1/2]

AnalysisFilter & PairAnalysis::GetEventFilter ( )
inline

Definition at line 73 of file PairAnalysis.h.

References fEventFilter.

◆ GetEventFilter() [2/2]

const AnalysisFilter & PairAnalysis::GetEventFilter ( ) const
inline

Definition at line 66 of file PairAnalysis.h.

References fEventFilter.

◆ GetFinalTrackFilter()

AnalysisFilter & PairAnalysis::GetFinalTrackFilter ( )
inline

Definition at line 78 of file PairAnalysis.h.

References fFinalTrackFilter.

◆ GetHasMC()

Bool_t PairAnalysis::GetHasMC ( ) const
inline

Definition at line 146 of file PairAnalysis.h.

References fHasMC.

◆ GetHistogramArray()

const TObjArray * PairAnalysis::GetHistogramArray ( ) const
inline

Definition at line 102 of file PairAnalysis.h.

References fHistoArray, and PairAnalysisHF::GetHistArray().

Referenced by AnalysisTaskMultiPairAnalysis::Init().

◆ GetHistogramList()

const THashList * PairAnalysis::GetHistogramList ( ) const
inline

Definition at line 107 of file PairAnalysis.h.

References fHistos.

Referenced by AnalysisTaskMultiPairAnalysis::Init().

◆ GetHistoManager()

PairAnalysisHistos * PairAnalysis::GetHistoManager ( ) const
inline

Definition at line 106 of file PairAnalysis.h.

References fHistos.

Referenced by AnalysisTaskMultiPairAnalysis::Exec().

◆ GetLeg1Pdg()

Int_t PairAnalysis::GetLeg1Pdg ( ) const
inline

Definition at line 148 of file PairAnalysis.h.

References fPdgLeg1.

◆ GetLeg2Pdg()

Int_t PairAnalysis::GetLeg2Pdg ( ) const
inline

Definition at line 149 of file PairAnalysis.h.

References fPdgLeg2.

◆ GetMCSignals()

const TObjArray * PairAnalysis::GetMCSignals ( ) const
inline

Definition at line 145 of file PairAnalysis.h.

References fSignalsMC.

◆ GetMixingHandler()

PairAnalysisMixingHandler * PairAnalysis::GetMixingHandler ( ) const
inline

Definition at line 130 of file PairAnalysis.h.

References fMixing.

◆ GetMotherPdg()

Int_t PairAnalysis::GetMotherPdg ( ) const
inline

Definition at line 147 of file PairAnalysis.h.

References fPdgMother.

◆ GetPairArray()

const TObjArray * PairAnalysis::GetPairArray ( Int_t i) const
inline

Definition at line 92 of file PairAnalysis.h.

Referenced by HasCandidates(), HasCandidatesLikeSign(), and HasCandidatesTR().

◆ GetPairArraysPointer()

TObjArray ** PairAnalysis::GetPairArraysPointer ( )
inline

Definition at line 97 of file PairAnalysis.h.

References fPairCandidates.

Referenced by AnalysisTaskMultiPairAnalysis::Exec().

◆ GetPairFilter() [1/2]

AnalysisFilter & PairAnalysis::GetPairFilter ( )
inline

Definition at line 75 of file PairAnalysis.h.

References fPairFilter.

◆ GetPairFilter() [2/2]

const AnalysisFilter & PairAnalysis::GetPairFilter ( ) const
inline

Definition at line 68 of file PairAnalysis.h.

References fPairFilter.

◆ GetPairFilterMC() [1/2]

AnalysisFilter & PairAnalysis::GetPairFilterMC ( )
inline

Definition at line 81 of file PairAnalysis.h.

References fPairFilterMC.

◆ GetPairFilterMC() [2/2]

const AnalysisFilter & PairAnalysis::GetPairFilterMC ( ) const
inline

Definition at line 71 of file PairAnalysis.h.

References fPairFilterMC.

◆ GetPairIndex()

Int_t PairAnalysis::GetPairIndex ( Int_t arr1,
Int_t arr2 ) const
inlineprivate

Definition at line 245 of file PairAnalysis.h.

References kMEMM, kMEMP, kMEPM, kMEPP, kSEMM, kSEPM, kSEPMRot, and kSEPP.

Referenced by FillPairArrays(), PairPreFilter(), and Process().

◆ GetPairPreFilter()

AnalysisFilter & PairAnalysis::GetPairPreFilter ( )
inline

Definition at line 77 of file PairAnalysis.h.

References fPairPreFilter.

◆ GetPairPreFilterLegs()

AnalysisFilter & PairAnalysis::GetPairPreFilterLegs ( )
inline

Definition at line 76 of file PairAnalysis.h.

References fPairPreFilterLegs.

◆ GetQAHistList()

const THashList * PairAnalysis::GetQAHistList ( ) const
inline

Definition at line 103 of file PairAnalysis.h.

References fQAmonitor, and PairAnalysisCutQa::GetQAHistList().

Referenced by AnalysisTaskMultiPairAnalysis::Init().

◆ GetTrackArray()

const TObjArray * PairAnalysis::GetTrackArray ( Int_t i) const
inline

Definition at line 91 of file PairAnalysis.h.

References fTracks.

Referenced by PairAnalysisMixingHandler::Fill().

◆ GetTrackFilter() [1/2]

AnalysisFilter & PairAnalysis::GetTrackFilter ( )
inline

Definition at line 74 of file PairAnalysis.h.

References fTrackFilter.

◆ GetTrackFilter() [2/2]

const AnalysisFilter & PairAnalysis::GetTrackFilter ( ) const
inline

Definition at line 67 of file PairAnalysis.h.

References fTrackFilter.

◆ GetTrackFilterMC() [1/2]

AnalysisFilter & PairAnalysis::GetTrackFilterMC ( )
inline

Definition at line 80 of file PairAnalysis.h.

References fTrackFilterMC.

◆ GetTrackFilterMC() [2/2]

const AnalysisFilter & PairAnalysis::GetTrackFilterMC ( ) const
inline

Definition at line 70 of file PairAnalysis.h.

References fTrackFilterMC.

◆ GetTrackRotator()

PairAnalysisTrackRotator * PairAnalysis::GetTrackRotator ( ) const
inline

Definition at line 126 of file PairAnalysis.h.

References fTrackRotator.

◆ HasCandidates()

Bool_t PairAnalysis::HasCandidates ( ) const
inline

Definition at line 111 of file PairAnalysis.h.

References GetPairArray().

◆ HasCandidatesLikeSign()

Bool_t PairAnalysis::HasCandidatesLikeSign ( ) const
inline

Definition at line 113 of file PairAnalysis.h.

References GetPairArray().

◆ HasCandidatesTR()

Bool_t PairAnalysis::HasCandidatesTR ( ) const
inline

Definition at line 112 of file PairAnalysis.h.

References GetPairArray().

◆ Init()

◆ InitPairCandidateArrays()

void PairAnalysis::InitPairCandidateArrays ( )
inlineprivate

Definition at line 261 of file PairAnalysis.h.

References fgkPairClassNames, and fPairCandidates.

Referenced by Init(), and Process().

◆ IsNoPairing()

Bool_t PairAnalysis::IsNoPairing ( )
inline

Definition at line 86 of file PairAnalysis.h.

References fNoPairing.

◆ operator=()

PairAnalysis & PairAnalysis::operator= ( const PairAnalysis & c)
private

◆ PairArray()

TObjArray * PairAnalysis::PairArray ( Int_t i)
inlineprivate

◆ PairClassName()

static const char * PairAnalysis::PairClassName ( Int_t i)
inlinestatic

Definition at line 152 of file PairAnalysis.h.

References fgkPairClassNames.

Referenced by PairAnalysisSignalExt::FindObject().

◆ PairPreFilter()

void PairAnalysis::PairPreFilter ( Int_t arr1,
Int_t arr2,
TObjArray & arrTracks1,
TObjArray & arrTracks2 )
private

first test particle

second test particle

pairprefilter leg cuts TODO: cut logic exceptions for test particles mask used to require that all cuts are fulfilled

flag arrays for track removal

pair prefilter leg cuts

pair prefilter leg cuts

create the pair

check if test particles are used

pre filter pair cuts

fill cut QA TODO: cheeeck for test particle

apply cut

check for test particles

fill histos

set flags for track removal

Definition at line 966 of file PairAnalysis.cxx.

References fCutQA, fCutType, fHistos, PairAnalysisCutQa::Fill(), PairAnalysisCutQa::FillAll(), FillHistogramsPair(), fPairPreFilter, fPairPreFilterLegs, fPdgLeg1, fPdgLeg2, fPdgMother, fPreFilterAllSigns, fQAmonitor, fTracks, fUseKF, AnalysisFilter::GetCuts(), PairAnalysisTrack::GetMomentum(), GetPairIndex(), PairAnalysisMC::Instance(), AnalysisFilter::IsSelected(), kAnyLeg, kBothLegs, kOneLeg, PairAnalysisVarManager::kRndmRej, PairAnalysisPair::SetKFUsage(), PairAnalysisPair::SetLabel(), PairAnalysisTrack::SetPdgCode(), PairAnalysisPair::SetTracks(), PairAnalysisPair::SetType(), and PairAnalysisVarManager::SetValue().

Referenced by Process().

◆ Process() [1/2]

◆ Process() [2/2]

void PairAnalysis::Process ( TObjArray * arr)

NOTE: never clear arrays !!!!

Definition at line 206 of file PairAnalysis.cxx.

References fHistos, FillHistograms(), and fPairCandidates.

Referenced by AnalysisTaskMultiPairAnalysis::Exec().

◆ ProcessMC()

void PairAnalysis::ProcessMC ( )
private

fill detailed cut histograms

NOTE: single particle signals staisfy only the first branch, truth2=kFALSE in this case

do the pairing and fill the output with pure MC info selection of MCtruth pairs NOTE: for MCtruth LV useage should be okay, no need to calculate KF particles

loop over second branch NOTE: start from index i1 not 0, to avoid large combinatorics this is valid because particles with same mother follow each other, in other words they are not distributed over the stack, but the stack is sorted

check and get same mother MCtrack

TODO: do we really want to look at combinatorics at the genrator level? this might saves a lot of cpu time and combinatorics on MCtruth level is useless NOTE: at the moment this is avoided by the 'break' after FillMCHistograms below continue;

check and get same mother MCtrack

NOTE: at the moment this is avoided by the 'break' after FillMCHistograms (see above NOTE)

Definition at line 319 of file PairAnalysis.cxx.

References fCutQA, fgkPairClassNames, fHistoArray, fHistos, PairAnalysisCutQa::Fill(), PairAnalysisHF::Fill(), PairAnalysisVarManager::Fill(), PairAnalysisCutQa::FillAll(), FillCutStepHistogramsMC(), FillMCHistograms(), fPairFilterMC, fQAmonitor, fSignalsMC, fTrackFilterMC, AnalysisFilter::GetCuts(), PairAnalysisVarManager::GetData(), PairAnalysisSignalMC::GetFillPureMCStep(), AnalysisFilter::GetHistogramList(), PairAnalysisMC::GetMCTrackFromMCEvent(), CbmMCTrack::GetMotherId(), PairAnalysisMC::GetNMCTracks(), PairAnalysisMC::Instance(), PairAnalysisMC::IsMCTruth(), and AnalysisFilter::IsSelected().

Referenced by Process().

◆ SetCutQA()

void PairAnalysis::SetCutQA ( Bool_t qa = kTRUE)
inline

Definition at line 84 of file PairAnalysis.h.

References fCutQA.

◆ SetDontClearArrays()

void PairAnalysis::SetDontClearArrays ( Bool_t dontClearArrays = kTRUE)
inline

Definition at line 132 of file PairAnalysis.h.

References fDontClearArrays.

◆ SetEventProcess()

void PairAnalysis::SetEventProcess ( Bool_t setValue = kTRUE)
inline

Definition at line 155 of file PairAnalysis.h.

References fEventProcess.

◆ SetHasMC()

void PairAnalysis::SetHasMC ( Bool_t hasMC)
inline

Definition at line 136 of file PairAnalysis.h.

References fHasMC.

◆ SetHistogramArray()

void PairAnalysis::SetHistogramArray ( PairAnalysisHF *const histoarray)
inline

Definition at line 101 of file PairAnalysis.h.

References fHistoArray.

◆ SetHistogramManager()

void PairAnalysis::SetHistogramManager ( PairAnalysisHistos *const histos)
inline

Definition at line 105 of file PairAnalysis.h.

References fHistos.

◆ SetLegPdg()

void PairAnalysis::SetLegPdg ( Int_t pdgLeg1,
Int_t pdgLeg2 )
inline

Definition at line 139 of file PairAnalysis.h.

References fPdgLeg1, and fPdgLeg2.

◆ SetMixingHandler()

void PairAnalysis::SetMixingHandler ( PairAnalysisMixingHandler * mix)
inline

Definition at line 129 of file PairAnalysis.h.

References fMixing.

◆ SetMotherPdg()

void PairAnalysis::SetMotherPdg ( Int_t pdgMother)
inline

Definition at line 138 of file PairAnalysis.h.

References fPdgMother.

◆ SetNoPairing()

void PairAnalysis::SetNoPairing ( Bool_t noPairing = kTRUE)
inline

Definition at line 85 of file PairAnalysis.h.

References fNoPairing.

◆ SetPairArraysPointer()

void PairAnalysis::SetPairArraysPointer ( TObjArray * arr)
inline

Definition at line 98 of file PairAnalysis.h.

References fPairCandidates.

◆ SetPairPreFilterLegCutType()

void PairAnalysis::SetPairPreFilterLegCutType ( ECutType type)
inline

Definition at line 83 of file PairAnalysis.h.

References fCutType.

◆ SetPreFilterAllSigns()

void PairAnalysis::SetPreFilterAllSigns ( Bool_t setValue = kTRUE)
inline

Definition at line 122 of file PairAnalysis.h.

References fPreFilterAllSigns.

◆ SetPreFilterUnlikeOnly()

void PairAnalysis::SetPreFilterUnlikeOnly ( Bool_t setValue = kTRUE)
inline

Definition at line 121 of file PairAnalysis.h.

References fPreFilterUnlikeOnly.

◆ SetProcessLS()

void PairAnalysis::SetProcessLS ( Bool_t doLS = kTRUE)
inline

Definition at line 87 of file PairAnalysis.h.

References fProcessLS.

◆ SetRefitWithMassAssump()

void PairAnalysis::SetRefitWithMassAssump ( Bool_t setValue = kTRUE)
inline

Definition at line 144 of file PairAnalysis.h.

References fRefitMassAssump.

◆ SetStoreRotatedPairs()

void PairAnalysis::SetStoreRotatedPairs ( Bool_t storeTR)
inline

Definition at line 127 of file PairAnalysis.h.

References fStoreRotatedPairs.

◆ SetTrackRotator()

void PairAnalysis::SetTrackRotator ( PairAnalysisTrackRotator *const rot)
inline

Definition at line 125 of file PairAnalysis.h.

References fTrackRotator.

◆ SetUseKF()

void PairAnalysis::SetUseKF ( Bool_t useKF = kTRUE)
inline

Definition at line 89 of file PairAnalysis.h.

References fUseKF.

◆ TrackClassName()

static const char * PairAnalysis::TrackClassName ( Int_t i)
inlinestatic

Definition at line 151 of file PairAnalysis.h.

References fgkTrackClassNames.

Friends And Related Symbol Documentation

◆ PairAnalysisMixingHandler

friend class PairAnalysisMixingHandler
friend

Definition at line 28 of file PairAnalysis.h.

Member Data Documentation

◆ fCutQA

Bool_t PairAnalysis::fCutQA = kFALSE
private

◆ fCutStepHistos

THashList* PairAnalysis::fCutStepHistos = NULL
private

Definition at line 184 of file PairAnalysis.h.

Referenced by GetCutStepHistogramList(), Init(), and ~PairAnalysis().

◆ fCutType

ECutType PairAnalysis::fCutType = ECutType::kBothLegs
private

Definition at line 179 of file PairAnalysis.h.

Referenced by PairPreFilter(), and SetPairPreFilterLegCutType().

◆ fDontClearArrays

Bool_t PairAnalysis::fDontClearArrays
private
Initial value:
=
kFALSE

Definition at line 207 of file PairAnalysis.h.

Referenced by DontClearArrays(), Process(), and SetDontClearArrays().

◆ fEventFilter

AnalysisFilter PairAnalysis::fEventFilter
private

Definition at line 162 of file PairAnalysis.h.

Referenced by GetEventFilter(), GetEventFilter(), Init(), and Process().

◆ fEventProcess

Bool_t PairAnalysis::fEventProcess = kTRUE
private

Definition at line 209 of file PairAnalysis.h.

Referenced by DoEventProcess(), FillHistograms(), Init(), SetEventProcess(), and ~PairAnalysis().

◆ fFinalTrackFilter

AnalysisFilter PairAnalysis::fFinalTrackFilter
private

Definition at line 166 of file PairAnalysis.h.

Referenced by FilterTrackArrays(), GetFinalTrackFilter(), and Init().

◆ fgkPairClassNames

const char * PairAnalysis::fgkPairClassNames = {"SE++", "SE+-", "SE--", "ME++", "ME-+", "ME+-", "ME--", "TR+-"}
staticprivate

◆ fgkTrackClassNames

const char* PairAnalysis::fgkTrackClassNames[2]
staticprivate

◆ fHasMC

Bool_t PairAnalysis::fHasMC = kFALSE
private

◆ fHistoArray

◆ fHistos

◆ fLegTypes

Int_t PairAnalysis::fLegTypes = static_cast<Int_t>(ELegType::kLegTypes)
staticconstexpr

Definition at line 49 of file PairAnalysis.h.

Referenced by FillCutStepHistograms(), and FillHistograms().

◆ fMixing

PairAnalysisMixingHandler* PairAnalysis::fMixing = NULL
private

Definition at line 201 of file PairAnalysis.h.

Referenced by GetMixingHandler(), Init(), Process(), SetMixingHandler(), and ~PairAnalysis().

◆ fNoPairing

Bool_t PairAnalysis::fNoPairing = kFALSE
private

Definition at line 180 of file PairAnalysis.h.

Referenced by Init(), IsNoPairing(), Process(), and SetNoPairing().

◆ fNTypes

Int_t PairAnalysis::fNTypes = static_cast<Int_t>(EPairType::kPairTypes)
staticconstexpr

Definition at line 42 of file PairAnalysis.h.

Referenced by FillHistograms(), and FillHistogramsFromPairArray().

◆ fPairCandidates

TObjArray* PairAnalysis::fPairCandidates
private

Selected track candidates.

Definition at line 197 of file PairAnalysis.h.

Referenced by GetPairArraysPointer(), InitPairCandidateArrays(), PairArray(), Process(), Process(), SetPairArraysPointer(), and ~PairAnalysis().

◆ fPairFilter

AnalysisFilter PairAnalysis::fPairFilter
private

◆ fPairFilterMC

AnalysisFilter PairAnalysis::fPairFilterMC
private

Definition at line 170 of file PairAnalysis.h.

Referenced by GetPairFilterMC(), GetPairFilterMC(), and ProcessMC().

◆ fPairPreFilter

AnalysisFilter PairAnalysis::fPairPreFilter
private

Definition at line 165 of file PairAnalysis.h.

Referenced by GetPairPreFilter(), Init(), PairPreFilter(), and Process().

◆ fPairPreFilterLegs

AnalysisFilter PairAnalysis::fPairPreFilterLegs
private

Definition at line 164 of file PairAnalysis.h.

Referenced by GetPairPreFilterLegs(), and PairPreFilter().

◆ fPdgLeg1

Int_t PairAnalysis::fPdgLeg1 = 11
private

◆ fPdgLeg2

Int_t PairAnalysis::fPdgLeg2 = 11
private

◆ fPdgMother

Int_t PairAnalysis::fPdgMother = 443
private

Definition at line 172 of file PairAnalysis.h.

Referenced by FillPairArrays(), GetMotherPdg(), PairPreFilter(), Process(), and SetMotherPdg().

◆ fPreFilterAllSigns

Bool_t PairAnalysis::fPreFilterAllSigns = kFALSE
private

Definition at line 204 of file PairAnalysis.h.

Referenced by PairPreFilter(), Process(), and SetPreFilterAllSigns().

◆ fPreFilterUnlikeOnly

Bool_t PairAnalysis::fPreFilterUnlikeOnly = kFALSE
private

Definition at line 203 of file PairAnalysis.h.

Referenced by Process(), and SetPreFilterUnlikeOnly().

◆ fProcessLS

Bool_t PairAnalysis::fProcessLS = kTRUE
private

Definition at line 181 of file PairAnalysis.h.

Referenced by DoProcessLS(), Process(), and SetProcessLS().

◆ fQAmonitor

◆ fRefitMassAssump

Bool_t PairAnalysis::fRefitMassAssump = kFALSE
private

Definition at line 175 of file PairAnalysis.h.

Referenced by FillTrackArrays(), and SetRefitWithMassAssump().

◆ fSignalsMC

◆ fStoreRotatedPairs

Bool_t PairAnalysis::fStoreRotatedPairs = kFALSE
private

Definition at line 206 of file PairAnalysis.h.

Referenced by FillPairArrayTR(), and SetStoreRotatedPairs().

◆ fTrackFilter

AnalysisFilter PairAnalysis::fTrackFilter
private

Definition at line 163 of file PairAnalysis.h.

Referenced by FillTrackArrays(), GetTrackFilter(), GetTrackFilter(), and Init().

◆ fTrackFilterMC

AnalysisFilter PairAnalysis::fTrackFilterMC
private

Definition at line 169 of file PairAnalysis.h.

Referenced by GetTrackFilterMC(), GetTrackFilterMC(), Init(), and ProcessMC().

◆ fTrackRotator

PairAnalysisTrackRotator* PairAnalysis::fTrackRotator = NULL
private

Pair candidate arrays.

Definition at line 200 of file PairAnalysis.h.

Referenced by FillPairArrayTR(), GetTrackRotator(), Process(), and SetTrackRotator().

◆ fTracks

◆ fUsedVars

◆ fUseKF

Bool_t PairAnalysis::fUseKF = kFALSE
private

Definition at line 182 of file PairAnalysis.h.

Referenced by FillPairArrays(), FillPairArrayTR(), PairPreFilter(), and SetUseKF().


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