AliPhysics  master (3d17d9d)
AliAnalysisTaskSED0BDT Class Reference

#include <AliAnalysisTaskSED0BDT.h>

Inheritance diagram for AliAnalysisTaskSED0BDT:

Public Types

enum  { kD0, kLS }
 

Public Member Functions

 AliAnalysisTaskSED0BDT ()
 
 AliAnalysisTaskSED0BDT (const char *name, AliRDHFCutsD0toKpi *cuts)
 
virtual ~AliAnalysisTaskSED0BDT ()
 
virtual void UserCreateOutputObjects ()
 Implementation of interface methods. More...
 
virtual void Init ()
 
virtual void LocalInit ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *option)
 
void CreateMCAcceptanceHistos ()
 
Bool_t CheckAcc (TClonesArray *arrayMC, Int_t nProng, Int_t *labDau)
 
void FillMCAcceptanceHistos (TClonesArray *arrayMC, AliAODMCHeader *mcHeader)
 
void ProcessBDT (AliAODEvent *aod, AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC)
 
void SetArray (Int_t type=AliAnalysisTaskSED0BDT::kD0)
 
void SetReadMC (Bool_t readMC=kFALSE)
 
void SetDoMCAcceptanceHistos (Bool_t doMCAcc=kTRUE)
 
void SetCutOnDistr (Bool_t cutondistr=kFALSE)
 
void SetUsePid4Distr (Bool_t usepid=kTRUE)
 
void SetFillOnlyD0D0bar (Int_t flagfill)
 
void SetFillVarHists (Bool_t flag)
 
void SetFillPtHistos (Bool_t flag)
 
void SetFillYHistos (Bool_t flag)
 
void SetFillImpactParameterHistos (Bool_t flag)
 
void SetFillSparses (Bool_t flag)
 
void SetUseRejectionMethod (Bool_t flag=kFALSE, Float_t factor=0.01)
 
void SetSystem (Int_t sys)
 
void SetRejectSDDClusters (Bool_t flag)
 
void SetUseSelectionBit (Bool_t flag)
 
void SetWriteVariableTree (Bool_t flag)
 
void SetWriteProtosgnVar (Bool_t flag)
 
void SetSelectTrueD0 (Bool_t flag)
 
void SetUseMassWindow (Bool_t flag)
 
void SetDrawDetSignal (Bool_t flag)
 
void SetPIDCheck (Bool_t flag)
 
void SetUseQuarkLevelTag (Bool_t opt)
 
void SetAODMismatchProtection (Int_t opt=1)
 
void SetPileupRejectionVZEROTPCout (Bool_t flag)
 
void SetPileupRejectionVZEROTPCcls (Bool_t flag, Bool_t rejpileup)
 
void SetFillSubSampleHist (Bool_t flag)
 
void SetBDTPtCut (Double_t min, Double_t max)
 
void SetBDTRespCut (Double_t cut)
 
void SetBDTSidebandCut (Double_t lcut, Double_t rcut)
 
void SetBDTSidebandSamplingFraction (Double_t f)
 
void SetBDTSampleSideband (Bool_t sb)
 
void SetBDTGetRespTree (Bool_t rt)
 
void SetBDTFullVarString (TString str)
 
void SetBDTClassifierVarString (TString str)
 
void SetBDTList (TList *bdtlist)
 
void SetEnableCentralityCorrCutsPbPb (Bool_t flag=kFALSE, Int_t year=2018)
 
Bool_t GetCutOnDistr () const
 
Bool_t GetUsePid4Distr () const
 
Int_t GetFillOnlyD0D0bar () const
 
Bool_t GetFillVarHists () const
 
Bool_t GetFillPtHistos () const
 
Bool_t GetFillYHistos () const
 
Bool_t GetFillImpactParameterHistos () const
 
Int_t GetSystem () const
 
Bool_t GetRejectSDDClusters () const
 
