CbmRoot
PairAnalysis Class Reference

#include <PairAnalysis.h>

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

Public Types

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

Public Member Functions

 PairAnalysis ()
 pair prefilter leg cut logic More...
 
 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 (CutType 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)
 

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
 
TObjArray * fSignalsMC = NULL
 
CutType fCutType = kBothLegs
 
Bool_t fNoPairing
 
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. More...
 
PairAnalysisTrackRotatorfTrackRotator = NULL
 Pair candidate arrays. More...
 
PairAnalysisMixingHandlerfMixing = NULL
 
Bool_t fPreFilterUnlikeOnly
 
Bool_t fPreFilterAllSigns
 
Bool_t fHasMC
 
Bool_t fStoreRotatedPairs
 
Bool_t fDontClearArrays
 
Bool_t fEventProcess = kTRUE
 

Static Private Attributes

static const char * fgkTrackClassNames [2]
 
static const char * fgkPairClassNames [8]
 

Friends

class PairAnalysisMixingHandler
 

Detailed Description

Definition at line 22 of file PairAnalysis.h.

Member Enumeration Documentation

◆ CutType

Enumerator
kBothLegs 
kAnyLeg 
kOneLeg 

Definition at line 38 of file PairAnalysis.h.

◆ ELegType

Enumerator
kSEP 
kSEM 
kLegTypes 

Definition at line 37 of file PairAnalysis.h.

◆ EPairType

Enumerator
kSEPP 
kSEPM 
kSEMM 
kMEPP 
kMEMP 
kMEPM 
kMEMM 
kSEPMRot 
kPairTypes 

Definition at line 26 of file PairAnalysis.h.

Constructor & Destructor Documentation

◆ PairAnalysis() [1/3]

PairAnalysis::PairAnalysis ( )

pair prefilter leg cut logic

Definition at line 101 of file PairAnalysis.cxx.

◆ PairAnalysis() [2/3]

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

Definition at line 108 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 1501 of file PairAnalysis.cxx.

References fSignalsMC, and PairAnalysisSignalMC::IsSingleParticle().

◆ ClassDef()

PairAnalysis::ClassDef ( PairAnalysis  ,
 
)
private

◆ ClearArrays()

void PairAnalysis::ClearArrays ( )
inlineprivate

Definition at line 319 of file PairAnalysis.h.

References fTracks, i, and PairArray().

Referenced by Process().

◆ DoEventProcess()

Bool_t PairAnalysis::DoEventProcess ( ) const
inline

◆ DontClearArrays()

Bool_t PairAnalysis::DontClearArrays ( ) const
inline

Definition at line 147 of file PairAnalysis.h.

References fDontClearArrays.

Referenced by AnalysisTaskMultiPairAnalysis::Exec().

◆ DoProcessLS()

Bool_t PairAnalysis::DoProcessLS ( )
inline

Definition at line 75 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 1717 of file PairAnalysis.cxx.

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

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 1790 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 591 of file PairAnalysis.cxx.

◆ FillHistogramsPair()

◆ 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 60 of file PairAnalysis.h.

References fEventFilter.

◆ GetEventFilter() [2/2]

const AnalysisFilter& PairAnalysis::GetEventFilter ( ) const
inline

Definition at line 53 of file PairAnalysis.h.

References fEventFilter.

◆ GetFinalTrackFilter()

AnalysisFilter& PairAnalysis::GetFinalTrackFilter ( )
inline

Definition at line 65 of file PairAnalysis.h.

References fFinalTrackFilter.

◆ GetHasMC()

Bool_t PairAnalysis::GetHasMC ( ) const
inline

Definition at line 161 of file PairAnalysis.h.

References fHasMC.

◆ GetHistogramArray()

const TObjArray* PairAnalysis::GetHistogramArray ( ) const
inline

Definition at line 94 of file PairAnalysis.h.

References fHistoArray, and PairAnalysisHF::GetHistArray().

Referenced by AnalysisTaskMultiPairAnalysis::Init().

◆ GetHistogramList()

const THashList* PairAnalysis::GetHistogramList ( ) const
inline

Definition at line 105 of file PairAnalysis.h.

References fHistos.

Referenced by AnalysisTaskMultiPairAnalysis::Init().

◆ GetHistoManager()

PairAnalysisHistos* PairAnalysis::GetHistoManager ( ) const
inline

Definition at line 104 of file PairAnalysis.h.

References fHistos.

Referenced by AnalysisTaskMultiPairAnalysis::Exec().

◆ GetLeg1Pdg()

Int_t PairAnalysis::GetLeg1Pdg ( ) const
inline

Definition at line 163 of file PairAnalysis.h.

