![]() |
AliPhysics
2c8507d (2c8507d)
|
Class for storing and handling D0 meson candidates properties // for estimating the feed-down fraction using several sets of cuts //. More...
#include <AliHFsubtractBFDcuts.h>
Public Member Functions | |
AliHFsubtractBFDcuts () | |
AliHFsubtractBFDcuts (const char *name, const char *title) | |
~AliHFsubtractBFDcuts () | |
void | InitHistos () |
void | FillGenStep (AliAODMCParticle *dzeroMC, Double_t pt=-1, Double_t weight=1., TClonesArray *mcArray=0x0, AliAODMCHeader *mcHeader=0x0) |
THnSparseF * | GetSparseData () const |
THnSparseF * | GetSparseMC () const |
THnSparseF * | GetSparseMCgen () const |
void | SetHistoPtMCgen (THnSparseF *h) |
void | SetSparseData (THnSparseF *h) |
void | SetSparseMC (THnSparseF *h) |
void | SetFillMC (Bool_t fillMC=kTRUE) |
void | FillSparses (AliAODRecoDecayHF2Prong *dzeroPart, Int_t isSelected, Double_t pt=-1, Double_t massD0=-1, Double_t massD0bar=-1, Double_t weight=1., TClonesArray *mcArray=0x0, AliAODEvent *aodEvent=0x0, AliAODMCHeader *mcHeader=0x0) |
TList * | GetDecayStrings () |
TList * | GetQAhists () |
Private Member Functions | |
AliHFsubtractBFDcuts (const AliHFsubtractBFDcuts &c) | |
AliHFsubtractBFDcuts | operator= (const AliHFsubtractBFDcuts &c) |
Bool_t | GetCandidateLabel () |
Bool_t | AnalyseDecay (Bool_t generateString, Bool_t mcOnly) |
void | CountProngs (Int_t labCurrMother, Int_t labCurrExcl, Bool_t generateString, Bool_t mConly) |
check in which decay process a particle was created More... | |
Bool_t | IsStable (Int_t labProng) |
counting the prongs of labCurrMother, labCurrExcl is assumed to be a stable particle More... | |
Bool_t | IsInAcceptance (Int_t labProng) const |
Is that prong a stable particle? More... | |
AliAODVertex * | RecBvtx (TObjArray *tracks) const |
Is that prong within the fiducial acceptance. More... | |
Bool_t | CheckBhypothesis (Int_t iAODtrack, Bool_t Bprong) |
Reconstruct a secondary vertex with the supplied tracks. More... | |
Private Attributes | |
Bool_t | fIsMC |
Method to check Whether the current D0 candidate and the track originate from a B decay. More... | |
Bool_t | fCheckAcceptance |
flag for MC/Data More... | |
Bool_t | fResolveResonances |
flag for checking whether the decay prongs are within acceptance More... | |
THnSparseF * | fTHnGenStep |
flag resolve resonances in during the prong determination More... | |
THnSparseF * | fTHnData |
! THnSparse for cut variables (data, with inv mass axis), first axis is always mass More... | |
THnSparseF * | fTHnMC |
! THnSparse for cut variables (MC at PID level, w/o mass axis)y More... | |
TList * | fQAhists |
! List with QA histograms More... | |
TClonesArray * | fMCarray |
Event specific variables. More... | |
TClonesArray * | fAODtracks |
! TClonesArray holding the AliAODTracks of the event to be processed More... | |
AliAODVertex * | fPriVtx |
! Primary AOD vertex More... | |
Double_t | fBkG |
AliAODRecoDecayHF2Prong * | fD0Cand |
Magnetic field (z-direction) in units of kG. More... | |
AliNeutralTrackParam * | fD0CandParam |
Pointer to the D0 candidate from reconstruction. More... | |
Int_t | fLabCand |
Pointer to an AliNeutralTrackParam of the D0 candidata for DCA calculation. More... | |
Double_t | fPtCand |
Label of the candidate D0 (charmed hadron in case of a chained decay) More... | |
Int_t | fLabMother |
pT of the candidate (from MC track, not following decay chain) More... | |
UInt_t | fNprongs |
Label of the mother of the candidate D0 (or charmed hadron) More... | |
UInt_t | fNprongsInAcc |
Number of prongs, counting the first charmed hadron as one particle (simulation cuts can lead to loss of prongs!) More... | |
Bool_t | fFoundElectron |
Number of prongs, counting only the particles within acceptance. More... | |
Bool_t | fDecayChain |
Does the B meson decay contain an electron? More... | |
Double_t | fMotherPt |
Chained decay of charmed hadrons. More... | |
Bool_t | fGenerateDecayList |
std::vector< Int_t > | fDecayProngs |
Generate the list containig strings with all PDG codes of the decay prongs. More... | |
TList * | fDecayStrList |
PDG codes of the daughters separated. More... | |
Class for storing and handling D0 meson candidates properties // for estimating the feed-down fraction using several sets of cuts //.
//
Definition at line 42 of file AliHFsubtractBFDcuts.h.
AliHFsubtractBFDcuts::AliHFsubtractBFDcuts | ( | ) |
AliHFsubtractBFDcuts // // Class for storing and handling D0 meson candidates properties // for estimating the feed-down fraction using several sets of cuts // Andrea Rossi andre // Felix Reidt a.ro ssi@c ern. chfelix // // .rei dt@ce rn.c h
default constructor
Definition at line 54 of file AliHFsubtractBFDcuts.cxx.
AliHFsubtractBFDcuts::AliHFsubtractBFDcuts | ( | const char * | name, |
const char * | title | ||
) |
default constructor with name
Definition at line 78 of file AliHFsubtractBFDcuts.cxx.
AliHFsubtractBFDcuts::~AliHFsubtractBFDcuts | ( | ) |
Definition at line 136 of file AliHFsubtractBFDcuts.cxx.
|
private |
copy constructor
Definition at line 106 of file AliHFsubtractBFDcuts.cxx.
Definition at line 363 of file AliHFsubtractBFDcuts.cxx.
Referenced by FillGenStep(), and FillSparses().
Reconstruct a secondary vertex with the supplied tracks.
Definition at line 475 of file AliHFsubtractBFDcuts.cxx.
Referenced by AnalyseDecay(), and CountProngs().
|
private |
check in which decay process a particle was created
Definition at line 424 of file AliHFsubtractBFDcuts.cxx.
Referenced by AnalyseDecay().
void AliHFsubtractBFDcuts::FillGenStep | ( | AliAODMCParticle * | dzeroMC, |
Double_t | pt = -1 , |
||
Double_t | weight = 1. , |
||
TClonesArray * | mcArray = 0x0 , |
||
AliAODMCHeader * | mcHeader = 0x0 |
||
) |
Definition at line 228 of file AliHFsubtractBFDcuts.cxx.
Referenced by AliCFTaskVertexingHFCutVarFDSub::UserExec().
void AliHFsubtractBFDcuts::FillSparses | ( | AliAODRecoDecayHF2Prong * | dzeroPart, |
Int_t | isSelected, | ||
Double_t | pt = -1 , |
||
Double_t | massD0 = -1 , |
||
Double_t | massD0bar = -1 , |
||
Double_t | weight = 1. , |
||
TClonesArray * | mcArray = 0x0 , |
||
AliAODEvent * | aodEvent = 0x0 , |
||
AliAODMCHeader * | mcHeader = 0x0 |
||
) |
Definition at line 266 of file AliHFsubtractBFDcuts.cxx.
Referenced by AliAnalysisTaskSED0MassCutVarFDSub::FillMassHists(), and AliCFTaskVertexingHFCutVarFDSub::UserExec().
|
private |
Definition at line 345 of file AliHFsubtractBFDcuts.cxx.
Referenced by FillSparses().
|
inline |
Definition at line 63 of file AliHFsubtractBFDcuts.h.
Referenced by AliCFTaskVertexingHFCutVarFDSub::UserCreateOutputObjects().
|
inline |
Definition at line 64 of file AliHFsubtractBFDcuts.h.
Referenced by AliCFTaskVertexingHFCutVarFDSub::UserCreateOutputObjects().
|
inline |
Definition at line 52 of file AliHFsubtractBFDcuts.h.
Referenced by AliAnalysisTaskSED0MassCutVarFDSub::UserCreateOutputObjects().
|
inline |
Definition at line 53 of file AliHFsubtractBFDcuts.h.
Referenced by AliCFTaskVertexingHFCutVarFDSub::UserCreateOutputObjects().
|
inline |
Definition at line 54 of file AliHFsubtractBFDcuts.h.
Referenced by AliCFTaskVertexingHFCutVarFDSub::UserCreateOutputObjects().
void AliHFsubtractBFDcuts::InitHistos | ( | ) |
Definition at line 140 of file AliHFsubtractBFDcuts.cxx.
Referenced by AliAnalysisTaskSED0MassCutVarFDSub::UserCreateOutputObjects(), and AliCFTaskVertexingHFCutVarFDSub::UserCreateOutputObjects().
Is that prong a stable particle?
Definition at line 466 of file AliHFsubtractBFDcuts.cxx.
Referenced by CountProngs().
counting the prongs of labCurrMother, labCurrExcl is assumed to be a stable particle
Definition at line 453 of file AliHFsubtractBFDcuts.cxx.
Referenced by CountProngs(), and FillGenStep().
|
private |
assignment operator
Definition at line 130 of file AliHFsubtractBFDcuts.cxx.
|
private |
Is that prong within the fiducial acceptance.
Definition at line 534 of file AliHFsubtractBFDcuts.cxx.
Referenced by CheckBhypothesis().
|
inline |
Definition at line 60 of file AliHFsubtractBFDcuts.h.
Referenced by AliAnalysisTaskSED0MassCutVarFDSub::UserCreateOutputObjects(), and AliCFTaskVertexingHFCutVarFDSub::UserExec().
|
inline |
Definition at line 56 of file AliHFsubtractBFDcuts.h.
|
inline |
Definition at line 57 of file AliHFsubtractBFDcuts.h.
|
inline |
Definition at line 58 of file AliHFsubtractBFDcuts.h.
|
private |
! TClonesArray holding the AliAODTracks of the event to be processed
Definition at line 89 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), CheckBhypothesis(), CountProngs(), and FillSparses().
|
private |
Definition at line 91 of file AliHFsubtractBFDcuts.h.
Referenced by CheckBhypothesis(), FillSparses(), and RecBvtx().
|
private |
|
private |
Magnetic field (z-direction) in units of kG.
Definition at line 92 of file AliHFsubtractBFDcuts.h.
Referenced by FillSparses(), and GetCandidateLabel().
|
private |
Pointer to the D0 candidate from reconstruction.
Definition at line 93 of file AliHFsubtractBFDcuts.h.
Referenced by CheckBhypothesis(), and FillSparses().
|
private |
Does the B meson decay contain an electron?
Definition at line 100 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), FillGenStep(), and FillSparses().
|
private |
Generate the list containig strings with all PDG codes of the decay prongs.
Definition at line 104 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), and CountProngs().
|
private |
PDG codes of the daughters separated.
! List with all decay strings
Definition at line 105 of file AliHFsubtractBFDcuts.h.
Referenced by AliHFsubtractBFDcuts(), AnalyseDecay(), and GetDecayStrings().
|
private |
Number of prongs, counting only the particles within acceptance.
Definition at line 99 of file AliHFsubtractBFDcuts.h.
Referenced by FillGenStep(), FillSparses(), and IsStable().
|
private |
Transverse momentum of the mother particle (B hadron in case of feed-down, the charmed hadron itsself in case of prompt production)
Definition at line 103 of file AliHFsubtractBFDcuts.h.
Referenced by FillGenStep().
|
private |
Method to check Whether the current D0 candidate and the track originate from a B decay.
Definition at line 79 of file AliHFsubtractBFDcuts.h.
Referenced by FillGenStep(), FillSparses(), and SetFillMC().
|
private |
Pointer to an AliNeutralTrackParam of the D0 candidata for DCA calculation.
Definition at line 94 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), FillGenStep(), and GetCandidateLabel().
|
private |
pT of the candidate (from MC track, not following decay chain)
Definition at line 96 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay().
|
private |
Event specific variables.
! TClonesArray holding the particles of the event to be processed
Definition at line 88 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), CountProngs(), FillGenStep(), FillSparses(), GetCandidateLabel(), IsInAcceptance(), and IsStable().
|
private |
Chained decay of charmed hadrons.
Definition at line 101 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), FillGenStep(), and FillSparses().
|
private |
Label of the mother of the candidate D0 (or charmed hadron)
Definition at line 97 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), CountProngs(), FillGenStep(), and FillSparses().
|
private |
Number of prongs, counting the first charmed hadron as one particle (simulation cuts can lead to loss of prongs!)
Definition at line 98 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), CountProngs(), FillGenStep(), and FillSparses().
|
private |
! Primary AOD vertex
Definition at line 90 of file AliHFsubtractBFDcuts.h.
Referenced by CheckBhypothesis(), FillSparses(), and RecBvtx().
|
private |
Label of the candidate D0 (charmed hadron in case of a chained decay)
Definition at line 95 of file AliHFsubtractBFDcuts.h.
Referenced by AnalyseDecay(), CheckBhypothesis(), and FillGenStep().
|
private |
! List with QA histograms
Definition at line 85 of file AliHFsubtractBFDcuts.h.
Referenced by AliHFsubtractBFDcuts(), AnalyseDecay(), CheckBhypothesis(), FillGenStep(), FillSparses(), GetQAhists(), and InitHistos().
|
private |
flag for checking whether the decay prongs are within acceptance
Definition at line 81 of file AliHFsubtractBFDcuts.h.
Referenced by CountProngs().
|
private |
! THnSparse for cut variables (data, with inv mass axis), first axis is always mass
Definition at line 83 of file AliHFsubtractBFDcuts.h.
Referenced by FillSparses(), GetSparseData(), InitHistos(), and SetSparseData().
|
private |
flag resolve resonances in during the prong determination
! histo with spectrum at generation level
Definition at line 82 of file AliHFsubtractBFDcuts.h.
Referenced by FillGenStep(), GetSparseMCgen(), InitHistos(), and SetHistoPtMCgen().
|
private |
! THnSparse for cut variables (MC at PID level, w/o mass axis)y
Definition at line 84 of file AliHFsubtractBFDcuts.h.
Referenced by FillSparses(), GetSparseMC(), InitHistos(), and SetSparseMC().