Bool_t GetUseSelectionBit () const
 
Bool_t GetWriteVariableTree () const
 
Bool_t GetDrawDetSignal () const
 
Bool_t GetPIDCheck () const
 
Bool_t GetFillSubSampleHist () const
 

Private Member Functions

 AliAnalysisTaskSED0BDT (const AliAnalysisTaskSED0BDT &source)
 
AliAnalysisTaskSED0BDToperator= (const AliAnalysisTaskSED0BDT &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)
 
void FillCandVariables (AliAODEvent *aodev, AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC, AliAODMCHeader *mcHeader, AliRDHFCutsD0toKpi *cuts)
 
AliAODVertex * GetPrimaryVtxSkipped (AliAODEvent *aodev)
 
void CreateImpactParameterHistos ()
 
Int_t CheckOrigin (TClonesArray *arrayMC, AliAODMCParticle *mcPartCandidate) const
 
Float_t GetTrueImpactParameter (AliAODMCHeader *mcHeader, TClonesArray *arrayMC, AliAODMCParticle *partD0) const
 
Float_t ComputeTopomatic (AliAODEvent *aodev, AliAODRecoDecayHF2Prong *part)
 

Private Attributes

TListfOutputMass
 ! list send on output slot 1 More...
 
TListfOutputMassPt
 ! list send on output slot 6 More...
 
TListfOutputMassY
 ! list send on output slot 9 More...
 
TListfDistr
 ! 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
 
AliRDHFCutsD0toKpifCuts
 
Bool_t fEnableCentralityCorrCuts
 
AliEventCuts fEventCuts
 flag to enable centrality correlation event cuts More...
 
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...
 
AliNormalizationCounterfCounter
 ! 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 fFillSubSampleHist
 flag to fill Pt and Impact Parameter Histograms More...
 
Int_t fEventCounter
 flag to fill SubSample histogram More...
 
Bool_t fUseSelectionBit
 event counter used for sub sample test More...
 
Int_t fAODProtection
 flag to check or not the selection bit More...
 
Bool_t fWriteVariableTree
 
TTreefVariablesTree
 flag to decide whether to write the candidate variables on a tree variables More...
 
Double_tfCandidateVariables
 ! variables to be written to the tree More...
 
Bool_t fWriteProtosgnVar
 
Bool_t fSelectTrueD0
 flag to decide whether to write the selected candidates variables on a tree for cut optimization More...
 
Bool_t fUsedMassWindow
 flag to decide whether to write only true D0/D0bar More...
 
Bool_t fPIDCheck
 flag to activate the mass window selection for output size reduction More...
 
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
 
Bool_t fUseRejectionMethod
 
Float_t fRejectionFactor
 
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...
 
TListfDetSignal
 !Detector signal histograms (on output slot 8) More...
 
TH2FfhMultVZEROTPCoutTrackCorrNoCut
 ! More...
 
TH2FfhMultVZEROTPCoutTrackCorr
 ! More...
 
Bool_t fEnablePileupRejVZEROTPCout
 
TH2FfhMultVZEROTPCclustersCorrNoCut
 ! More...
 
TH2FfhMultVZEROTPCclustersCorr
 ! More...
 
Bool_t fEnablePileupRejVZEROTPCcls
 
Bool_t fRejectOutOfBunchPileUp
 
TListfListRDHFBDT
 
TListfListBDTNtuple
 
TListfListBDTResp
 
Double_t fBDTPtCut [2]
 
Double_t fBDTRespCut
 
Double_t fBDTSidebandSamplingFraction
 
Double_t fBDTSidebandCut [2]
 
Bool_t fSampleSideband
 
Bool_t fGetRespTree
 
TString fBDTFullVarString
 
TString fBDTClassifierVarString
 

Detailed Description

Definition at line 35 of file AliAnalysisTaskSED0BDT.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kD0 
kLS 

Definition at line 57 of file AliAnalysisTaskSED0BDT.h.