References fPdgLeg1.

◆ GetLeg2Pdg()

Int_t PairAnalysis::GetLeg2Pdg ( ) const
inline

Definition at line 164 of file PairAnalysis.h.

References fPdgLeg2.

◆ GetMCSignals()

const TObjArray* PairAnalysis::GetMCSignals ( ) const
inline

Definition at line 160 of file PairAnalysis.h.

References fSignalsMC.

◆ GetMixingHandler()

PairAnalysisMixingHandler* PairAnalysis::GetMixingHandler ( ) const
inline

Definition at line 142 of file PairAnalysis.h.

References fMixing.

◆ GetMotherPdg()

Int_t PairAnalysis::GetMotherPdg ( ) const
inline

Definition at line 162 of file PairAnalysis.h.

References fPdgMother.

◆ GetPairArray()

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

Definition at line 81 of file PairAnalysis.h.

References fPairCandidates, i, and kPairTypes.

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

◆ GetPairArraysPointer()

TObjArray** PairAnalysis::GetPairArraysPointer ( )
inline

Definition at line 87 of file PairAnalysis.h.

References fPairCandidates.

Referenced by AnalysisTaskMultiPairAnalysis::Exec().

◆ GetPairFilter() [1/2]

AnalysisFilter& PairAnalysis::GetPairFilter ( )
inline

Definition at line 62 of file PairAnalysis.h.

References fPairFilter.

◆ GetPairFilter() [2/2]

const AnalysisFilter& PairAnalysis::GetPairFilter ( ) const
inline

Definition at line 55 of file PairAnalysis.h.

References fPairFilter.

◆ GetPairFilterMC() [1/2]

AnalysisFilter& PairAnalysis::GetPairFilterMC ( )
inline

Definition at line 68 of file PairAnalysis.h.

References fPairFilterMC.

◆ GetPairFilterMC() [2/2]

const AnalysisFilter& PairAnalysis::GetPairFilterMC ( ) const
inline

Definition at line 58 of file PairAnalysis.h.

References fPairFilterMC.

◆ GetPairIndex()

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

Definition at line 284 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 64 of file PairAnalysis.h.

References fPairPreFilter.

◆ GetPairPreFilterLegs()

AnalysisFilter& PairAnalysis::GetPairPreFilterLegs ( )
inline

Definition at line 63 of file PairAnalysis.h.

References fPairPreFilterLegs.

◆ GetQAHistList()

const THashList* PairAnalysis::GetQAHistList ( ) const
inline

Definition at line 97 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 78 of file PairAnalysis.h.

References fTracks, and i.

Referenced by PairAnalysisMixingHandler::Fill().

◆ GetTrackFilter() [1/2]

AnalysisFilter& PairAnalysis::GetTrackFilter ( )
inline

Definition at line 61 of file PairAnalysis.h.

References fTrackFilter.

◆ GetTrackFilter() [2/2]

const AnalysisFilter& PairAnalysis::GetTrackFilter ( ) const
inline

Definition at line 54 of file PairAnalysis.h.

References fTrackFilter.

◆ GetTrackFilterMC() [1/2]

AnalysisFilter& PairAnalysis::GetTrackFilterMC ( )
inline

Definition at line 67 of file PairAnalysis.h.

References fTrackFilterMC.

◆ GetTrackFilterMC() [2/2]

const AnalysisFilter& PairAnalysis::GetTrackFilterMC ( ) const
inline

Definition at line 57 of file PairAnalysis.h.

References fTrackFilterMC.

◆ GetTrackRotator()

PairAnalysisTrackRotator* PairAnalysis::GetTrackRotator ( ) const
inline

Definition at line 138 of file PairAnalysis.h.

References fTrackRotator.

◆ HasCandidates()

Bool_t PairAnalysis::HasCandidates ( ) const
inline

Definition at line 113 of file PairAnalysis.h.

References GetPairArray().

◆ HasCandidatesLikeSign()

Bool_t PairAnalysis::HasCandidatesLikeSign ( ) const
inline

Definition at line 119 of file PairAnalysis.h.

References GetPairArray().

◆ HasCandidatesTR()

Bool_t PairAnalysis::HasCandidatesTR ( ) const
inline

Definition at line 116 of file PairAnalysis.h.

References GetPairArray().

◆ Init()

◆ InitPairCandidateArrays()

void PairAnalysis::InitPairCandidateArrays ( )
inlineprivate

Definition at line 299 of file PairAnalysis.h.

References fgkPairClassNames, fPairCandidates, and i.

Referenced by Init(), and Process().

◆ IsNoPairing()

Bool_t PairAnalysis::IsNoPairing ( )
inline

