1 #ifndef ALICFTASKVERTEXINGHFCUTVARFDSUB_H 2 #define ALICFTASKVERTEXINGHFCUTVARFDSUB_H 31 #include "THnSparse.h" 35 #include "AliAnalysisTaskSE.h" 200 void SetConfiguration(
Int_t configuration) {(configuration ==
kSnail) ? Printf(
"Slow configuration chosen, all variables will be used!") : Printf(
"Fast configuration chosen, all variablesOnly pt, y, phi, ct, fake, z_vtx, centrality and multiplicity will be used!");
fConfiguration = configuration;}
void SetCentralitySelection(Bool_t centSelec=kTRUE)
void SetPtWeightsFromFONLL5overLHC13d3()
TH1F * fhCquarkPt
b quark pt spectrum
Int_t fNvar
flag to use directly the ratio of the distributions (fHistoMCNch) instead of computing it ...
Bool_t fAcceptanceUnf
flag to select D0 origins. 0 Only from charm 1 only from beauty 2 both from charm and beauty ...
void SetUseNchWeight(Bool_t useWeight)
Bool_t fRejectIfNoQuark
selection flag for fakes tracks
Int_t fCountRecoAcc
Reco particle found that satisfy cuts.
void SetPtWeightsFromDataPbPb276overLHC12a17a()
void SetUseMotherPtWeight(Bool_t useMotherPtWeight)
AliCFManager * GetCFManager()
global correction manager
void SetCountDsViaK0star()
Bool_t GetUseZWeight() const
void SetMultiplVsZProfileLHC13c(TProfile *hprof)
Bool_t fFillFromGenerated
decay channel to configure the task
UShort_t fOriginDselection
flag to indicate whether data container should be filled with generated values also for reconstructed...
void SetKeepLctoLambdapi()
Bool_t fUseFlatPtWeight
weight used to fill the container
void Terminate(Option_t *)
void SetFillFromGenerated(Bool_t flag)
get corr manager
void SetPtWeightsFromFONLL7overLHC12a12bis()
void SetReferenceMultiplcity(Double_t rmu)
Bool_t fIsPPData
flag to use the z-vtx corrected (if not use uncorrected) multiplicity estimator
void SetUseWeight(Bool_t useWeight)
AliHFsubtractBFDcuts * fObjSpr
cut on momentum conservation
Double_t fWeight
flag to decide whether to use pt-weights != 1 when filling the container or not
Double_t GetMotherPtFromRecoDecay(AliAODRecoDecayHF *charmCandidate, TClonesArray *mcArray)
Int_t fConfiguration
Ds decay option (generation level)
Bool_t GetAcceptanceUnf() const
void SetMeasuredNchHisto(TH1F *h)
void SetPtWeightsFromFONLL7overLHC12a12()
void SetPtWeightsFromFONLL7overLHC13e2fix()
void SetPtWeightsFromFONLL5overLHC10f6a()
void SetUseZvtxCorrectedNtrkEstimator(Bool_t flag)
Int_t fCountRecoITSClusters
Reco particle found that satisfy cuts in requested acceptance.
Bool_t fIsPPbData
flag for pp data (not checking centrality)
Double_t dNdptFit(Float_t pt, Double_t *par)
void SetCFManager(AliCFManager *io)
Class for storing and handling D0 meson candidates properties // for estimating the feed-down fractio...
void SetKeepDsViaK0star()
Double_t GetNchWeight(Int_t nch)
Double_t GetPtWeightFromHistogram(Float_t pt)
Bool_t fCentralitySelection
flag to decide wheter to keep D0 only (0), D0bar only (1), or both D0 and D0bar (2) ...
UInt_t fPDGcode
flag to use selection bit
void SetPtWeightsFromFONLL276overLHC12a17a()
void SetIsPPData(Bool_t flag)
void SetUseNchTrackletsWeight(Bool_t useWeight=kTRUE)
Bool_t fUseMCVertex
flag to remove events not geenrated with PYTHIA
Int_t GetMultiplicityEstimator()
void UserExec(Option_t *option)
TH1F * fHistoMCNch
histogram with measured Nch distribution (pp 7 TeV)
Bool_t GetUseZvtxCorrectedNtrkEstimator()
Bool_t GetUseMotherPtWeight() const
all decays (resonant + non-resonant)
Double_t GetMotherPtWeightFromHistogram(Float_t motherPt)
Int_t fDecayChannel
n. of events
void SetCountLctoLambdapi()
void SetPtWeightsFromFONLL276overLHC12a17b()
Int_t fCountMC
list of profile histos for z-vtx correction
void SetConfiguration(Int_t configuration)
void SetRejectCandidateIfNotFromQuark(Bool_t opt)
void SetUseZWeight(Bool_t useWeight)
TString fDauNames
D meson name.
AliCFTaskVertexingHFCutVarFDSub()
multiplicity estimators
TH1F * fHistoMeasNch
user-defined histogram to calculate the Mother Pt weights
Double_t GetWeight(Float_t pt)
TH1F * fHistoPtWeight
user-defined function to be used to calculate weights
void SetKeepLctoV0bachelor()
TF1 * fFuncWeight
configuration (slow / fast) of the CF –> different variables will be allocated (all / reduced number...
Bool_t GetUseNchTrackletsWeight() const
Bool_t GetUseSelectionBit() const
TH1F * fhBptCutVar
Generator level histogram D0 pt, Nprongs of the decay, Mother pt.
Int_t fCountReco
Reco particle found that satisfy kTPCrefit and kITSrefit.
Bool_t GetFillFromGenerated() const
Bool_t ProcessDs(Int_t returnCodeDs) const
Bool_t fUseAdditionalCuts
flag for pPb data (used for multiplicity corrections)
Bool_t fUseMultRatioAsWeight
flag to decide whether to use Ncharged weights != 1 when filling the container or not ...
TF1 * GetWeightFunction() const
Int_t fGenLctoV0bachelorOption
Lc->V0+bachelor decay option (selection level)
TH1F * fHistoMotherPtWeight
user-defined histogram to calculate the Pt weights
Bool_t fUseTrackletsWeight
flag to decide whether to use Ncharged weights != 1 when filling the container or not ...
Bool_t GetRejectCandidateIfNotFromQuark()
Int_t fEvents
Reco PID step.
Double_t DodzFit(Float_t z, Double_t *par)
void SetMultiplVsZProfileLHC13b(TProfile *hprof)
TH1F * fhBquarkPt
B0 pt spectrum.
void SetCorrelationMatrix(THnSparse *h)
UNFOLDING.
Int_t fMultiplicityEstimator
PDG code.
void SetIsPPbData(Bool_t flag)
AliCFManager * fCFManager
Int_t fLctoV0bachelorOption
resonant deacy channel to be used if the CF should be run on resonant channels only ...
void SetMultiplVsZProfileLHC10d(TProfile *hprof)
Bool_t fUseSelectionBit
Lc->V0+bachelor decay option (generation level)
Bool_t fZvtxCorrectedNtrkEstimator
refrence multiplcity (period b)
Int_t fCountRefit
Reco particle found that satisfy vertex constrained.
void SetUseMCVertex(Bool_t opt)
Double_t fRefMult
TProfile with mult vas. Z per period.
void SetKeepLctoLambdaBarpi()
Double_t GetZWeight(Float_t z, Int_t runnumber)
TList * fQAHists
List with B hadron decays (unique entries)
virtual ~AliCFTaskVertexingHFCutVarFDSub()
TH1I * fHistEventsProcessed
pointer to the CF manager
Int_t fCountRecoPPR
Reco particle found that satisfy cuts in n. of ITS clusters.
Bool_t fUseCutsForTMVA
flag to use additional cuts needed for Lc –> K0S + p, TMVA
void SetCountNonResonantDs()
void SetMCNchHisto(TH1F *h)
Bool_t fUseMotherPtWeight
flag to decide whether to use pt-weights != 1 when filling the container or not
Bool_t fUseZWeight
flag to decide to use a flat pt shape
void SetAcceptanceUnf(Bool_t AcceptanceUnf)
void SetUseSelectionBit(Bool_t flag)
Char_t fSign
daughter in fin state
AliCFTaskVertexingHFCutVarFDSub & operator=(const AliCFTaskVertexingHFCutVarFDSub &c)
Bool_t fUseNchWeight
flag to decide whether to use z-vtx weights != 1 when filling the container or not ...
void CreateMeasuredNchHisto()
slow configuration, all variables
Int_t fCountAcc
MC particle found.
TList * fListProfiles
response matrix for unfolding
THnSparseF * fTHnAnalysis
object for cut variation study
void SetMotherPtWeightsFromFONLL5overLHC13d3()
void SetDselection(UShort_t originDselection)
TProfile * fMultEstimatorAvg[4]
Definition of the multiplicity estimator: kNtrk10=0, kNtrk10to16=1, kVZERO=2.
Int_t fFakeSelection
flag to switch off the centrality selection
Bool_t GetUseNchWeight() const
void SetCountResonantDs()
Bool_t GetUseFlatPtWeight() const
Bool_t GetCentralitySelection()
UInt_t fResonantDecay
histogram with Nch distribution from MC production
Float_t fCutOnMomConservation
flag to define which task to use for Lc –> K0S+p
Bool_t GetUseWeight() const
void SetWeightFunction(TF1 *func)
UInt_t GetResonantDecay() const
AliRDHFCuts * fCuts
flag for unfolding before or after cuts.
void SetMultiplVsZProfileLHC10e(TProfile *hprof)
void SetResonantDecay(UInt_t resonantDecay)
void SetMultiplVsZProfileLHC10c(TProfile *hprof)
Bool_t fUseCascadeTaskForLctoV0bachelor
void SetMultiplVsZProfileLHC10b(TProfile *hprof)
void SetPtWeightsFromFONLL276andBAMPSoverLHC12a17b()
TProfile * GetEstimatorHistogram(const AliVEvent *event)
Int_t fGenDsOption
Ds decay option (selection level)
Int_t fCountRecoPID
Reco particle found that satisfy cuts in PPR.
void SetPtWeightsFromFONLL276overLHC10f6a()
void SetDecayChannel(Int_t decayChannel)
Int_t fDsOption
flag to use MC vertex (useful when runnign in pp)
void SetSign(Char_t isSign)
void UserCreateOutputObjects()
ANALYSIS FRAMEWORK STUFF to loop on data and fill output objects.
Bool_t ProcessLctoV0Bachelor(Int_t returnCodeDs) const
TList * fListBdecays
c quark pt spectrum
TString fPartName
number of variables for the container
void SetPtWeightsFromFONLL7overLHC10f6a()
void SetFakeSelection(Int_t fakeSel=0)
Int_t fCountVertex
MC particle found that satisfy acceptance cuts.
void SetMultiplicityEstimator(Int_t value)
void SetUseFlatPtWeight(Bool_t useWeight)
THnSparseF * fTHnGenerator
Int_t GetConfiguration() const