Constructor & Destructor Documentation

AliAnalysisTaskSED0BDT::AliAnalysisTaskSED0BDT ( )

Default constructor

Definition at line 69 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by GetFillSubSampleHist().

AliAnalysisTaskSED0BDT::AliAnalysisTaskSED0BDT ( const char *  name,
AliRDHFCutsD0toKpi cuts 
)

Default constructor

Definition at line 147 of file AliAnalysisTaskSED0BDT.cxx.

AliAnalysisTaskSED0BDT::~AliAnalysisTaskSED0BDT ( )
virtual

Definition at line 244 of file AliAnalysisTaskSED0BDT.cxx.

AliAnalysisTaskSED0BDT::AliAnalysisTaskSED0BDT ( const AliAnalysisTaskSED0BDT source)
private

Member Function Documentation

Bool_t AliAnalysisTaskSED0BDT::CheckAcc ( TClonesArray *  arrayMC,
Int_t  nProng,
Int_t labDau 
)

check if the decay products are in the good eta and pt range

Definition at line 3171 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by FillMCAcceptanceHistos(), and LocalInit().

Int_t AliAnalysisTaskSED0BDT::CheckOrigin ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPartCandidate 
) const
private

checking whether the mother of the particles come from a charm or a bottom quark

Definition at line 3059 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by GetFillSubSampleHist().

Float_t AliAnalysisTaskSED0BDT::ComputeTopomatic ( AliAODEvent aodev,
AliAODRecoDecayHF2Prong part 
)
private

Definition at line 3041 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by FillCandVariables(), and GetFillSubSampleHist().

void AliAnalysisTaskSED0BDT::CreateImpactParameterHistos ( )
private

Histos for impact paramter study

Definition at line 2964 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by GetFillSubSampleHist(), and UserCreateOutputObjects().

void AliAnalysisTaskSED0BDT::CreateMCAcceptanceHistos ( )

Histos for MC Acceptance histos

Definition at line 3093 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by LocalInit(), and UserCreateOutputObjects().

void AliAnalysisTaskSED0BDT::DrawDetSignal ( AliAODRecoDecayHF2Prong part,
TList ListDetSignal 
)
private

Function called in UserExec for drawing detector signal histograms:

Definition at line 1539 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

void AliAnalysisTaskSED0BDT::FillCandVariables ( AliAODEvent aodev,
AliAODRecoDecayHF2Prong part,
TClonesArray *  arrMC,
AliAODMCHeader *  mcHeader,
AliRDHFCutsD0toKpi cuts 
)
private

Definition at line 2639 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

void AliAnalysisTaskSED0BDT::FillMassHists ( AliAODRecoDecayHF2Prong part,
TClonesArray *  arrMC,
AliAODMCHeader *  mcHeader,
AliRDHFCutsD0toKpi cuts,
TList listout 
)
private

function used in UserExec to fill mass histograms:

Definition at line 2322 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

void AliAnalysisTaskSED0BDT::FillMCAcceptanceHistos ( TClonesArray *  arrayMC,
AliAODMCHeader *  mcHeader 
)

Fill MC acceptance histos for cuts study

Definition at line 3123 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSED0BDT::FillVarHists ( AliAODEvent aodev,
AliAODRecoDecayHF2Prong part,
TClonesArray *  arrMC,
AliRDHFCutsD0toKpi cuts,
TList listout 
)
private

function used in UserExec to fill variable histograms:

Definition at line 1577 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::GetCutOnDistr ( ) const
inline

Definition at line 108 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetDrawDetSignal ( ) const
inline

Definition at line 119 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetFillImpactParameterHistos ( ) const
inline

Definition at line 114 of file AliAnalysisTaskSED0BDT.h.

Int_t AliAnalysisTaskSED0BDT::GetFillOnlyD0D0bar ( ) const
inline

Definition at line 110 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetFillPtHistos ( ) const
inline