Definition at line 73 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 169 of file PairAnalysis.h.

References fgkPairClassNames, and i.

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 TODO: check rejection of pairleg only, when non prepair cut is applied! NOTE: in mode kAnyLeg do the next check only if track1 was not selected

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 1030 of file PairAnalysis.cxx.

References fCutQA, fCutType, fHistos, PairAnalysisCutQA::Fill(), PairAnalysisCutQA::FillAll(), FillHistogramsPair(), fPairPreFilter, fPairPreFilterLegs, fPdgLeg1, fPdgLeg2, fPdgMother, fPreFilterAllSigns, fQAmonitor, fTracks, fUseKF, AnalysisFilter::GetCuts(), PairAnalysisMC::GetLabelMotherWithPdg(), PairAnalysisTrack::GetMomentum(), GetPairIndex(), PairAnalysisMC::Instance(), AnalysisFilter::IsSelected(), kAnyLeg, kBothLegs, kOneLeg, PairAnalysisVarManager::kRndmRej, xMath::Pi(), 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 211 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 328 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(), AnalysisFilter::IsSelected(), and PairAnalysisPair::SetMCTracks().

Referenced by Process().

◆ SetCutQA()

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

Definition at line 71 of file PairAnalysis.h.

References fCutQA.

◆ SetDontClearArrays()

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

Definition at line 144 of file PairAnalysis.h.

References fDontClearArrays.

◆ SetEventProcess()

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

Definition at line 174 of file PairAnalysis.h.

References fEventProcess.

◆ SetHasMC()

void PairAnalysis::SetHasMC ( Bool_t  hasMC)
inline

Definition at line 150 of file PairAnalysis.h.

References fHasMC.

◆ SetHistogramArray()

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

Definition at line 91 of file PairAnalysis.h.

References fHistoArray.

◆ SetHistogramManager()

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

Definition at line 101 of file PairAnalysis.h.

References fHistos.

◆ SetLegPdg()

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

Definition at line 153 of file PairAnalysis.h.

References fPdgLeg1, and fPdgLeg2.

◆ SetMixingHandler()

void PairAnalysis::SetMixingHandler ( PairAnalysisMixingHandler mix)
inline

Definition at line 141 of file PairAnalysis.h.

References fMixing.

◆ SetMotherPdg()

void PairAnalysis::SetMotherPdg ( Int_t  pdgMother)
inline

Definition at line 152 of file PairAnalysis.h.

References fPdgMother.

◆ SetNoPairing()

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

Definition at line 72 of file PairAnalysis.h.

References fNoPairing.

◆ SetPairArraysPointer()

void PairAnalysis::SetPairArraysPointer ( TObjArray *  arr)
inline

Definition at line 88 of file PairAnalysis.h.

References fPairCandidates.

◆ SetPairPreFilterLegCutType()

void PairAnalysis::SetPairPreFilterLegCutType ( CutType  type)
inline

Definition at line 70 of file PairAnalysis.h.

References fCutType.

◆ SetPreFilterAllSigns()

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

Definition at line 130 of file PairAnalysis.h.

References fPreFilterAllSigns.

◆ SetPreFilterUnlikeOnly()

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

Definition at line 127 of file PairAnalysis.h.

References fPreFilterUnlikeOnly.

◆ SetProcessLS()

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

Definition at line 74 of file PairAnalysis.h.

References fProcessLS.

◆ SetRefitWithMassAssump()

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

Definition at line 157 of file PairAnalysis.h.

References fRefitMassAssump.

◆ SetStoreRotatedPairs()

void PairAnalysis::SetStoreRotatedPairs ( Bool_t  storeTR)
inline

Definition at line 139 of file PairAnalysis.h.

References fStoreRotatedPairs.

◆ SetTrackRotator()

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

Definition at line 135 of file PairAnalysis.h.

References fTrackRotator.

◆ SetUseKF()

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

Definition at line 76 of file PairAnalysis.h.

References fUseKF.

◆ TrackClassName()

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

Definition at line 166 of file PairAnalysis.h.

References fgkTrackClassNames, and i.

Friends And Related Function Documentation

◆ PairAnalysisMixingHandler

friend class PairAnalysisMixingHandler
friend

Definition at line 24 of file PairAnalysis.h.

Member Data Documentation

◆ fCutQA

Bool_t PairAnalysis::fCutQA = kFALSE
private

◆ fCutStepHistos

THashList* PairAnalysis::fCutStepHistos = NULL
private

Definition at line 205 of file PairAnalysis.h.

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

◆ fCutType

CutType PairAnalysis::fCutType = kBothLegs
private

Definition at line 199 of file PairAnalysis.h.

