1 #ifndef ALIHFSUBTRACTBFDCUTS_H 2 #define ALIHFSUBTRACTBFDCUTS_H 30 #include "THnSparse.h" 33 #include "AliAODMCParticle.h" 40 class AliNeutralTrackParam;
51 void FillGenStep(AliAODMCParticle* dzeroMC,
Double_t pt=-1,
Double_t weight=1.,TClonesArray* mcArray=0x0, AliAODMCHeader* mcHeader=0x0);
Bool_t AnalyseDecay(Bool_t generateString, Bool_t mcOnly)
Bool_t fIsMC
Method to check Whether the current D0 candidate and the track originate from a B decay...
THnSparseF * fTHnMC
! THnSparse for cut variables (MC at PID level, w/o mass axis)y
AliAODVertex * RecBvtx(TObjArray *tracks) const
Is that prong within the fiducial acceptance.
void SetSparseData(THnSparseF *h)
THnSparseF * fTHnGenStep
flag resolve resonances in during the prong determination
THnSparseF * GetSparseMC() const
Double_t fPtCand
Label of the candidate D0 (charmed hadron in case of a chained decay)
Class for storing and handling D0 meson candidates properties // for estimating the feed-down fractio...
std::vector< Int_t > fDecayProngs
Generate the list containig strings with all PDG codes of the decay prongs.
AliAODRecoDecayHF2Prong * fD0Cand
Magnetic field (z-direction) in units of kG.
AliNeutralTrackParam * fD0CandParam
Pointer to the D0 candidate from reconstruction.
Int_t fLabMother
pT of the candidate (from MC track, not following decay chain)
Bool_t fCheckAcceptance
flag for MC/Data
THnSparseF * GetSparseData() const
void SetFillMC(Bool_t fillMC=kTRUE)
TClonesArray * fAODtracks
! TClonesArray holding the AliAODTracks of the event to be processed
AliAODVertex * fPriVtx
! Primary AOD vertex
void SetHistoPtMCgen(THnSparseF *h)
Bool_t fGenerateDecayList
TList * fQAhists
! List with QA histograms
THnSparseF * GetSparseMCgen() const
TList * fDecayStrList
PDG codes of the daughters separated.
Bool_t fFoundElectron
Number of prongs, counting only the particles within acceptance.
TClonesArray * fMCarray
Event specific variables.
UInt_t fNprongsInAcc
Number of prongs, counting the first charmed hadron as one particle (simulation cuts can lead to loss...
TList * GetDecayStrings()
UInt_t fNprongs
Label of the mother of the candidate D0 (or charmed hadron)
void CountProngs(Int_t labCurrMother, Int_t labCurrExcl, Bool_t generateString, Bool_t mConly)
check in which decay process a particle was created
Double_t fMotherPt
Chained decay of charmed hadrons.
void SetSparseMC(THnSparseF *h)
Bool_t fResolveResonances
flag for checking whether the decay prongs are within acceptance
Bool_t IsStable(Int_t labProng)
counting the prongs of labCurrMother, labCurrExcl is assumed to be a stable particle ...
Bool_t fDecayChain
Does the B meson decay contain an electron?
Bool_t IsInAcceptance(Int_t labProng) const
Is that prong a stable particle?
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)
AliHFsubtractBFDcuts operator=(const AliHFsubtractBFDcuts &c)
void FillGenStep(AliAODMCParticle *dzeroMC, Double_t pt=-1, Double_t weight=1., TClonesArray *mcArray=0x0, AliAODMCHeader *mcHeader=0x0)
Bool_t GetCandidateLabel()
Int_t fLabCand
Pointer to an AliNeutralTrackParam of the D0 candidata for DCA calculation.
THnSparseF * fTHnData
! THnSparse for cut variables (data, with inv mass axis), first axis is always mass ...
Bool_t CheckBhypothesis(Int_t iAODtrack, Bool_t Bprong)
Reconstruct a secondary vertex with the supplied tracks.