Definition at line 112 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetFillSubSampleHist ( ) const
inline

Definition at line 121 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetFillVarHists ( ) const
inline

Definition at line 111 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetFillYHistos ( ) const
inline

Definition at line 113 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetPIDCheck ( ) const
inline

Definition at line 120 of file AliAnalysisTaskSED0BDT.h.

AliAODVertex * AliAnalysisTaskSED0BDT::GetPrimaryVtxSkipped ( AliAODEvent aodev)
private

Calculate the primary vertex w/o the daughter tracks of the candidate

Definition at line 2783 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by FillVarHists(), and GetFillSubSampleHist().

Bool_t AliAnalysisTaskSED0BDT::GetRejectSDDClusters ( ) const
inline

Definition at line 116 of file AliAnalysisTaskSED0BDT.h.

Int_t AliAnalysisTaskSED0BDT::GetSystem ( ) const
inline

Definition at line 115 of file AliAnalysisTaskSED0BDT.h.

Float_t AliAnalysisTaskSED0BDT::GetTrueImpactParameter ( AliAODMCHeader *  mcHeader,
TClonesArray *  arrayMC,
AliAODMCParticle *  partD0 
) const
private

true impact parameter calculation

Definition at line 2998 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by FillMassHists(), and GetFillSubSampleHist().

Bool_t AliAnalysisTaskSED0BDT::GetUsePid4Distr ( ) const
inline

Definition at line 109 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetUseSelectionBit ( ) const
inline

Definition at line 117 of file AliAnalysisTaskSED0BDT.h.

Bool_t AliAnalysisTaskSED0BDT::GetWriteVariableTree ( ) const
inline

Definition at line 118 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::Init ( )
virtual

Initialization

Definition at line 325 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by LocalInit().

virtual void AliAnalysisTaskSED0BDT::LocalInit ( )
inlinevirtual

Definition at line 47 of file AliAnalysisTaskSED0BDT.h.

AliAnalysisTaskSED0BDT& AliAnalysisTaskSED0BDT::operator= ( const AliAnalysisTaskSED0BDT source)
private

Referenced by GetFillSubSampleHist().

void AliAnalysisTaskSED0BDT::ProcessBDT ( AliAODEvent aod,
AliAODRecoDecayHF2Prong part,
TClonesArray *  arrMC 
)

"ptD:topo1:topo2:lxy:nlxy:iscut:ispid:type:mass:d0d0:cosp:dca:ptk:ptpi:cospxy:d0k:d0pi:cosstar:ptB:pdgcode:YD0:phi

Definition at line 3183 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by LocalInit(), and UserExec().

void AliAnalysisTaskSED0BDT::SetAODMismatchProtection ( Int_t  opt = 1)
inline

Definition at line 80 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetArray ( Int_t  type = AliAnalysisTaskSED0BDT::kD0)
inline

Definition at line 56 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetBDTClassifierVarString ( TString  str)
inline

Definition at line 92 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetBDTFullVarString ( TString  str)
inline

Definition at line 91 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetBDTGetRespTree ( Bool_t  rt)
inline

Definition at line 90 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetBDTList ( TList bdtlist)
inline

Definition at line 94 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetBDTPtCut ( Double_t  min,
Double_t  max 
)
inline

Definition at line 85 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetBDTRespCut ( Double_t  cut)
inline

Definition at line 86 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetBDTSampleSideband ( Bool_t  sb)
inline

Definition at line 89 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetBDTSidebandCut ( Double_t  lcut,
Double_t  rcut 
)
inline

Definition at line 87 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetBDTSidebandSamplingFraction ( Double_t  f)
inline

Definition at line 88 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetCutOnDistr ( Bool_t  cutondistr = kFALSE)
inline

Definition at line 61 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetDoMCAcceptanceHistos ( Bool_t  doMCAcc = kTRUE)
inline

