AliPhysics  master (3d17d9d)
AliAnalysisTaskSED0MassTMVA Class Reference

#include <AliAnalysisTaskSED0MassTMVA.h>

Inheritance diagram for AliAnalysisTaskSED0MassTMVA:

Public Types

enum  { kD0, kLS }
 

Public Member Functions

 AliAnalysisTaskSED0MassTMVA ()
 
 AliAnalysisTaskSED0MassTMVA (const char *name, AliRDHFCutsD0toKpi *cuts)
 
virtual ~AliAnalysisTaskSED0MassTMVA ()
 
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 NormIPvar (AliAODEvent *aod, AliAODRecoDecayHF2Prong *part, TClonesArray *arrMC)
 
void SetArray (Int_t type=AliAnalysisTaskSED0MassTMVA::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 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

 AliAnalysisTaskSED0MassTMVA (const AliAnalysisTaskSED0MassTMVA &source)
 
AliAnalysisTaskSED0MassTMVAoperator= (const AliAnalysisTaskSED0MassTMVA &source)
 
void DrawDetSignal (AliAODRecoDecayHF2Prong *part, TList *ListDetSignal)
 
Double_t GetBeautyMotherY (TClonesArray *arrayMC, AliAODMCParticle *mcPart)
 
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
 
TNtuple * fNtupleD0C
 ! More...
 
TNtuple * fNtupleD0B
 ! More...
 
TNtuple * fNtupleD0Data
 ! More...
 
TNtuple * fNtupleRefl
 ! More...
 

Detailed Description

Definition at line 32 of file AliAnalysisTaskSED0MassTMVA.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kD0 
kLS 

Definition at line 54 of file AliAnalysisTaskSED0MassTMVA.h.

Constructor & Destructor Documentation

AliAnalysisTaskSED0MassTMVA::AliAnalysisTaskSED0MassTMVA ( )

Default constructor

Definition at line 68 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by GetFillSubSampleHist().

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

Default constructor

Definition at line 136 of file AliAnalysisTaskSED0MassTMVA.cxx.

AliAnalysisTaskSED0MassTMVA::~AliAnalysisTaskSED0MassTMVA ( )
virtual

Definition at line 226 of file AliAnalysisTaskSED0MassTMVA.cxx.

AliAnalysisTaskSED0MassTMVA::AliAnalysisTaskSED0MassTMVA ( const AliAnalysisTaskSED0MassTMVA source)
private

Member Function Documentation

Bool_t AliAnalysisTaskSED0MassTMVA::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 3129 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by FillMCAcceptanceHistos(), and LocalInit().

Int_t AliAnalysisTaskSED0MassTMVA::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 2989 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by GetFillSubSampleHist().

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

Definition at line 2971 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by FillCandVariables(), and GetFillSubSampleHist().

void AliAnalysisTaskSED0MassTMVA::CreateImpactParameterHistos ( )
private

Histos for impact paramter study

Definition at line 2894 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by GetFillSubSampleHist(), and UserCreateOutputObjects().

void AliAnalysisTaskSED0MassTMVA::CreateMCAcceptanceHistos ( )

Histos for MC Acceptance histos

Definition at line 3023 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by LocalInit(), and UserCreateOutputObjects().

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

Function called in UserExec for drawing detector signal histograms:

Definition at line 1469 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

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

Definition at line 2569 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

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

function used in UserExec to fill mass histograms:

Definition at line 2252 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

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

Fill MC acceptance histos for cuts study

Definition at line 3053 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by LocalInit(), and UserExec().

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

function used in UserExec to fill variable histograms:

Definition at line 1507 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by GetFillSubSampleHist(), and UserExec().

Double_t AliAnalysisTaskSED0MassTMVA::GetBeautyMotherY ( TClonesArray *  arrayMC,
AliAODMCParticle *  mcPart 
)
private

get the pt of the beauty hadron (feed-down case), returns negative value for prompt

Definition at line 3101 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by FillMCAcceptanceHistos(), and GetFillSubSampleHist().

Bool_t AliAnalysisTaskSED0MassTMVA::GetCutOnDistr ( ) const
inline

Definition at line 94 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetDrawDetSignal ( ) const
inline

Definition at line 105 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetFillImpactParameterHistos ( ) const
inline

Definition at line 100 of file AliAnalysisTaskSED0MassTMVA.h.

Int_t AliAnalysisTaskSED0MassTMVA::GetFillOnlyD0D0bar ( ) const
inline

Definition at line 96 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetFillPtHistos ( ) const
inline

Definition at line 98 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetFillSubSampleHist ( ) const
inline

Definition at line 107 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetFillVarHists ( ) const
inline

Definition at line 97 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetFillYHistos ( ) const
inline

Definition at line 99 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetPIDCheck ( ) const
inline

Definition at line 106 of file AliAnalysisTaskSED0MassTMVA.h.

AliAODVertex * AliAnalysisTaskSED0MassTMVA::GetPrimaryVtxSkipped ( AliAODEvent aodev)
private

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

Definition at line 2713 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by FillVarHists(), and GetFillSubSampleHist().

Bool_t AliAnalysisTaskSED0MassTMVA::GetRejectSDDClusters ( ) const
inline

Definition at line 102 of file AliAnalysisTaskSED0MassTMVA.h.

Int_t AliAnalysisTaskSED0MassTMVA::GetSystem ( ) const
inline

Definition at line 101 of file AliAnalysisTaskSED0MassTMVA.h.

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

true impact parameter calculation

Definition at line 2928 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by FillMassHists(), and GetFillSubSampleHist().

Bool_t AliAnalysisTaskSED0MassTMVA::GetUsePid4Distr ( ) const
inline

Definition at line 95 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetUseSelectionBit ( ) const
inline

Definition at line 103 of file AliAnalysisTaskSED0MassTMVA.h.

Bool_t AliAnalysisTaskSED0MassTMVA::GetWriteVariableTree ( ) const
inline

Definition at line 104 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::Init ( )
virtual

Initialization

Definition at line 295 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by LocalInit().

virtual void AliAnalysisTaskSED0MassTMVA::LocalInit ( )
inlinevirtual

Definition at line 44 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::NormIPvar ( AliAODEvent aod,
AliAODRecoDecayHF2Prong part,
TClonesArray *  arrMC 
)

Definition at line 3141 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by LocalInit(), and UserExec().

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

Referenced by GetFillSubSampleHist().

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

Definition at line 77 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

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

Definition at line 53 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

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

Definition at line 58 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

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

Definition at line 57 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

void AliAnalysisTaskSED0MassTMVA::SetDrawDetSignal ( Bool_t  flag)
inline

Definition at line 74 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

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

Definition at line 83 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetFillImpactParameterHistos ( Bool_t  flag)
inline

Definition at line 64 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetFillOnlyD0D0bar ( Int_t  flagfill)
inline

Definition at line 60 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

void AliAnalysisTaskSED0MassTMVA::SetFillPtHistos ( Bool_t  flag)
inline

Definition at line 62 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetFillSparses ( Bool_t  flag)
inline

Definition at line 65 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetFillSubSampleHist ( Bool_t  flag)
inline

Definition at line 80 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetFillVarHists ( Bool_t  flag)
inline

Definition at line 61 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA(), and SetSystem().

void AliAnalysisTaskSED0MassTMVA::SetFillYHistos ( Bool_t  flag)
inline

Definition at line 63 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetPIDCheck ( Bool_t  flag)
inline

Definition at line 75 of file AliAnalysisTaskSED0MassTMVA.h.

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

Definition at line 79 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetPileupRejectionVZEROTPCout ( Bool_t  flag)
inline

Definition at line 78 of file AliAnalysisTaskSED0MassTMVA.h.

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

Definition at line 56 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

void AliAnalysisTaskSED0MassTMVA::SetRejectSDDClusters ( Bool_t  flag)
inline

Definition at line 68 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetSelectTrueD0 ( Bool_t  flag)
inline

Definition at line 72 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetSystem ( Int_t  sys)
inline

Definition at line 67 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

void AliAnalysisTaskSED0MassTMVA::SetUseMassWindow ( Bool_t  flag)
inline

Definition at line 73 of file AliAnalysisTaskSED0MassTMVA.h.

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

Definition at line 59 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AddTaskD0MassTMVA().

void AliAnalysisTaskSED0MassTMVA::SetUseQuarkLevelTag ( Bool_t  opt)
inline

Definition at line 76 of file AliAnalysisTaskSED0MassTMVA.h.

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

Definition at line 66 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetUseSelectionBit ( Bool_t  flag)
inline

Definition at line 69 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetWriteProtosgnVar ( Bool_t  flag)
inline

Definition at line 71 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::SetWriteVariableTree ( Bool_t  flag)
inline

Definition at line 70 of file AliAnalysisTaskSED0MassTMVA.h.

void AliAnalysisTaskSED0MassTMVA::Terminate ( Option_t option)
virtual

Terminate analysis

Definition at line 2763 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by LocalInit().

void AliAnalysisTaskSED0MassTMVA::UserCreateOutputObjects ( )
virtual

Implementation of interface methods.

Create the output container

Definition at line 314 of file AliAnalysisTaskSED0MassTMVA.cxx.

void AliAnalysisTaskSED0MassTMVA::UserExec ( Option_t option)
virtual

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

Definition at line 1172 of file AliAnalysisTaskSED0MassTMVA.cxx.

Referenced by LocalInit().

Member Data Documentation

Int_t AliAnalysisTaskSED0MassTMVA::fAODProtection
private

flag to check or not the selection bit

Definition at line 155 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by SetAODMismatchProtection(), and UserExec().

Int_t AliAnalysisTaskSED0MassTMVA::fArray
private
Double_t* AliAnalysisTaskSED0MassTMVA::fCandidateVariables
private

! variables to be written to the tree

Definition at line 160 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by FillCandVariables(), and UserCreateOutputObjects().

AliNormalizationCounter* AliAnalysisTaskSED0MassTMVA::fCounter
private
Bool_t AliAnalysisTaskSED0MassTMVA::fCutOnDistr
private

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

Definition at line 138 of file AliAnalysisTaskSED0MassTMVA.h.

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

TObjArray AliAnalysisTaskSED0MassTMVA::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 144 of file AliAnalysisTaskSED0MassTMVA.h.

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

TList* AliAnalysisTaskSED0MassTMVA::fDetSignal
private

!Detector signal histograms (on output slot 8)

Definition at line 173 of file AliAnalysisTaskSED0MassTMVA.h.

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

TList* AliAnalysisTaskSED0MassTMVA::fDistr
private

! list send on output slot 2

Definition at line 127 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fDrawDetSignal
private

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

Definition at line 165 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fEnableCentralityCorrCuts
private
Bool_t AliAnalysisTaskSED0MassTMVA::fEnablePileupRejVZEROTPCcls
private

Definition at line 179 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by SetPileupRejectionVZEROTPCcls(), and UserExec().

Bool_t AliAnalysisTaskSED0MassTMVA::fEnablePileupRejVZEROTPCout
private

Definition at line 176 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by SetPileupRejectionVZEROTPCout(), and UserExec().

Int_t AliAnalysisTaskSED0MassTMVA::fEventCounter
private

flag to fill SubSample histogram

Definition at line 153 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by FillMassHists(), and UserExec().

AliEventCuts AliAnalysisTaskSED0MassTMVA::fEventCuts
private

flag to enable centrality correlation event cuts

Definition at line 134 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fFillImpParHist
private
Int_t AliAnalysisTaskSED0MassTMVA::fFillOnlyD0D0bar
private
Bool_t AliAnalysisTaskSED0MassTMVA::fFillPtHist
private

flag to reject events with SDD clusters

Definition at line 149 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fFillSparses
private
Bool_t AliAnalysisTaskSED0MassTMVA::fFillSubSampleHist
private

flag to fill Pt and Impact Parameter Histograms

Definition at line 152 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fFillVarHists
private
Bool_t AliAnalysisTaskSED0MassTMVA::fFillYHist
private

flag to fill Pt and Impact Parameter Histograms

Definition at line 150 of file AliAnalysisTaskSED0MassTMVA.h.

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

THnSparseF* AliAnalysisTaskSED0MassTMVA::fHistMassPtImpParTC[5]
private

! histograms for impact paramter studies

Definition at line 135 of file AliAnalysisTaskSED0MassTMVA.h.

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

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

! sparse with imp par residual cuts for Data

Definition at line 171 of file AliAnalysisTaskSED0MassTMVA.h.

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

THnSparseF* AliAnalysisTaskSED0MassTMVA::fhStudyImpParSingleTrackFd
private

! sparse with imp par residual cuts for MC

Definition at line 172 of file AliAnalysisTaskSED0MassTMVA.h.

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

THnSparseF* AliAnalysisTaskSED0MassTMVA::fhStudyImpParSingleTrackSign
private

! sparse with imp par residual cuts for MC

Definition at line 170 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::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 148 of file AliAnalysisTaskSED0MassTMVA.h.

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

Int_t AliAnalysisTaskSED0MassTMVA::fIsSelectedCandidate
private

keeps the daughter tracks

Definition at line 145 of file AliAnalysisTaskSED0MassTMVA.h.

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

Double_t AliAnalysisTaskSED0MassTMVA::fLsNormalization
private

number of pt bins

Definition at line 142 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by Terminate().

THnSparseF* AliAnalysisTaskSED0MassTMVA::fMCAccBFeed
private

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

Definition at line 130 of file AliAnalysisTaskSED0MassTMVA.h.

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

THnSparseF* AliAnalysisTaskSED0MassTMVA::fMCAccPrompt
private

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

Definition at line 129 of file AliAnalysisTaskSED0MassTMVA.h.

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

TH1F* AliAnalysisTaskSED0MassTMVA::fNentries
private

! histogram with number of events on output slot 3

Definition at line 128 of file AliAnalysisTaskSED0MassTMVA.h.

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

Int_t AliAnalysisTaskSED0MassTMVA::fNPtBins
private

Definition at line 141 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by AliAnalysisTaskSED0MassTMVA().

TNtuple* AliAnalysisTaskSED0MassTMVA::fNtupleD0B
private

!

Definition at line 182 of file AliAnalysisTaskSED0MassTMVA.h.

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

TNtuple* AliAnalysisTaskSED0MassTMVA::fNtupleD0C
private

!

Definition at line 181 of file AliAnalysisTaskSED0MassTMVA.h.

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

TNtuple* AliAnalysisTaskSED0MassTMVA::fNtupleD0Data
private

!

Definition at line 183 of file AliAnalysisTaskSED0MassTMVA.h.

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

TNtuple* AliAnalysisTaskSED0MassTMVA::fNtupleRefl
private

!

Definition at line 184 of file AliAnalysisTaskSED0MassTMVA.h.

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

TList* AliAnalysisTaskSED0MassTMVA::fOutputMass
private
TList* AliAnalysisTaskSED0MassTMVA::fOutputMassPt
private
TList* AliAnalysisTaskSED0MassTMVA::fOutputMassY
private

! list send on output slot 9

Definition at line 126 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fPIDCheck
private

flag to activate the mass window selection for output size reduction

Definition at line 164 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fReadMC
private
Float_t AliAnalysisTaskSED0MassTMVA::fRejectionFactor
private

Definition at line 169 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by SetUseRejectionMethod(), and UserExec().

Bool_t AliAnalysisTaskSED0MassTMVA::fRejectOutOfBunchPileUp
private

Definition at line 180 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by SetPileupRejectionVZEROTPCcls(), and UserExec().

Bool_t AliAnalysisTaskSED0MassTMVA::fSelectTrueD0
private

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

Definition at line 162 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by FillCandVariables(), and SetSelectTrueD0().

Bool_t AliAnalysisTaskSED0MassTMVA::fStepMCAcc
private
Int_t AliAnalysisTaskSED0MassTMVA::fSys
private

flag to enable filling variable histos

Definition at line 147 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fUsedMassWindow
private

flag to decide whether to write only true D0/D0bar

Definition at line 163 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by FillCandVariables(), and SetUseMassWindow().

Bool_t AliAnalysisTaskSED0MassTMVA::fUsePid4Distr
private

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

Definition at line 139 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fUseQuarkTagInKine
private

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

Definition at line 166 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fUseRejectionMethod
private

Definition at line 168 of file AliAnalysisTaskSED0MassTMVA.h.

Referenced by SetUseRejectionMethod(), and UserExec().

Bool_t AliAnalysisTaskSED0MassTMVA::fUseSelectionBit
private

event counter used for sub sample test

Definition at line 154 of file AliAnalysisTaskSED0MassTMVA.h.

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

TTree* AliAnalysisTaskSED0MassTMVA::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 159 of file AliAnalysisTaskSED0MassTMVA.h.

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

Bool_t AliAnalysisTaskSED0MassTMVA::fWriteProtosgnVar
private
Bool_t AliAnalysisTaskSED0MassTMVA::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 158 of file AliAnalysisTaskSED0MassTMVA.h.

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


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