AliPhysics  a6017e1 (a6017e1)
AliHFCutOptTreeHandler Class Reference

#include <AliHFCutOptTreeHandler.h>

Inheritance diagram for AliHFCutOptTreeHandler:

Public Types

enum  decaychannel { kD0toKpi, kDplustoKpipi, kDstoKKpi }
 
enum  candtype {
  kBkg, kPromptSig, kFDSig, kPromptRefl,
  kFDRefl
}
 
enum  optpid {
  kNoPID, kNsigmaPID, kNsigmaPIDchar, kNsigmaPIDfloatandchar,
  kNsigmaCombPID, kNsigmaCombPIDchar, kNsigmaCombPIDfloatandchar
}
 

Public Member Functions

 AliHFCutOptTreeHandler ()
 
 AliHFCutOptTreeHandler (int decay, int PIDopt, bool isMC)
 
virtual ~AliHFCutOptTreeHandler ()
 
bool SetVariables (AliAODRecoDecayHF *d, int masshypo, AliAODPidHF *pidHF=0x0, TClonesArray *arrayMC=0x0)
 
TTreeBuildTree (TString name="tree", TString title="tree")
 
bool FillTree ()
 
void SetDecayChannel (int decay=kD0toKpi)
 
void SetOptPID (int PIDopt)
 
void SetCentrality (char centrality)
 
void SetUseCentrality (bool usecent=true)
 
void SetIsSelectedStd (bool isselected=true)
 
void SetUseSelectedStdFlag (bool useselflag=true)
 
void SetFillOnlySignal (bool fillopt=true)
 
void SetIsMC (bool isMC=true)
 
void SetCandidateType (bool issignal, bool isprompt, bool isreflected)
 

Private Types

enum  {
  knMaxProngs =3, knPidVars =12, knTopolVars =15, knTopolVarsCommon =10,
  knTopolVarsDzero =4, knTopolVarsDs =5, knTopolVarsDplus =2
}
 

Private Member Functions

void SetPidVars (AliAODRecoDecayHF *d, AliAODPidHF *pidHF)
 
void SetPdgCodes ()
 

Private Attributes

TTreefTreeTopolVar
 
int fDecayChannel
 tree for cut optimisation More...
 
int fPdgCode
 decay channel More...
 
int fPdgCodeProngs [knMaxProngs]
 absolute value of pdg code of the particle of interest More...
 
float fTopolVarVector [knTopolVars]
 absolute values of pdg codes of the daughters More...
 
float fPIDnSigmaVector [knPidVars]
 array with topological variables More...
 
float fPIDnSigmaCharVector [knPidVars]
 array with nSigma PID More...
 
int fPidOpt
 array with nSigma PID (char) More...
 
char fCandType
 option for PID variables More...
 
bool fUseCentrality
 flag for candidate type (bkg, prompt signal, FD signal, prompt refl, FD refl) More...
 
char fCentrality
 flag to enable centrality More...
 
bool fFillOnlySignal
 centrality in case of p-Pb or Pb-Pb More...
 
bool fIsMC
 flag to enable only signal filling More...
 
int fIsSignal
 flag to enable checks on MC truth More...
 
int fIsPrompt
 flag for signal=1 (including prompt, FD, reflected), bkg=0 More...
 
int fIsRefl
 flag for prompt=1 (inluding reflected), FD=0 More...
 
char fIsSelStd
 flag for reflected signal=1, non-reflected signal=0 More...
 
bool fUseSelFlag
 flag to tag selected candidates by "standard" cuts More...
 

Detailed Description

Definition at line 26 of file AliHFCutOptTreeHandler.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
knMaxProngs 
knPidVars 
knTopolVars 
knTopolVarsCommon 
knTopolVarsDzero 
knTopolVarsDs 
knTopolVarsDplus 

Definition at line 89 of file AliHFCutOptTreeHandler.h.

Enumerator
kBkg 
kPromptSig 
kFDSig 
kPromptRefl 
kFDRefl 

Definition at line 35 of file AliHFCutOptTreeHandler.h.

Enumerator
kD0toKpi 
kDplustoKpipi 
kDstoKKpi 

Definition at line 29 of file AliHFCutOptTreeHandler.h.

Enumerator
kNoPID 
kNsigmaPID 
kNsigmaPIDchar 
kNsigmaPIDfloatandchar 
kNsigmaCombPID 
kNsigmaCombPIDchar 
kNsigmaCombPIDfloatandchar 

Definition at line 43 of file AliHFCutOptTreeHandler.h.

Constructor & Destructor Documentation

AliHFCutOptTreeHandler::AliHFCutOptTreeHandler ( )

Definition at line 35 of file AliHFCutOptTreeHandler.cxx.

AliHFCutOptTreeHandler::AliHFCutOptTreeHandler ( int  decay,
int  PIDopt,
bool  isMC 
)

Definition at line 62 of file AliHFCutOptTreeHandler.cxx.

AliHFCutOptTreeHandler::~AliHFCutOptTreeHandler ( )
virtual

Definition at line 88 of file AliHFCutOptTreeHandler.cxx.

Member Function Documentation

TTree * AliHFCutOptTreeHandler::BuildTree ( TString  name = "tree",
TString  title = "tree" 
)
bool AliHFCutOptTreeHandler::FillTree ( )
inline
void AliHFCutOptTreeHandler::SetCandidateType ( bool  issignal,
bool  isprompt,
bool  isreflected 
)
inline
void AliHFCutOptTreeHandler::SetCentrality ( char  centrality)
inline
void AliHFCutOptTreeHandler::SetDecayChannel ( int  decay = kD0toKpi)
inline