Definition at line 60 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetDrawDetSignal ( Bool_t  flag)
inline

Definition at line 77 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetEnableCentralityCorrCutsPbPb ( Bool_t  flag = kFALSE,
Int_t  year = 2018 
)
inline

Definition at line 97 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetFillImpactParameterHistos ( Bool_t  flag)
inline

Definition at line 67 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetFillOnlyD0D0bar ( Int_t  flagfill)
inline

Definition at line 63 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetFillPtHistos ( Bool_t  flag)
inline

Definition at line 65 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetFillSparses ( Bool_t  flag)
inline

Definition at line 68 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetFillSubSampleHist ( Bool_t  flag)
inline

Definition at line 83 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetFillVarHists ( Bool_t  flag)
inline

Definition at line 64 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT(), and SetSystem().

void AliAnalysisTaskSED0BDT::SetFillYHistos ( Bool_t  flag)
inline

Definition at line 66 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetPIDCheck ( Bool_t  flag)
inline

Definition at line 78 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetPileupRejectionVZEROTPCcls ( Bool_t  flag,
Bool_t  rejpileup 
)
inline

Definition at line 82 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetPileupRejectionVZEROTPCout ( Bool_t  flag)
inline

Definition at line 81 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetReadMC ( Bool_t  readMC = kFALSE)
inline

Definition at line 59 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetRejectSDDClusters ( Bool_t  flag)
inline

Definition at line 71 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetSelectTrueD0 ( Bool_t  flag)
inline

Definition at line 75 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetSystem ( Int_t  sys)
inline

Definition at line 70 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetUseMassWindow ( Bool_t  flag)
inline

Definition at line 76 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetUsePid4Distr ( Bool_t  usepid = kTRUE)
inline

Definition at line 62 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::SetUseQuarkLevelTag ( Bool_t  opt)
inline

Definition at line 79 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetUseRejectionMethod ( Bool_t  flag = kFALSE,
Float_t  factor = 0.01 
)
inline

Definition at line 69 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetUseSelectionBit ( Bool_t  flag)
inline

Definition at line 72 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetWriteProtosgnVar ( Bool_t  flag)
inline

Definition at line 74 of file AliAnalysisTaskSED0BDT.h.

void AliAnalysisTaskSED0BDT::SetWriteVariableTree ( Bool_t  flag)
inline

Definition at line 73 of file AliAnalysisTaskSED0BDT.h.

Referenced by AddTaskD0BDT().

void AliAnalysisTaskSED0BDT::Terminate ( Option_t option)
virtual

Terminate analysis

Definition at line 2833 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by LocalInit().

void AliAnalysisTaskSED0BDT::UserCreateOutputObjects ( )
virtual

Implementation of interface methods.

Create the output container

Definition at line 344 of file AliAnalysisTaskSED0BDT.cxx.

void AliAnalysisTaskSED0BDT::UserExec ( Option_t option)
virtual

Execute analysis for current event: heavy flavor candidates association to MC truth

Definition at line 1250 of file AliAnalysisTaskSED0BDT.cxx.

Referenced by LocalInit().

Member Data Documentation

Int_t AliAnalysisTaskSED0BDT::fAODProtection
private

flag to check or not the selection bit

Definition at line 169 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetAODMismatchProtection(), and UserExec().

Int_t AliAnalysisTaskSED0BDT::fArray
private
TString AliAnalysisTaskSED0BDT::fBDTClassifierVarString
private

Definition at line 210 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetBDTClassifierVarString().

TString AliAnalysisTaskSED0BDT::fBDTFullVarString
private

Definition at line 209 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetBDTFullVarString(), and UserCreateOutputObjects().

Double_t AliAnalysisTaskSED0BDT::fBDTPtCut[2]
private

Definition at line 201 of file AliAnalysisTaskSED0BDT.h.

Referenced by AliAnalysisTaskSED0BDT(), and SetBDTPtCut().

