![]() |
AliPhysics
a56b849 (a56b849)
|
#include <AliAnalysisTaskSED0Mass.h>
Public Types | |
enum | { kD0, kLS } |
Private Member Functions | |
AliAnalysisTaskSED0Mass (const AliAnalysisTaskSED0Mass &source) | |
AliAnalysisTaskSED0Mass & | operator= (const AliAnalysisTaskSED0Mass &source) |
void | DrawDetSignal (AliAODRecoDecayHF2Prong *part, TList *ListDetSignal) |
void | FillMassHists (AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC, AliAODMCHeader *mcHeader, AliRDHFCutsD0toKpi *cuts, TList *listout) |
void | FillVarHists (AliAODEvent *aodev, AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC, AliRDHFCutsD0toKpi *cuts, TList *listout) |
AliAODVertex * | GetPrimaryVtxSkipped (AliAODEvent *aodev) |
void | CreateImpactParameterHistos () |
Int_t | CheckOrigin (TClonesArray *arrayMC, AliAODMCParticle *mcPartCandidate) const |
Float_t | GetTrueImpactParameter (AliAODMCHeader *mcHeader, TClonesArray *arrayMC, AliAODMCParticle *partD0) const |
Private Attributes | |
TList * | fOutputMass |
! list send on output slot 1 More... | |
TList * | fOutputMassPt |
! list send on output slot 6 More... | |
TList * | fOutputMassY |
! list send on output slot 9 More... | |
TList * | fDistr |
! list send on output slot 2 More... | |
TH1F * | fNentries |
! histogram with number of events on output slot 3 More... | |
THnSparseF * | fMCAccPrompt |
!histo for StepMCAcc for D0 prompt (pt,y,ptB) More... | |
THnSparseF * | fMCAccBFeed |
!histo for StepMCAcc for D0 FD (pt,y,ptB) More... | |
Bool_t | fStepMCAcc |
AliRDHFCutsD0toKpi * | fCuts |
THnSparseF * | fHistMassPtImpParTC [5] |
! histograms for impact paramter studies More... | |
Int_t | fArray |
Bool_t | fReadMC |
can be D0 or Like Sign candidates More... | |
Bool_t | fCutOnDistr |
flag for MC array: kTRUE = read it, kFALSE = do not read it More... | |
Bool_t | fUsePid4Distr |
flag to decide if apply cut also on distributions: 0 no cuts, 1 looser cuts, 2 tighter/ cuts More... | |
AliNormalizationCounter * | fCounter |
! AliNormalizationCounter on output slot 5 More... | |
Int_t | fNPtBins |
Double_t | fLsNormalization |
number of pt bins More... | |
Int_t | fFillOnlyD0D0bar |
normalization More... | |
TObjArray | fDaughterTracks |
flag to fill mass histogram with D0/D0bar only (0 = fill with both, 1 = fill with D0 only, 2 = fill with D0bar only) More... | |
Int_t | fIsSelectedCandidate |
keeps the daughter tracks More... | |
Bool_t | fFillVarHists |
selection outcome More... | |
Int_t | fSys |
flag to enable filling variable histos More... | |
Bool_t | fIsRejectSDDClusters |
fSys=0 -> p-p; fSys=1 ->PbPb (in this case fFillVarHists=kFALSE by default: set it to kTRUE after if needed) More... | |
Bool_t | fFillPtHist |
flag to reject events with SDD clusters More... | |
Bool_t | fFillYHist |
flag to fill Pt and Impact Parameter Histograms More... | |
Bool_t | fFillImpParHist |
flag to fill Y Histograms More... | |
Bool_t | fUseSelectionBit |
flag to fill Pt and Impact Parameter Histograms More... | |
Int_t | fAODProtection |
flag to check or not the selection bit More... | |
Bool_t | fWriteVariableTree |
TTree * | fVariablesTree |
flag to decide whether to write the candidate variables on a tree variables More... | |
Double_t * | fCandidateVariables |
! variables to be written to the tree More... | |
Bool_t | fPIDCheck |
Bool_t | fDrawDetSignal |
flag to decide whether to fill "PID = x" bins in fNentrie More... | |
Bool_t | fUseQuarkTagInKine |
flag to decide whether to draw the TPC dE/dx and TOF signal before/after PID More... | |
Bool_t | fFillSparses |
THnSparseF * | fhStudyImpParSingleTrackSign |
! sparse with imp par residual cuts for MC More... | |
THnSparseF * | fhStudyImpParSingleTrackCand |
! sparse with imp par residual cuts for Data More... | |
THnSparseF * | fhStudyImpParSingleTrackFd |
! sparse with imp par residual cuts for MC More... | |
TList * | fDetSignal |
!Detector signal histograms (on output slot 8) More... | |
TH2F * | fhMultVZEROTPCoutTrackCorrNoCut |
! More... | |
TH2F * | fhMultVZEROTPCoutTrackCorr |
! More... | |
Bool_t | fEnablePileupRejVZEROTPCout |
Definition at line 31 of file AliAnalysisTaskSED0Mass.h.
anonymous enum |
Enumerator | |
---|---|
kD0 | |
kLS |
Definition at line 53 of file AliAnalysisTaskSED0Mass.h.
AliAnalysisTaskSED0Mass::AliAnalysisTaskSED0Mass | ( | ) |
Default constructor
Definition at line 66 of file AliAnalysisTaskSED0Mass.cxx.
AliAnalysisTaskSED0Mass::AliAnalysisTaskSED0Mass | ( | const char * | name, |
AliRDHFCutsD0toKpi * | cuts | ||
) |
Default constructor
Definition at line 116 of file AliAnalysisTaskSED0Mass.cxx.
|
virtual |
Definition at line 188 of file AliAnalysisTaskSED0Mass.cxx.
|
private |
check if the decay products are in the good eta and pt range
Definition at line 2797 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by FillMCAcceptanceHistos().
|
private |
checking whether the mother of the particles come from a charm or a bottom quark
Definition at line 2685 of file AliAnalysisTaskSED0Mass.cxx.
|
private |
Histos for impact paramter study
Definition at line 2608 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by UserCreateOutputObjects().
void AliAnalysisTaskSED0Mass::CreateMCAcceptanceHistos | ( | ) |
Histos for MC Acceptance histos
Definition at line 2719 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by UserCreateOutputObjects().
|
private |
Function called in UserExec for drawing detector signal histograms:
Definition at line 1315 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by UserExec().
|
private |
function used in UserExec to fill mass histograms:
Definition at line 2098 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by UserExec().
void AliAnalysisTaskSED0Mass::FillMCAcceptanceHistos | ( | TClonesArray * | arrayMC, |
AliAODMCHeader * | mcHeader | ||
) |
Fill MC acceptance histos for cuts study
Definition at line 2749 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by UserExec().
|
private |
function used in UserExec to fill variable histograms:
Definition at line 1353 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by UserExec().
|
inline |
Definition at line 76 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 87 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 82 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 78 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 80 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 79 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 81 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 88 of file AliAnalysisTaskSED0Mass.h.
|
private |
Calculate the primary vertex w/o the daughter tracks of the candidate
Definition at line 2427 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by FillVarHists().
|
inline |
Definition at line 84 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 83 of file AliAnalysisTaskSED0Mass.h.
|
private |
true impact parameter calculation
Definition at line 2642 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by FillMassHists().
|
inline |
Definition at line 77 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 85 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 86 of file AliAnalysisTaskSED0Mass.h.
|
virtual |
Initialization
Definition at line 247 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by LocalInit().
|
inlinevirtual |
Definition at line 43 of file AliAnalysisTaskSED0Mass.h.
void AliAnalysisTaskSED0Mass::NormIPvar | ( | AliAODEvent * | aod, |
AliAODRecoDecayHF2Prong * | part, | ||
TClonesArray * | arrMC | ||
) |
Definition at line 2809 of file AliAnalysisTaskSED0Mass.cxx.
Referenced by UserExec().
|
private |
|
inline |
Definition at line 72 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 52 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 57 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 56 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 69 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 63 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 59 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 61 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 64 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 60 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass(), and SetSystem().
|
inline |
Definition at line 62 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 70 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 73 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 55 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 66 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 65 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 58 of file AliAnalysisTaskSED0Mass.h.
Referenced by AddTaskD0Mass().
|
inline |
Definition at line 71 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 67 of file AliAnalysisTaskSED0Mass.h.
|
inline |
Definition at line 68 of file AliAnalysisTaskSED0Mass.h.
|
virtual |
Terminate analysis
Definition at line 2477 of file AliAnalysisTaskSED0Mass.cxx.
|
virtual |
Implementation of interface methods.
Create the output container
Definition at line 265 of file AliAnalysisTaskSED0Mass.cxx.
|
virtual |
Execute analysis for current event: heavy flavor candidates association to MC truth
Definition at line 1065 of file AliAnalysisTaskSED0Mass.cxx.
|
private |
flag to check or not the selection bit
Definition at line 130 of file AliAnalysisTaskSED0Mass.h.
Referenced by SetAODMismatchProtection(), and UserExec().
|
private |
Definition at line 113 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), FillVarHists(), SetArray(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
private |
! variables to be written to the tree
Definition at line 135 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), and UserCreateOutputObjects().
|
private |
! AliNormalizationCounter on output slot 5
Definition at line 117 of file AliAnalysisTaskSED0Mass.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
flag for MC array: kTRUE = read it, kFALSE = do not read it
Definition at line 115 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillVarHists(), GetCutOnDistr(), and SetCutOnDistr().
|
private |
Definition at line 111 of file AliAnalysisTaskSED0Mass.h.
Referenced by AliAnalysisTaskSED0Mass(), DrawDetSignal(), FillMassHists(), FillMCAcceptanceHistos(), FillVarHists(), Init(), NormIPvar(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
flag to fill mass histogram with D0/D0bar only (0 = fill with both, 1 = fill with D0 only, 2 = fill with D0bar only)
Definition at line 121 of file AliAnalysisTaskSED0Mass.h.
Referenced by DrawDetSignal(), FillVarHists(), GetPrimaryVtxSkipped(), and UserExec().
|
private |
!Detector signal histograms (on output slot 8)
Definition at line 143 of file AliAnalysisTaskSED0Mass.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
! list send on output slot 2
Definition at line 106 of file AliAnalysisTaskSED0Mass.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
flag to decide whether to fill "PID = x" bins in fNentrie
Definition at line 137 of file AliAnalysisTaskSED0Mass.h.
Referenced by GetDrawDetSignal(), SetDrawDetSignal(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
private |
Definition at line 146 of file AliAnalysisTaskSED0Mass.h.
Referenced by SetPileupRejectionVZEROTPCout(), and UserExec().
|
private |
flag to fill Y Histograms
Definition at line 128 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), GetFillImpactParameterHistos(), SetFillImpactParameterHistos(), Terminate(), and UserCreateOutputObjects().
|
private |
normalization
Definition at line 120 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), GetFillOnlyD0D0bar(), NormIPvar(), and SetFillOnlyD0D0bar().
|
private |
flag to reject events with SDD clusters
Definition at line 126 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), FillVarHists(), GetFillPtHistos(), SetFillPtHistos(), Terminate(), and UserCreateOutputObjects().
|
private |
Definition at line 139 of file AliAnalysisTaskSED0Mass.h.
Referenced by SetFillSparses(), UserCreateOutputObjects(), and UserExec().
|
private |
selection outcome
Definition at line 123 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), GetFillVarHists(), SetFillVarHists(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
private |
flag to fill Pt and Impact Parameter Histograms
Definition at line 127 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), GetFillYHistos(), SetFillYHistos(), Terminate(), and UserCreateOutputObjects().
|
private |
! histograms for impact paramter studies
Definition at line 112 of file AliAnalysisTaskSED0Mass.h.
Referenced by AliAnalysisTaskSED0Mass(), CreateImpactParameterHistos(), FillMassHists(), and ~AliAnalysisTaskSED0Mass().
|
private |
!
Definition at line 145 of file AliAnalysisTaskSED0Mass.h.
Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
!
Definition at line 144 of file AliAnalysisTaskSED0Mass.h.
Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
! sparse with imp par residual cuts for Data
Definition at line 141 of file AliAnalysisTaskSED0Mass.h.
Referenced by NormIPvar(), UserCreateOutputObjects(), and ~AliAnalysisTaskSED0Mass().
|
private |
! sparse with imp par residual cuts for MC
Definition at line 142 of file AliAnalysisTaskSED0Mass.h.
Referenced by NormIPvar(), UserCreateOutputObjects(), and ~AliAnalysisTaskSED0Mass().
|
private |
! sparse with imp par residual cuts for MC
Definition at line 140 of file AliAnalysisTaskSED0Mass.h.
Referenced by NormIPvar(), UserCreateOutputObjects(), and ~AliAnalysisTaskSED0Mass().
|
private |
fSys=0 -> p-p; fSys=1 ->PbPb (in this case fFillVarHists=kFALSE by default: set it to kTRUE after if needed)
Definition at line 125 of file AliAnalysisTaskSED0Mass.h.
Referenced by GetRejectSDDClusters(), SetRejectSDDClusters(), UserCreateOutputObjects(), and UserExec().
|
private |
keeps the daughter tracks
Definition at line 122 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), FillVarHists(), and UserExec().
|
private |
number of pt bins
Definition at line 119 of file AliAnalysisTaskSED0Mass.h.
Referenced by Terminate().
|
private |
!histo for StepMCAcc for D0 FD (pt,y,ptB)
Definition at line 109 of file AliAnalysisTaskSED0Mass.h.
Referenced by CreateMCAcceptanceHistos(), FillMCAcceptanceHistos(), and ~AliAnalysisTaskSED0Mass().
|
private |
!histo for StepMCAcc for D0 prompt (pt,y,ptB)
Definition at line 108 of file AliAnalysisTaskSED0Mass.h.
Referenced by CreateMCAcceptanceHistos(), FillMCAcceptanceHistos(), and ~AliAnalysisTaskSED0Mass().
|
private |
! histogram with number of events on output slot 3
Definition at line 107 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), FillVarHists(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
Definition at line 118 of file AliAnalysisTaskSED0Mass.h.
Referenced by AliAnalysisTaskSED0Mass().
|
private |
! list send on output slot 1
Definition at line 103 of file AliAnalysisTaskSED0Mass.h.
Referenced by CreateMCAcceptanceHistos(), FillVarHists(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
! list send on output slot 6
Definition at line 104 of file AliAnalysisTaskSED0Mass.h.
Referenced by CreateImpactParameterHistos(), FillMassHists(), FillVarHists(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
! list send on output slot 9
Definition at line 105 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), Terminate(), UserCreateOutputObjects(), and ~AliAnalysisTaskSED0Mass().
|
private |
Definition at line 136 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillVarHists(), GetPIDCheck(), SetPIDCheck(), UserCreateOutputObjects(), and UserExec().
|
private |
can be D0 or Like Sign candidates
Definition at line 114 of file AliAnalysisTaskSED0Mass.h.
Referenced by DrawDetSignal(), FillMassHists(), FillVarHists(), NormIPvar(), SetReadMC(), UserCreateOutputObjects(), and UserExec().
|
private |
Definition at line 110 of file AliAnalysisTaskSED0Mass.h.
Referenced by SetDoMCAcceptanceHistos(), UserCreateOutputObjects(), and UserExec().
|
private |
flag to enable filling variable histos
Definition at line 124 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), FillVarHists(), GetSystem(), SetSystem(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
private |
flag to decide if apply cut also on distributions: 0 no cuts, 1 looser cuts, 2 tighter/ cuts
Definition at line 116 of file AliAnalysisTaskSED0Mass.h.
Referenced by DrawDetSignal(), FillVarHists(), GetUsePid4Distr(), SetUsePid4Distr(), and UserExec().
|
private |
flag to decide whether to draw the TPC dE/dx and TOF signal before/after PID
Definition at line 138 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), FillMCAcceptanceHistos(), NormIPvar(), and SetUseQuarkLevelTag().
|
private |
flag to fill Pt and Impact Parameter Histograms
Definition at line 129 of file AliAnalysisTaskSED0Mass.h.
Referenced by GetUseSelectionBit(), SetUseSelectionBit(), and UserExec().
|
private |
flag to decide whether to write the candidate variables on a tree variables
! tree of the candidate variables after track selection on output slot 7
Definition at line 134 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0Mass().
|
private |
flag to activate protection against AOD-dAOD mismatch. -1: no protection, 0: check AOD/dAOD nEvents only, 1: check AOD/dAOD nEvents + TProcessID names
Definition at line 133 of file AliAnalysisTaskSED0Mass.h.
Referenced by FillMassHists(), GetWriteVariableTree(), and SetWriteVariableTree().