AliPhysics  84d6c4a (84d6c4a)
AliAnalysisTaskDmesonMCPerform.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKDMESONMCPERFORM_H
2 #define ALIANALYSISTASKDMESONMCPERFORM_H
3 
4 /* Copyright(c) 1998-2018, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice */
6 
7 //*************************************************************************
12 //*************************************************************************
13 
14 #include "AliAnalysisTaskSE.h"
15 #include "AliRDHFCutsD0toKpi.h"
17 #include "TH3F.h"
18 #include "TH1F.h"
19 
21 {
22  public:
25 
28  fRDHFCutsDplus=cts;
29  }
30  void SetUseCentrality(Int_t flag){
32  }
33  void SetPtBinning(Int_t nbins, Double_t minpt, Double_t maxpt){
34  fNPtBins=nbins; fMinPt=minpt; fMaxPt=maxpt;
35  }
38  }
39  virtual void UserCreateOutputObjects();
40  virtual void Init(){};
41  virtual void LocalInit() {Init();}
42  virtual void UserExec(Option_t *option);
43  virtual void Terminate(Option_t *option);
44 
46 
47  private:
48 
49  void FillGenLevelHistos(AliAODEvent* aod, TClonesArray *arrayMC, AliAODMCHeader *mcHeader);
50  void FillCandLevelHistos(Int_t idCase, AliAODEvent* aod, TClonesArray *arrayDcand, TClonesArray *arrayMC);
51 
52  Bool_t CheckAcceptance(TClonesArray* arrayMC,Int_t nProng, Int_t *labDau);
53  AliAODRecoDecayHF* GetRecoDecay(AliAODEvent* aod, Int_t nProng, Int_t *labDau);
54  void MapTrackLabels(AliAODEvent* aod);
55 
58  enum {kDecays=6, kMaxLabel=1000000};
59 
61  TH1F* fHistNEvents;
62  TH1F* fHistNGenD;
69 
85 
90 
92 
97 
101 };
102 #endif
void SetDplusAnalysisCuts(AliRDHFCutsDplustoKpipi *cts)
void SetPtBinning(Int_t nbins, Double_t minpt, Double_t maxpt)
TH2F * fHistYvtxResRotVsPt[2 *kDecays]
! hist. for sec vert x resol
double Double_t
Definition: External.C:58
Definition: External.C:260
Definition: External.C:236
TH3F * fHistZvtxResVsDecLenVsPt[2 *kDecays]
! hist. for sec vert x resol
AliAODRecoDecayHF * GetRecoDecay(AliAODEvent *aod, Int_t nProng, Int_t *labDau)
TH3F * fHistYvtxResVsDecLenVsPt[2 *kDecays]
! hist. for sec vert x resol
void SetUseCentrality(Int_t flag=1)
TH2F * fHistXvtxResRotVsPt[2 *kDecays]
! hist. for sec vert x resol
TH2F * fHistXvtxResVsPt[2 *kDecays]
! hist. for sec vert x resol
TH3F * fHistPtYMultRecoFilt[2 *kDecays]
! hist. for D candidates
TH3F * fHistPtYMultRecoSel[2 *kDecays]
! hist. for D candidates (sel)
TH2F * fHistDecLenVsPt[2 *kDecays]
! hist. of decay length (meas)
TH3F * fHistPtYMultGen[2 *kDecays]
! hist. for generated D
Int_t fAODProtection
flag to control the additional info
AliRDHFCutsD0toKpi * fRDHFCuts
flag to activate protection against AOD-dAOD mismatch.
TString fPartName[kDecays]
Cuts for Dplus.
AliRDHFCutsDplustoKpipi * fRDHFCutsDplus
Cuts for event selection.
TH2F * fHistNormDLxyVsPt[2 *kDecays]
! hist. of decay length (meas)
Class for cuts on AOD reconstructed D+->Kpipi.
int Int_t
Definition: External.C:63
TH2F * fHistNCand
! hist. for N. of D candidates
TH2F * fHistZvtxResVsPhi[2 *kDecays]
! hist. for sec vert x resol
AliAnalysisTaskDmesonMCPerform & operator=(const AliAnalysisTaskDmesonMCPerform &source)
Double_t fMinPt
number of pt bins in histos
TH2F * fHistInvMassVsPt[2 *kDecays]
! hist. of inv mass (meas)
void FillCandLevelHistos(Int_t idCase, AliAODEvent *aod, TClonesArray *arrayDcand, TClonesArray *arrayMC)
TH3F * fHistPtYMultGenDauInAcc[2 *kDecays]
! hist. for generated D in acc
TH1F * fHistNEvents
! hist. for N. of events
void FillGenLevelHistos(AliAODEvent *aod, TClonesArray *arrayMC, AliAODMCHeader *mcHeader)
TH3F * fHistPtYMultReco[2 *kDecays]
! hist. for D with reco daught.
TH2F * fHistYvtxResVsPt[2 *kDecays]
! hist. for sec vert x resol
const char Option_t
Definition: External.C:48
TH2F * fHistCosPointVsPt[2 *kDecays]
! hist. of cos(theta_p) (meas)
TH1F * fHistNGenD
! hist. for N. of D's
const Int_t nbins
TH2F * fHistYvtxResVsPhi[2 *kDecays]
! hist. for sec vert x resol
bool Bool_t
Definition: External.C:53
TH2F * fHistZvtxResVsPt[2 *kDecays]
! hist. for sec vert x resol
TH2F * fHistXvtxResVsPhi[2 *kDecays]
! hist. for sec vert x resol
Bool_t CheckAcceptance(TClonesArray *arrayMC, Int_t nProng, Int_t *labDau)
TH3F * fHistXvtxResVsDecLenVsPt[2 *kDecays]
! hist. for sec vert x resol
TList * fOutput
! list send on output slot 0
Int_t fMapTrLabel[kMaxLabel]
Names of hadron species.