Double_t AliAnalysisTaskSED0BDT::fBDTRespCut
private

Definition at line 202 of file AliAnalysisTaskSED0BDT.h.

Referenced by ProcessBDT(), and SetBDTRespCut().

Double_t AliAnalysisTaskSED0BDT::fBDTSidebandCut[2]
private

Definition at line 204 of file AliAnalysisTaskSED0BDT.h.

Referenced by AliAnalysisTaskSED0BDT(), ProcessBDT(), and SetBDTSidebandCut().

Double_t AliAnalysisTaskSED0BDT::fBDTSidebandSamplingFraction
private

Definition at line 203 of file AliAnalysisTaskSED0BDT.h.

Referenced by ProcessBDT(), and SetBDTSidebandSamplingFraction().

Double_t* AliAnalysisTaskSED0BDT::fCandidateVariables
private

! variables to be written to the tree

Definition at line 174 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillCandVariables(), and UserCreateOutputObjects().

AliNormalizationCounter* AliAnalysisTaskSED0BDT::fCounter
private
Bool_t AliAnalysisTaskSED0BDT::fCutOnDistr
private

flag for MC array: kTRUE = read it, kFALSE = do not read it

Definition at line 152 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillVarHists(), GetCutOnDistr(), and SetCutOnDistr().

TObjArray AliAnalysisTaskSED0BDT::fDaughterTracks
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 158 of file AliAnalysisTaskSED0BDT.h.

Referenced by DrawDetSignal(), FillVarHists(), GetPrimaryVtxSkipped(), ProcessBDT(), and UserExec().

TList* AliAnalysisTaskSED0BDT::fDetSignal
private

!Detector signal histograms (on output slot 8)

Definition at line 187 of file AliAnalysisTaskSED0BDT.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0BDT().

TList* AliAnalysisTaskSED0BDT::fDistr
private

! list send on output slot 2

Definition at line 141 of file AliAnalysisTaskSED0BDT.h.

Referenced by Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0BDT().

Bool_t AliAnalysisTaskSED0BDT::fDrawDetSignal
private

flag to decide whether to fill "PID = x" bins in fNentrie

Definition at line 179 of file AliAnalysisTaskSED0BDT.h.

