![]() |
AliPhysics
56f1704 (56f1704)
|
#include <AliAnalysisTaskDmesonMCPerform.h>
Public Member Functions | |
AliAnalysisTaskDmesonMCPerform () | |
virtual | ~AliAnalysisTaskDmesonMCPerform () |
void | SetAODMismatchProtection (Int_t opt=1) |
void | SetDplusAnalysisCuts (AliRDHFCutsDplustoKpipi *cts) |
void | SetUseCentrality (Int_t flag) |
virtual void | UserCreateOutputObjects () |
virtual void | Init () |
virtual void | LocalInit () |
virtual void | UserExec (Option_t *option) |
virtual void | Terminate (Option_t *option) |
Private Types | |
enum | { kDecays =5, kMaxLabel =1000000 } |
Private Member Functions | |
void | FillGenLevelHistos (AliAODEvent *aod, TClonesArray *arrayMC, AliAODMCHeader *mcHeader) |
void | FillCandLevelHistos (Int_t idCase, AliAODEvent *aod, TClonesArray *arrayDcand, TClonesArray *arrayMC) |
Bool_t | CheckAcceptance (TClonesArray *arrayMC, Int_t nProng, Int_t *labDau) |
AliAODRecoDecayHF * | GetRecoDecay (AliAODEvent *aod, Int_t nProng, Int_t *labDau) |
void | MapTrackLabels (AliAODEvent *aod) |
AliAnalysisTaskDmesonMCPerform (const AliAnalysisTaskDmesonMCPerform &source) | |
AliAnalysisTaskDmesonMCPerform & | operator= (const AliAnalysisTaskDmesonMCPerform &source) |
Private Attributes | |
TList * | fOutput |
! list send on output slot 0 More... | |
TH1F * | fHistNEvents |
! hist. for N. of events More... | |
TH1F * | fHistNGenD |
! hist. for N. of D's More... | |
TH2F * | fHistNCand |
! hist. for N. of D candidates More... | |
TH3F * | fHistPtYMultGen [2 *kDecays] |
! hist. for generated D More... | |
TH3F * | fHistPtYMultGenDauInAcc [2 *kDecays] |
! hist. for generated D in acc More... | |
TH3F * | fHistPtYMultReco [2 *kDecays] |
! hist. for D with reco daught. More... | |
TH3F * | fHistPtYMultRecoFilt [2 *kDecays] |
! hist. for D candidates More... | |
TH3F * | fHistPtYMultRecoSel [2 *kDecays] |
! hist. for D candidates (sel) More... | |
TH2F * | fHistXvtxResVsPt [2 *kDecays] |
! hist. for sec vert x resol More... | |
TH2F * | fHistYvtxResVsPt [2 *kDecays] |
! hist. for sec vert x resol More... | |
TH2F * | fHistZvtxResVsPt [2 *kDecays] |
! hist. for sec vert x resol More... | |
TH2F * | fHistInvMassVsPt [2 *kDecays] |
! hist. of inv mass (meas) More... | |
TH2F * | fHistDecLenVsPt [2 *kDecays] |
! hist. of decay length (meas) More... | |
TH2F * | fHistNormDLxyVsPt [2 *kDecays] |
! hist. of decay length (meas) More... | |
TH2F * | fHistCosPointVsPt [2 *kDecays] |
! hist. of cos(theta_p) (meas) More... | |
Int_t | fAODProtection |
AliRDHFCutsD0toKpi * | fRDHFCuts |
flag to activate protection against AOD-dAOD mismatch. More... | |
AliRDHFCutsDplustoKpipi * | fRDHFCutsDplus |
Cuts for event selection. More... | |
TString | fPartName [kDecays] |
Cuts for Dplus. More... | |
Int_t | fMapTrLabel [kMaxLabel] |
Names of hadron species. More... | |
Definition at line 20 of file AliAnalysisTaskDmesonMCPerform.h.
|
private |
Enumerator | |
---|---|
kDecays | |
kMaxLabel |
Definition at line 50 of file AliAnalysisTaskDmesonMCPerform.h.
AliAnalysisTaskDmesonMCPerform::AliAnalysisTaskDmesonMCPerform | ( | ) |
Default constructor
Definition at line 43 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by LocalInit().
|
virtual |
Destructor
Definition at line 76 of file AliAnalysisTaskDmesonMCPerform.cxx.
|
private |
|
private |
check if the decay products are in the good eta and pt range
Definition at line 471 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by FillGenLevelHistos(), and LocalInit().
|
private |
fill histograms starting from candidates in deltaAODs.
Definition at line 361 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by LocalInit(), and UserExec().
|
private |
fill histograms starting from generated particles
Definition at line 293 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by LocalInit(), and UserExec().
|
private |
create the AliAODRecoDecayHF object fromt he tracks
Definition at line 499 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by FillGenLevelHistos(), and LocalInit().
|
inlinevirtual |
Definition at line 34 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by LocalInit().
|
inlinevirtual |
Definition at line 35 of file AliAnalysisTaskDmesonMCPerform.h.
|
private |
Fill array of correspondence track lables <-> id
Definition at line 483 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by LocalInit(), and UserExec().
|
private |
Referenced by LocalInit().
|
inline |
Definition at line 26 of file AliAnalysisTaskDmesonMCPerform.h.
|
inline |
Definition at line 27 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by AddTaskDmesonMCPerform().
|
inline |
Definition at line 30 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by AddTaskDmesonMCPerform().
|
virtual |
Terminate analysis
Definition at line 528 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by LocalInit().
|
virtual |
Create the output container
Definition at line 105 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by SetUseCentrality().
|
virtual |
Execute analysis for current event: heavy flavor candidates association to MC truth
Definition at line 187 of file AliAnalysisTaskDmesonMCPerform.cxx.
Referenced by LocalInit().
|
private |
Definition at line 70 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by SetAODMismatchProtection(), and UserExec().
! hist. of cos(theta_p) (meas)
Definition at line 68 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. of decay length (meas)
Definition at line 66 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. of inv mass (meas)
Definition at line 65 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
|
private |
! hist. for N. of D candidates
Definition at line 55 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
|
private |
! hist. for N. of events
Definition at line 53 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskDmesonMCPerform().
|
private |
! hist. for N. of D's
Definition at line 54 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillGenLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. of decay length (meas)
Definition at line 67 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for generated D
Definition at line 56 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillGenLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for generated D in acc
Definition at line 57 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillGenLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for D with reco daught.
Definition at line 58 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillGenLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for D candidates
Definition at line 59 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for D candidates (sel)
Definition at line 60 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for sec vert x resol
Definition at line 62 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for sec vert x resol
Definition at line 63 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
! hist. for sec vert x resol
Definition at line 64 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), UserCreateOutputObjects(), and ~AliAnalysisTaskDmesonMCPerform().
Names of hadron species.
Definition at line 75 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by GetRecoDecay(), MapTrackLabels(), and UserExec().
|
private |
! list send on output slot 0
Definition at line 52 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskDmesonMCPerform().
Cuts for Dplus.
Definition at line 74 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by AliAnalysisTaskDmesonMCPerform(), and UserCreateOutputObjects().
|
private |
flag to activate protection against AOD-dAOD mismatch.
Definition at line 72 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by AliAnalysisTaskDmesonMCPerform(), FillCandLevelHistos(), FillGenLevelHistos(), SetUseCentrality(), UserExec(), and ~AliAnalysisTaskDmesonMCPerform().
|
private |
Cuts for event selection.
Definition at line 73 of file AliAnalysisTaskDmesonMCPerform.h.
Referenced by FillCandLevelHistos(), and SetDplusAnalysisCuts().