AliPhysics  58f3d52 (58f3d52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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  virtual void UserCreateOutputObjects();
34  virtual void Init(){};
35  virtual void LocalInit() {Init();}
36  virtual void UserExec(Option_t *option);
37  virtual void Terminate(Option_t *option);
38 
39  private:
40 
41  void FillGenLevelHistos(AliAODEvent* aod, TClonesArray *arrayMC, AliAODMCHeader *mcHeader);
42  void FillCandLevelHistos(Int_t idCase, AliAODEvent* aod, TClonesArray *arrayDcand, TClonesArray *arrayMC);
43 
44  Bool_t CheckAcceptance(TClonesArray* arrayMC,Int_t nProng, Int_t *labDau);
45  AliAODRecoDecayHF* GetRecoDecay(AliAODEvent* aod, Int_t nProng, Int_t *labDau);
46  void MapTrackLabels(AliAODEvent* aod);
47 
50  enum {kDecays=5, kMaxLabel=1000000};
51 
53  TH1F* fHistNEvents;
54  TH1F* fHistNGenD;
61 
69 
71 
76 
78  ClassDef(AliAnalysisTaskDmesonMCPerform,1);
80 };
81 #endif
void SetDplusAnalysisCuts(AliRDHFCutsDplustoKpipi *cts)
Definition: External.C:260
Definition: External.C:236
AliAODRecoDecayHF * GetRecoDecay(AliAODEvent *aod, Int_t nProng, Int_t *labDau)
void SetUseCentrality(Int_t flag=1)
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
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
AliAnalysisTaskDmesonMCPerform & operator=(const AliAnalysisTaskDmesonMCPerform &source)
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)
bool Bool_t
Definition: External.C:53
TH2F * fHistZvtxResVsPt[2 *kDecays]
! hist. for sec vert x resol
Bool_t CheckAcceptance(TClonesArray *arrayMC, Int_t nProng, Int_t *labDau)
TList * fOutput
! list send on output slot 0
Int_t fMapTrLabel[kMaxLabel]
Names of hadron species.