Referenced by GetDrawDetSignal(), SetDrawDetSignal(), Terminate(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fEnableCentralityCorrCuts
private
Bool_t AliAnalysisTaskSED0BDT::fEnablePileupRejVZEROTPCcls
private

Definition at line 193 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetPileupRejectionVZEROTPCcls(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fEnablePileupRejVZEROTPCout
private

Definition at line 190 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetPileupRejectionVZEROTPCout(), and UserExec().

Int_t AliAnalysisTaskSED0BDT::fEventCounter
private

flag to fill SubSample histogram

Definition at line 167 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillMassHists(), and UserExec().

AliEventCuts AliAnalysisTaskSED0BDT::fEventCuts
private

flag to enable centrality correlation event cuts

Definition at line 148 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetEnableCentralityCorrCutsPbPb(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fFillImpParHist
private
Int_t AliAnalysisTaskSED0BDT::fFillOnlyD0D0bar
private
Bool_t AliAnalysisTaskSED0BDT::fFillPtHist
private

flag to reject events with SDD clusters

Definition at line 163 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillMassHists(), FillVarHists(), GetFillPtHistos(), SetFillPtHistos(), Terminate(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskSED0BDT::fFillSparses
private

Definition at line 181 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetFillSparses(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fFillSubSampleHist
private

flag to fill Pt and Impact Parameter Histograms

Definition at line 166 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillMassHists(), GetFillSubSampleHist(), SetFillSubSampleHist(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskSED0BDT::fFillVarHists
private
Bool_t AliAnalysisTaskSED0BDT::fFillYHist
private

flag to fill Pt and Impact Parameter Histograms

Definition at line 164 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillMassHists(), GetFillYHistos(), SetFillYHistos(), Terminate(), and UserCreateOutputObjects().

Bool_t AliAnalysisTaskSED0BDT::fGetRespTree
private
THnSparseF* AliAnalysisTaskSED0BDT::fHistMassPtImpParTC[5]
private

! histograms for impact paramter studies

Definition at line 149 of file AliAnalysisTaskSED0BDT.h.

Referenced by AliAnalysisTaskSED0BDT(), CreateImpactParameterHistos(), FillMassHists(), and ~AliAnalysisTaskSED0BDT().

TH2F* AliAnalysisTaskSED0BDT::fhMultVZEROTPCclustersCorr
private
TH2F* AliAnalysisTaskSED0BDT::fhMultVZEROTPCclustersCorrNoCut
private
TH2F* AliAnalysisTaskSED0BDT::fhMultVZEROTPCoutTrackCorr
private
TH2F* AliAnalysisTaskSED0BDT::fhMultVZEROTPCoutTrackCorrNoCut
private
THnSparseF* AliAnalysisTaskSED0BDT::fhStudyImpParSingleTrackCand
private

! sparse with imp par residual cuts for Data

Definition at line 185 of file AliAnalysisTaskSED0BDT.h.

Referenced by UserCreateOutputObjects(), and ~AliAnalysisTaskSED0BDT().

THnSparseF* AliAnalysisTaskSED0BDT::fhStudyImpParSingleTrackFd
private

! sparse with imp par residual cuts for MC

Definition at line 186 of file AliAnalysisTaskSED0BDT.h.

Referenced by UserCreateOutputObjects(), and ~AliAnalysisTaskSED0BDT().

THnSparseF* AliAnalysisTaskSED0BDT::fhStudyImpParSingleTrackSign
private

! sparse with imp par residual cuts for MC

Definition at line 184 of file AliAnalysisTaskSED0BDT.h.

Referenced by UserCreateOutputObjects(), and ~AliAnalysisTaskSED0BDT().

Bool_t AliAnalysisTaskSED0BDT::fIsRejectSDDClusters
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 162 of file AliAnalysisTaskSED0BDT.h.

Referenced by GetRejectSDDClusters(), SetRejectSDDClusters(), UserCreateOutputObjects(), and UserExec().

Int_t AliAnalysisTaskSED0BDT::fIsSelectedCandidate
private

keeps the daughter tracks

Definition at line 159 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillCandVariables(), FillMassHists(), FillVarHists(), ProcessBDT(), and UserExec().

TList* AliAnalysisTaskSED0BDT::fListBDTNtuple
private
TList* AliAnalysisTaskSED0BDT::fListBDTResp
private
TList* AliAnalysisTaskSED0BDT::fListRDHFBDT
private
Double_t AliAnalysisTaskSED0BDT::fLsNormalization
private

number of pt bins

Definition at line 156 of file AliAnalysisTaskSED0BDT.h.

Referenced by Terminate().

THnSparseF* AliAnalysisTaskSED0BDT::fMCAccBFeed
private

!histo for StepMCAcc for D0 FD (pt,y,ptB)

Definition at line 144 of file AliAnalysisTaskSED0BDT.h.

Referenced by CreateMCAcceptanceHistos(), FillMCAcceptanceHistos(), and ~AliAnalysisTaskSED0BDT().

THnSparseF* AliAnalysisTaskSED0BDT::fMCAccPrompt
private

!histo for StepMCAcc for D0 prompt (pt,y,ptB)

Definition at line 143 of file AliAnalysisTaskSED0BDT.h.

Referenced by CreateMCAcceptanceHistos(), FillMCAcceptanceHistos(), and ~AliAnalysisTaskSED0BDT().

TH1F* AliAnalysisTaskSED0BDT::fNentries
private

! histogram with number of events on output slot 3

Definition at line 142 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillMassHists(), FillVarHists(), Terminate(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSED0BDT().

Int_t AliAnalysisTaskSED0BDT::fNPtBins
private

Definition at line 155 of file AliAnalysisTaskSED0BDT.h.

Referenced by AliAnalysisTaskSED0BDT().

TList* AliAnalysisTaskSED0BDT::fOutputMass
private
TList* AliAnalysisTaskSED0BDT::fOutputMassPt
private
TList* AliAnalysisTaskSED0BDT::fOutputMassY
private

! list send on output slot 9

Definition at line 140 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillMassHists(), Terminate(), UserCreateOutputObjects(), and ~AliAnalysisTaskSED0BDT().

Bool_t AliAnalysisTaskSED0BDT::fPIDCheck
private

flag to activate the mass window selection for output size reduction

Definition at line 178 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillVarHists(), GetPIDCheck(), SetPIDCheck(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fReadMC
private

can be D0 or Like Sign candidates

Definition at line 151 of file AliAnalysisTaskSED0BDT.h.

Referenced by DrawDetSignal(), FillCandVariables(), FillMassHists(), FillVarHists(), ProcessBDT(), SetReadMC(), UserCreateOutputObjects(), and UserExec().

Float_t AliAnalysisTaskSED0BDT::fRejectionFactor
private

Definition at line 183 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetUseRejectionMethod(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fRejectOutOfBunchPileUp
private

Definition at line 194 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetPileupRejectionVZEROTPCcls(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fSampleSideband
private
Bool_t AliAnalysisTaskSED0BDT::fSelectTrueD0
private

flag to decide whether to write the selected candidates variables on a tree for cut optimization

Definition at line 176 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillCandVariables(), and SetSelectTrueD0().

Bool_t AliAnalysisTaskSED0BDT::fStepMCAcc
private
Int_t AliAnalysisTaskSED0BDT::fSys
private

flag to enable filling variable histos

Definition at line 161 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillMassHists(), FillVarHists(), GetSystem(), SetSystem(), Terminate(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fUsedMassWindow
private

flag to decide whether to write only true D0/D0bar

Definition at line 177 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillCandVariables(), and SetUseMassWindow().

Bool_t AliAnalysisTaskSED0BDT::fUsePid4Distr
private

flag to decide if apply cut also on distributions: 0 no cuts, 1 looser cuts, 2 tighter/ cuts

Definition at line 153 of file AliAnalysisTaskSED0BDT.h.

Referenced by DrawDetSignal(), FillVarHists(), GetUsePid4Distr(), SetUsePid4Distr(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fUseQuarkTagInKine
private

flag to decide whether to draw the TPC dE/dx and TOF signal before/after PID

Definition at line 180 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillCandVariables(), FillMassHists(), FillMCAcceptanceHistos(), ProcessBDT(), and SetUseQuarkLevelTag().

Bool_t AliAnalysisTaskSED0BDT::fUseRejectionMethod
private

Definition at line 182 of file AliAnalysisTaskSED0BDT.h.

Referenced by SetUseRejectionMethod(), and UserExec().

Bool_t AliAnalysisTaskSED0BDT::fUseSelectionBit
private

event counter used for sub sample test

Definition at line 168 of file AliAnalysisTaskSED0BDT.h.

Referenced by GetUseSelectionBit(), SetUseSelectionBit(), and UserExec().

TTree* AliAnalysisTaskSED0BDT::fVariablesTree
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 173 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillCandVariables(), UserCreateOutputObjects(), and ~AliAnalysisTaskSED0BDT().

Bool_t AliAnalysisTaskSED0BDT::fWriteProtosgnVar
private
Bool_t AliAnalysisTaskSED0BDT::fWriteVariableTree
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 172 of file AliAnalysisTaskSED0BDT.h.

Referenced by FillCandVariables(), GetWriteVariableTree(), SetWriteVariableTree(), UserCreateOutputObjects(), and UserExec().


The documentation for this class was generated from the following files: