1 #ifndef ALIANALYSISTASKSESIGNIFICANCE_H
2 #define ALIANALYSISTASKSESIGNIFICANCE_H
18 #include "AliAnalysisTaskSE.h"
61 virtual void UserExec(Option_t *option);
86 Int_t
CheckOrigin(
const AliAODMCParticle* mcPart,
const TClonesArray* mcArray)
const;
Float_t fLowmasslimit
upper inv mass limit for histos
void SetBFeedDown(FeedDownEnum flagB)
AliAnalysisTaskSESignificance & operator=(const AliAnalysisTaskSESignificance &source)
Float_t fVars[kMaxCutVar]
number of selection variables
AliRDHFCuts * fRDCuts
lower inv mass limit for histos
virtual void UserExec(Option_t *option)
Int_t GetBackgroundHistoIndex(Int_t iPtBin) const
AliAnalysisTaskSESignificance()
Int_t fNBins
array with values of cut variables
Int_t GetHistoIndex(Int_t iPtBin) const
Int_t fPDGD0ToKpi[2]
PDG codes for the particles in the D* -> pi + D0 decay.
Int_t fPDGdaughters[4]
number of prong of the decay channel
Int_t fNPtBins
prong cut values
TH1F * fBkgHist[kMaxNHist]
!hist. for inv mass (bkg from MC truth)
void SetPDGdaughterDstoKKpi()
void SetUseSelBit(Bool_t selBit=kTRUE)
FeedDownEnum fBFeedDown
flag to use selection bit (speed up candidates selection)
TList * fOutput
! list send on output slot 0
Bool_t GetUseSelBit() const
Int_t fPartOrAndAntiPart
number of bins in the mass histograms
void FillDs(AliAODRecoDecayHF *d, TClonesArray *arrayMC, Int_t index, Int_t isSel, Int_t optDecay)
void SetFillWithPartAntiPartBoth(Int_t value)
Int_t fSelectionlevel
AOD branch name for channel.
Bool_t fUseSelBit
flag for access to MC
Int_t fNProngs
PDG code of D meson.
Bool_t fReadMC
number of pt bins
void FillLambdac(AliAODRecoDecayHF *d, TClonesArray *arrayMC, Int_t index, Int_t isSel)
virtual ~AliAnalysisTaskSESignificance()
Int_t GetSignalHistoIndex(Int_t iPtBin) const
TH1F * fRflHist[kMaxNHist]
!hist. for inv mass (bkg from MC truth)
Int_t CheckOrigin(const AliAODMCParticle *mcPart, const TClonesArray *mcArray) const
virtual void UserCreateOutputObjects()
Implementation of interface methods.
void SetPDGdaughterDstopiKK()
Int_t fPDGmother
decay channel identifier
void FillD04p(AliAODRecoDecayHF *d, TClonesArray *arrayMC, Int_t index, Int_t isSel)
Bool_t CheckConsistency()
Int_t GetLSHistoIndex(Int_t iPtBin) const
Int_t fPDGDStarToD0pi[2]
Ds resonant channel selected.
Int_t GetFillWithPartAntiPartBoth() const
void SetNBins(Int_t nbins)
void SetDFromBeautyOnly()
TString fBranchName
PDG codes of daughters.
Float_t GetLowerMassLimit() const
void FillDplus(AliAODRecoDecayHF *d, TClonesArray *arrayMC, Int_t index, Int_t isSel)
void SetDsChannel(Int_t chan)
void FillD02p(AliAODRecoDecayHF *d, TClonesArray *arrayMC, Int_t index, Int_t isSel)
void SetMassLimits(Float_t range, Int_t pdg)
virtual void Terminate(Option_t *option)
Int_t fNVars
selection level: kALL,kTracks,kCandidate
Int_t GetDsChannel() const
Float_t GetUpperMassLimit() const
TH1F * fHistNEvents
! hist of n of aods
TH1F * fMassHist[kMaxNHist]
Multidimvector container.
Int_t fDecChannel
flag to search for D from B decays
void FillDstar(AliAODRecoCascadeHF *dstarD0pi, TClonesArray *arrayMC, Int_t index, Int_t isSel)
void SetReadMC(Bool_t readMC=kTRUE)
Int_t fDsChannel
fill histograms with particle only (+1), antiparticle only (-1), both (0)
Int_t GetBFeedDown() const
TH1F * fSigHist[kMaxNHist]
!hist. for inv mass (sig from MC truth)