Referenced by PairPreFilter(), and SetPairPreFilterLegCutType().

◆ fDontClearArrays

Bool_t PairAnalysis::fDontClearArrays
private
Initial value:
=
kFALSE

Definition at line 232 of file PairAnalysis.h.

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

◆ fEventFilter

AnalysisFilter PairAnalysis::fEventFilter
private

Definition at line 181 of file PairAnalysis.h.

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

◆ fEventProcess

Bool_t PairAnalysis::fEventProcess = kTRUE
private

Definition at line 234 of file PairAnalysis.h.

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

◆ fFinalTrackFilter

AnalysisFilter PairAnalysis::fFinalTrackFilter
private

Definition at line 185 of file PairAnalysis.h.

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

◆ fgkPairClassNames

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

Definition at line 253 of file PairAnalysis.h.

Referenced by FillCutStepHistograms(), FillCutStepHistogramsMC(), FillHistograms(), FillHistogramsFromPairArray(), FillHistogramsPair(), FillMCHistograms(), InitPairCandidateArrays(), PairClassName(), and ProcessMC().

◆ fgkTrackClassNames

const char* PairAnalysis::fgkTrackClassNames[2]
staticprivate

◆ fHasMC

Bool_t PairAnalysis::fHasMC
private
Initial value:
=
kFALSE

Definition at line 228 of file PairAnalysis.h.

Referenced by FillCutStepHistograms(), FillCutStepHistogramsMC(), FillTrackArrays(), GetHasMC(), and SetHasMC().

◆ fHistoArray

◆ fHistos

◆ fMixing

PairAnalysisMixingHandler* PairAnalysis::fMixing = NULL
private

Definition at line 222 of file PairAnalysis.h.

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

◆ fNoPairing

Bool_t PairAnalysis::fNoPairing
private
Initial value:
=
kFALSE

Definition at line 200 of file PairAnalysis.h.

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

◆ fPairCandidates

TObjArray* PairAnalysis::fPairCandidates
private

Selected track candidates.

Definition at line 218 of file PairAnalysis.h.

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

◆ fPairFilter

AnalysisFilter PairAnalysis::fPairFilter
private

◆ fPairFilterMC

AnalysisFilter PairAnalysis::fPairFilterMC
private

Definition at line 189 of file PairAnalysis.h.

Referenced by GetPairFilterMC(), and ProcessMC().

◆ fPairPreFilter

AnalysisFilter PairAnalysis::fPairPreFilter
private

Definition at line 184 of file PairAnalysis.h.

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

◆ fPairPreFilterLegs

AnalysisFilter PairAnalysis::fPairPreFilterLegs
private

Definition at line 183 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 191 of file PairAnalysis.h.

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

◆ fPreFilterAllSigns

Bool_t PairAnalysis::fPreFilterAllSigns
private
Initial value:
=
kFALSE

Definition at line 226 of file PairAnalysis.h.

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

◆ fPreFilterUnlikeOnly

Bool_t PairAnalysis::fPreFilterUnlikeOnly
private
Initial value:
=
kFALSE

Definition at line 224 of file PairAnalysis.h.

Referenced by Process(), and SetPreFilterUnlikeOnly().

◆ fProcessLS

Bool_t PairAnalysis::fProcessLS = kTRUE
private

Definition at line 202 of file PairAnalysis.h.

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

◆ fQAmonitor

◆ fRefitMassAssump

Bool_t PairAnalysis::fRefitMassAssump
private
Initial value:
=
kFALSE

Definition at line 194 of file PairAnalysis.h.

Referenced by FillTrackArrays(), and SetRefitWithMassAssump().

◆ fSignalsMC

◆ fStoreRotatedPairs

Bool_t PairAnalysis::fStoreRotatedPairs
private
Initial value:
=
kFALSE

Definition at line 230 of file PairAnalysis.h.

Referenced by FillPairArrayTR(), and SetStoreRotatedPairs().

◆ fTrackFilter

AnalysisFilter PairAnalysis::fTrackFilter
private

Definition at line 182 of file PairAnalysis.h.

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

◆ fTrackFilterMC

AnalysisFilter PairAnalysis::fTrackFilterMC
private

Definition at line 188 of file PairAnalysis.h.

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

◆ fTrackRotator

PairAnalysisTrackRotator* PairAnalysis::fTrackRotator = NULL
private

Pair candidate arrays.

Definition at line 221 of file PairAnalysis.h.

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

◆ fTracks

◆ fUsedVars

◆ fUseKF

Bool_t PairAnalysis::fUseKF = kFALSE
private

Definition at line 203 of file PairAnalysis.h.

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


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