![]() |
AliPhysics
a4b41ad (a4b41ad)
|
#include <AliAnalysisTaskSED0MassNonPromptFraction.h>
Public Types | |
enum | { kD0, kLS } |
Private Member Functions | |
AliAnalysisTaskSED0MassNonPromptFraction (const AliAnalysisTaskSED0MassNonPromptFraction &source) | |
AliAnalysisTaskSED0MassNonPromptFraction & | operator= (const AliAnalysisTaskSED0MassNonPromptFraction &source) |
void | DrawDetSignal (AliAODRecoDecayHF2Prong *part, TList *ListDetSignal) |
void | FillMassHists (AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC, AliAODMCHeader *mcHeader, AliRDHFCutsD0toKpi *cuts, TList *listout) |
void | FillMCGenHists (AliAODEvent *aod, TClonesArray *arrMC, 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... | |
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 | fFillAfterCuts |
selection outcome More... | |
Bool_t | fFillVarHists |
flag for filling var hists only after cuts More... | |
Bool_t | fFill |
flag to enable filling variable histos More... | |
Int_t | fSys |
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 | fUseQuarkTagInKine |
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... | |
TList * | fDetSignal |
flag to decide whether to draw the TPC dE/dx and TOF signal before/after PID More... | |
TH2F * | fhMultVZEROTPCoutTrackCorrNoCut |
! More... | |
TH2F * | fhMultVZEROTPCoutTrackCorr |
! More... | |
Bool_t | fEnablePileupRejVZEROTPCout |
Definition at line 32 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
anonymous enum |
Enumerator | |
---|---|
kD0 | |
kLS |
Definition at line 49 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
AliAnalysisTaskSED0MassNonPromptFraction::AliAnalysisTaskSED0MassNonPromptFraction | ( | ) |
Default constructor
Definition at line 69 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
AliAnalysisTaskSED0MassNonPromptFraction::AliAnalysisTaskSED0MassNonPromptFraction | ( | const char * | name, |
AliRDHFCutsD0toKpi * | cuts | ||
) |
Default constructor
Definition at line 114 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
|
virtual |
Definition at line 181 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
|
private |
|
private |
checking whether the mother of the particles come from a charm or a bottom quark
Definition at line 3503 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
|
private |
Histos for impact paramter study
Definition at line 3426 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by UserCreateOutputObjects().
|
private |
Function called in UserExec for drawing detector signal histograms:
Definition at line 1627 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by UserExec().
|
private |
function used in UserExec to fill mass histograms:
Definition at line 2918 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by UserExec().
|
private |
Definition at line 1512 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by UserExec().
|
private |
function used in UserExec to fill variable histograms:
Definition at line 1665 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by UserExec().
|
inline |
Definition at line 71 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 83 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 82 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 77 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 73 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 75 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 74 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 76 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 84 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
private |
Calculate the primary vertex w/o the daughter tracks of the candidate
Definition at line 3245 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by FillVarHists().
|
inline |
Definition at line 79 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 78 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
private |
true impact parameter calculation
Definition at line 3460 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by FillMassHists().
|
inline |
Definition at line 72 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 80 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 81 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
virtual |
Initialization
Definition at line 235 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
Referenced by LocalInit().
|
inlinevirtual |
Definition at line 44 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
private |
|
inline |
Definition at line 66 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 48 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 52 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 64 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 56 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 59 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 54 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 57 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 55 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction(), and SetSystem().
|
inline |
Definition at line 58 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 65 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 51 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 61 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 60 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 53 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AddTaskD0MassNonPromptFraction().
|
inline |
Definition at line 67 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 62 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
inline |
Definition at line 63 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
virtual |
Terminate analysis
Definition at line 3295 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
|
virtual |
Implementation of interface methods.
Create the output container
Definition at line 253 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
|
virtual |
Execute analysis for current event: heavy flavor candidates association to MC truth
Definition at line 1250 of file AliAnalysisTaskSED0MassNonPromptFraction.cxx.
|
private |
flag to check or not the selection bit
Definition at line 126 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by SetAODMismatchProtection(), and UserExec().
|
private |
Definition at line 107 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), FillVarHists(), SetArray(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
private |
! variables to be written to the tree
Definition at line 131 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillVarHists(), and UserCreateOutputObjects().
|
private |
! AliNormalizationCounter on output slot 5
Definition at line 111 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
flag for MC array: kTRUE = read it, kFALSE = do not read it
Definition at line 109 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillVarHists(), GetCutOnDistr(), and SetCutOnDistr().
|
private |
Definition at line 105 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AliAnalysisTaskSED0MassNonPromptFraction(), DrawDetSignal(), FillMassHists(), FillVarHists(), Init(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
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 115 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by DrawDetSignal(), FillMassHists(), FillVarHists(), GetPrimaryVtxSkipped(), and UserExec().
|
private |
flag to decide whether to draw the TPC dE/dx and TOF signal before/after PID
!Detector signal histograms (on output slot 8)
Definition at line 134 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
! list send on output slot 2
Definition at line 103 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
flag to decide whether to fill "PID = x" bins in fNentrie
Definition at line 133 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by GetDrawDetSignal(), SetDrawDetSignal(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
private |
Definition at line 138 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by UserExec().
|
private |
flag to enable filling variable histos
Definition at line 119 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
|
private |
selection outcome
Definition at line 117 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by GetFillAfterCuts(), SetFillAfterCuts(), and UserExec().
|
private |
flag to fill Y Histograms
Definition at line 124 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), GetFillImpactParameterHistos(), SetFillImpactParameterHistos(), Terminate(), and UserCreateOutputObjects().
|
private |
normalization
Definition at line 114 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), FillVarHists(), GetFillOnlyD0D0bar(), and SetFillOnlyD0D0bar().
|
private |
flag to reject events with SDD clusters
Definition at line 122 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), FillVarHists(), GetFillPtHistos(), SetFillPtHistos(), Terminate(), and UserCreateOutputObjects().
|
private |
flag for filling var hists only after cuts
Definition at line 118 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), GetFillVarHists(), SetFillVarHists(), Terminate(), UserCreateOutputObjects(), and UserExec().
|
private |
flag to fill Pt and Impact Parameter Histograms
Definition at line 123 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), GetFillYHistos(), SetFillYHistos(), Terminate(), and UserCreateOutputObjects().
|
private |
! histograms for impact paramter studies
Definition at line 106 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AliAnalysisTaskSED0MassNonPromptFraction(), CreateImpactParameterHistos(), FillMassHists(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
!
Definition at line 137 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
!
Definition at line 136 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
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 121 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by GetRejectSDDClusters(), SetRejectSDDClusters(), UserCreateOutputObjects(), and UserExec().
|
private |
keeps the daughter tracks
Definition at line 116 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), FillVarHists(), and UserExec().
|
private |
number of pt bins
Definition at line 113 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by Terminate().
|
private |
! histogram with number of events on output slot 3
Definition at line 104 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), FillVarHists(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
Definition at line 112 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
! list send on output slot 1
Definition at line 100 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillVarHists(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
! list send on output slot 6
Definition at line 101 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by CreateImpactParameterHistos(), FillMassHists(), FillVarHists(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
! list send on output slot 9
Definition at line 102 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), Terminate(), UserCreateOutputObjects(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
Definition at line 132 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillVarHists(), GetPIDCheck(), SetPIDCheck(), UserCreateOutputObjects(), and UserExec().
|
private |
can be D0 or Like Sign candidates
Definition at line 108 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by DrawDetSignal(), FillMassHists(), FillVarHists(), SetReadMC(), UserCreateOutputObjects(), and UserExec().
|
private |
Definition at line 120 of file AliAnalysisTaskSED0MassNonPromptFraction.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 110 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by DrawDetSignal(), FillVarHists(), GetUsePid4Distr(), SetUsePid4Distr(), and UserExec().
|
private |
Definition at line 127 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillMassHists(), FillMCGenHists(), FillVarHists(), and SetUseQuarkLevelTag().
|
private |
flag to fill Pt and Impact Parameter Histograms
Definition at line 125 of file AliAnalysisTaskSED0MassNonPromptFraction.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 130 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillVarHists(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0MassNonPromptFraction().
|
private |
Definition at line 129 of file AliAnalysisTaskSED0MassNonPromptFraction.h.
Referenced by FillVarHists(), GetWriteVariableTree(), and SetWriteVariableTree().