Definition at line 65 of file AliHFCutOptTreeHandler.h.

void AliHFCutOptTreeHandler::SetFillOnlySignal ( bool  fillopt = true)
inline
void AliHFCutOptTreeHandler::SetIsMC ( bool  isMC = true)
inline
void AliHFCutOptTreeHandler::SetIsSelectedStd ( bool  isselected = true)
inline
void AliHFCutOptTreeHandler::SetOptPID ( int  PIDopt)
inline

Definition at line 66 of file AliHFCutOptTreeHandler.h.

void AliHFCutOptTreeHandler::SetPdgCodes ( )
private
void AliHFCutOptTreeHandler::SetPidVars ( AliAODRecoDecayHF d,
AliAODPidHF pidHF 
)
private

Definition at line 303 of file AliHFCutOptTreeHandler.cxx.

Referenced by SetCandidateType(), and SetVariables().

void AliHFCutOptTreeHandler::SetUseCentrality ( bool  usecent = true)
inline
void AliHFCutOptTreeHandler::SetUseSelectedStdFlag ( bool  useselflag = true)
inline
bool AliHFCutOptTreeHandler::SetVariables ( AliAODRecoDecayHF d,
int  masshypo,
AliAODPidHF pidHF = 0x0,
TClonesArray *  arrayMC = 0x0 
)

Member Data Documentation

char AliHFCutOptTreeHandler::fCandType
private

option for PID variables

Definition at line 99 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), FillTree(), and SetVariables().

char AliHFCutOptTreeHandler::fCentrality
private

flag to enable centrality

Definition at line 101 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), and SetCentrality().

int AliHFCutOptTreeHandler::fDecayChannel
private

tree for cut optimisation

Definition at line 92 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), SetCandidateType(), SetDecayChannel(), SetPdgCodes(), SetPidVars(), and SetVariables().

bool AliHFCutOptTreeHandler::fFillOnlySignal
private

centrality in case of p-Pb or Pb-Pb

Definition at line 102 of file AliHFCutOptTreeHandler.h.

Referenced by FillTree(), SetFillOnlySignal(), and SetVariables().

bool AliHFCutOptTreeHandler::fIsMC
private

flag to enable only signal filling

Definition at line 103 of file AliHFCutOptTreeHandler.h.

Referenced by SetIsMC(), and SetVariables().

int AliHFCutOptTreeHandler::fIsPrompt
private

flag for signal=1 (including prompt, FD, reflected), bkg=0

Definition at line 105 of file AliHFCutOptTreeHandler.h.

Referenced by SetCandidateType(), and SetVariables().

int AliHFCutOptTreeHandler::fIsRefl
private

flag for prompt=1 (inluding reflected), FD=0

Definition at line 106 of file AliHFCutOptTreeHandler.h.

Referenced by SetCandidateType(), and SetVariables().

char AliHFCutOptTreeHandler::fIsSelStd
private

flag for reflected signal=1, non-reflected signal=0

Definition at line 107 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), and SetIsSelectedStd().

int AliHFCutOptTreeHandler::fIsSignal
private

flag to enable checks on MC truth

Definition at line 104 of file AliHFCutOptTreeHandler.h.

Referenced by SetCandidateType(), and SetVariables().

int AliHFCutOptTreeHandler::fPdgCode
private

decay channel

Definition at line 93 of file AliHFCutOptTreeHandler.h.

Referenced by SetPdgCodes(), and SetVariables().

int AliHFCutOptTreeHandler::fPdgCodeProngs[knMaxProngs]
private

absolute value of pdg code of the particle of interest

Definition at line 94 of file AliHFCutOptTreeHandler.h.

Referenced by SetPdgCodes(), and SetVariables().

float AliHFCutOptTreeHandler::fPIDnSigmaCharVector[knPidVars]
private

array with nSigma PID

Definition at line 97 of file AliHFCutOptTreeHandler.h.

Referenced by AliHFCutOptTreeHandler(), BuildTree(), and SetPidVars().

float AliHFCutOptTreeHandler::fPIDnSigmaVector[knPidVars]
private

array with topological variables

Definition at line 96 of file AliHFCutOptTreeHandler.h.

Referenced by AliHFCutOptTreeHandler(), BuildTree(), and SetPidVars().

int AliHFCutOptTreeHandler::fPidOpt
private

array with nSigma PID (char)

Definition at line 98 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), SetOptPID(), SetPidVars(), and SetVariables().

float AliHFCutOptTreeHandler::fTopolVarVector[knTopolVars]
private

absolute values of pdg codes of the daughters

Definition at line 95 of file AliHFCutOptTreeHandler.h.

Referenced by AliHFCutOptTreeHandler(), BuildTree(), and SetVariables().

TTree* AliHFCutOptTreeHandler::fTreeTopolVar
private

Definition at line 91 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), FillTree(), and ~AliHFCutOptTreeHandler().

bool AliHFCutOptTreeHandler::fUseCentrality
private

flag for candidate type (bkg, prompt signal, FD signal, prompt refl, FD refl)

Definition at line 100 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), and SetUseCentrality().

bool AliHFCutOptTreeHandler::fUseSelFlag
private

flag to tag selected candidates by "standard" cuts

Definition at line 108 of file AliHFCutOptTreeHandler.h.

Referenced by BuildTree(), and SetUseSelectedStdFlag().


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