AliPhysics  41af4b0 (41af4b0)
AliFlowBayesianPID Class Reference

#include <AliFlowBayesianPID.h>

Inheritance diagram for AliFlowBayesianPID:

Public Member Functions

 AliFlowBayesianPID (AliESDpid *esdpid=NULL)
 
virtual ~AliFlowBayesianPID ()
 
void SetDetResponse (AliESDEvent *esd, Float_t centrality=-1.0, EStartTimeType_t flagStart=AliESDpid::kTOF_T0, Bool_t=kFALSE)
 
void SetDetResponse (AliAODEvent *aod, Float_t centrality=-1.0, EStartTimeType_t flagStart=AliESDpid::kTOF_T0)
 
void SetNewTrackParam (Bool_t flag=kTRUE)
 
void SetDetAND (Int_t idet)
 
void SetDetOR (Int_t idet)
 
void ResetDetAND (Int_t idet)
 
void ResetDetOR (Int_t idet)
 
void SetPsiCorrectionDeDx (Float_t psi, Float_t res)
 
void SetMC (Bool_t flag)
 
AliESDpid * GetESDpid ()
 
const TH2DGetHistoPriors (Int_t specie) const
 
TSpline3 * GetMismatch ()
 
const TF1 * GetTOFprob () const
 
const TF1 * GetTPCprob () const
 
const Float_tGetWeights (Int_t det) const
 
Float_tGetProb ()
 
Float_t GetTOFMismWeight () const
 
Float_t GetTOFMismProb () const
 
Float_t GetMassOverZ () const
 
Float_t GetZ () const
 
Bool_t GetDetANDstatus (Int_t idet) const
 
Bool_t GetDetORstatus (Int_t idet) const
 
Bool_t GetCurrentMask (Int_t idet) const
 
Float_t GetExpDeDx (const AliVTrack *t, Int_t iS) const
 
Float_t GetExpDeDx (const AliVTrack *t, Float_t m) const
 
void ComputeWeights (const AliESDtrack *t)
 
void ComputeProb (const AliESDtrack *t, Float_t)
 
void ComputeProb (const AliESDtrack *t)
 
void ComputeWeights (const AliAODTrack *t, const AliAODEvent *aod=NULL)
 
void ComputeProb (const AliAODTrack *t, const AliAODEvent *aod=NULL)
 
void SetTOFres (Float_t res)
 
Float_t GetDeDx () const
 
void ForceOldDedx (Bool_t status=kTRUE)
 

Private Member Functions

void SetPriors ()
 
 AliFlowBayesianPID (const AliFlowBayesianPID &)
 
AliFlowBayesianPIDoperator= (const AliFlowBayesianPID &)
 

Private Attributes

AliESDpid * fPIDesd
 
TDatabasePDG * fDB
 
Double_t fMass [fgkNspecies]
 
Bool_t fNewTrackParam
 
Float_t fTOFresolution
 
TF1 * fTOFResponseF
 
TF1 * fTPCResponseF
 
Float_t fWeights [fgkNdetectors][fgkNspecies]
 
Float_t fProb [fgkNspecies]
 
Float_t fWTofMism
 
Float_t fProbTofMism
 
Float_t fZ
 
Float_t fMassTOF
 
TF1 * fBBdata
 
Bool_t fMaskAND [fgkNdetectors]
 
Bool_t fMaskOR [fgkNdetectors]
 
Bool_t fMaskCurrent [fgkNdetectors]
 
Float_t fCurrCentrality
 
Float_t fPsi
 
Float_t fPsiRes
 
Bool_t fIsMC
 
Bool_t fForceOldDedx
 
Float_t fDedx
 
Bool_t fIsTOFheaderAOD
 

Static Private Attributes

static const Int_t fgkNdetectors = 2
 
static const Int_t fgkNspecies = 9
 
static TH2DfghPriors [fgkNspecies] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}
 
static TSpline3 * fgMism = NULL
 
static TH1DfgHtofChannelDist =NULL
 

Detailed Description

Definition at line 73 of file AliFlowBayesianPID.h.

Constructor & Destructor Documentation

AliFlowBayesianPID::AliFlowBayesianPID ( AliESDpid *  esdpid = NULL)

Definition at line 38 of file AliFlowBayesianPID.cxx.

AliFlowBayesianPID::~AliFlowBayesianPID ( )
virtual

Definition at line 143 of file AliFlowBayesianPID.cxx.

AliFlowBayesianPID::AliFlowBayesianPID ( const AliFlowBayesianPID )
private

Member Function Documentation

void AliFlowBayesianPID::ComputeProb ( const AliESDtrack *  t)
inline

Definition at line 114 of file AliFlowBayesianPID.h.

Referenced by ComputeProb().

void AliFlowBayesianPID::ComputeProb ( const AliAODTrack *  t,
const AliAODEvent aod = NULL 
)

Definition at line 935 of file AliFlowBayesianPID.cxx.

void AliFlowBayesianPID::ComputeWeights ( const AliESDtrack *  t)

Definition at line 541 of file AliFlowBayesianPID.cxx.

Referenced by ComputeProb(), and GetCurrentMask().

void AliFlowBayesianPID::ComputeWeights ( const AliAODTrack *  t,
const AliAODEvent aod = NULL 
)

Definition at line 696 of file AliFlowBayesianPID.cxx.

void AliFlowBayesianPID::ForceOldDedx ( Bool_t  status = kTRUE)
inline

Definition at line 122 of file AliFlowBayesianPID.h.

Bool_t AliFlowBayesianPID::GetCurrentMask ( Int_t  idet) const
inline
Float_t AliFlowBayesianPID::GetDeDx ( ) const
inline
Bool_t AliFlowBayesianPID::GetDetANDstatus ( Int_t  idet) const
inline

Definition at line 104 of file AliFlowBayesianPID.h.

Bool_t AliFlowBayesianPID::GetDetORstatus ( Int_t  idet) const
inline

Definition at line 105 of file AliFlowBayesianPID.h.

AliESDpid* AliFlowBayesianPID::GetESDpid ( )
inline

Definition at line 93 of file AliFlowBayesianPID.h.

Referenced by AliAnalysisTaskVnV0::Analyze().

Float_t AliFlowBayesianPID::GetExpDeDx ( const AliVTrack *  t,
Int_t  iS 
) const
Float_t AliFlowBayesianPID::GetExpDeDx ( const AliVTrack *  t,
Float_t  m 
) const

Definition at line 483 of file AliFlowBayesianPID.cxx.

const TH2D* AliFlowBayesianPID::GetHistoPriors ( Int_t  specie) const
inline

Definition at line 94 of file AliFlowBayesianPID.h.

Float_t AliFlowBayesianPID::GetMassOverZ ( ) const
inline

Definition at line 102 of file AliFlowBayesianPID.h.

TSpline3 * AliFlowBayesianPID::GetMismatch ( )

Definition at line 2071 of file AliFlowBayesianPID.cxx.

Referenced by AliFlowBayesianPID(), and GetHistoPriors().

Float_t AliFlowBayesianPID::GetTOFMismProb ( ) const
inline
Float_t AliFlowBayesianPID::GetTOFMismWeight ( ) const
inline

Definition at line 100 of file AliFlowBayesianPID.h.

const TF1* AliFlowBayesianPID::GetTOFprob ( ) const
inline

Definition at line 96 of file AliFlowBayesianPID.h.

const TF1* AliFlowBayesianPID::GetTPCprob ( ) const
inline

Definition at line 97 of file AliFlowBayesianPID.h.

const Float_t* AliFlowBayesianPID::GetWeights ( Int_t  det) const
inline

Definition at line 98 of file AliFlowBayesianPID.h.

Float_t AliFlowBayesianPID::GetZ ( ) const
inline

Definition at line 103 of file AliFlowBayesianPID.h.

AliFlowBayesianPID& AliFlowBayesianPID::operator= ( const AliFlowBayesianPID )
private
void AliFlowBayesianPID::ResetDetAND ( Int_t  idet)
inline

Definition at line 87 of file AliFlowBayesianPID.h.

void AliFlowBayesianPID::ResetDetOR ( Int_t  idet)
inline
void AliFlowBayesianPID::SetDetAND ( Int_t  idet)
inline
void AliFlowBayesianPID::SetDetOR ( Int_t  idet)
inline

Definition at line 86 of file AliFlowBayesianPID.h.

Referenced by AliAnalysisTaskVnV0::Analyze().

void AliFlowBayesianPID::SetDetResponse ( AliESDEvent esd,
Float_t  centrality = -1.0,
EStartTimeType_t  flagStart = AliESDpid::kTOF_T0,
Bool_t  = kFALSE 
)
void AliFlowBayesianPID::SetDetResponse ( AliAODEvent aod,
Float_t  centrality = -1.0,
EStartTimeType_t  flagStart = AliESDpid::kTOF_T0 
)

Definition at line 274 of file AliFlowBayesianPID.cxx.

void AliFlowBayesianPID::SetMC ( Bool_t  flag)
inline
void AliFlowBayesianPID::SetPriors ( )
private

Definition at line 1002 of file AliFlowBayesianPID.cxx.

Referenced by AliFlowBayesianPID(), and ForceOldDedx().

void AliFlowBayesianPID::SetPsiCorrectionDeDx ( Float_t  psi,
Float_t  res 
)
void AliFlowBayesianPID::SetTOFres ( Float_t  res)
inline

Definition at line 118 of file AliFlowBayesianPID.h.

Member Data Documentation

TF1* AliFlowBayesianPID::fBBdata
private
Float_t AliFlowBayesianPID::fCurrCentrality
private

Definition at line 153 of file AliFlowBayesianPID.h.

Referenced by ComputeProb(), ComputeWeights(), GetExpDeDx(), and SetDetResponse().

TDatabasePDG* AliFlowBayesianPID::fDB
private

Definition at line 133 of file AliFlowBayesianPID.h.

Referenced by AliFlowBayesianPID().

Float_t AliFlowBayesianPID::fDedx
private

Definition at line 161 of file AliFlowBayesianPID.h.

Referenced by ComputeWeights(), and GetDeDx().

Bool_t AliFlowBayesianPID::fForceOldDedx
private

Definition at line 159 of file AliFlowBayesianPID.h.

Referenced by ForceOldDedx(), and GetExpDeDx().

TH2D * AliFlowBayesianPID::fghPriors = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}
staticprivate

Definition at line 129 of file AliFlowBayesianPID.h.

Referenced by AliFlowBayesianPID(), ComputeProb(), GetHistoPriors(), and SetPriors().

TH1D * AliFlowBayesianPID::fgHtofChannelDist =NULL
staticprivate

Definition at line 165 of file AliFlowBayesianPID.h.

Referenced by AliFlowBayesianPID(), and ComputeWeights().

const Int_t AliFlowBayesianPID::fgkNdetectors = 2
staticprivate

Definition at line 127 of file AliFlowBayesianPID.h.

Referenced by AliFlowBayesianPID().

const Int_t AliFlowBayesianPID::fgkNspecies = 9
staticprivate

Definition at line 128 of file AliFlowBayesianPID.h.

Referenced by ComputeProb(), ComputeWeights(), and GetHistoPriors().

TSpline3 * AliFlowBayesianPID::fgMism = NULL
staticprivate

Definition at line 130 of file AliFlowBayesianPID.h.

Referenced by AliFlowBayesianPID(), ComputeWeights(), and GetMismatch().

Bool_t AliFlowBayesianPID::fIsMC
private

Definition at line 157 of file AliFlowBayesianPID.h.

Referenced by ComputeWeights(), and SetMC().

Bool_t AliFlowBayesianPID::fIsTOFheaderAOD
private

Definition at line 163 of file AliFlowBayesianPID.h.

Referenced by ComputeWeights(), and SetDetResponse().

Bool_t AliFlowBayesianPID::fMaskAND[fgkNdetectors]
private
Bool_t AliFlowBayesianPID::fMaskCurrent[fgkNdetectors]
private
Bool_t AliFlowBayesianPID::fMaskOR[fgkNdetectors]
private
Double_t AliFlowBayesianPID::fMass[fgkNspecies]
private

Definition at line 134 of file AliFlowBayesianPID.h.

Referenced by AliFlowBayesianPID(), ComputeWeights(), and GetExpDeDx().

Float_t AliFlowBayesianPID::fMassTOF
private

Definition at line 148 of file AliFlowBayesianPID.h.

Referenced by ComputeProb(), and GetMassOverZ().

Bool_t AliFlowBayesianPID::fNewTrackParam
private

Definition at line 136 of file AliFlowBayesianPID.h.

Referenced by SetDetResponse(), and SetNewTrackParam().

AliESDpid* AliFlowBayesianPID::fPIDesd
private
Float_t AliFlowBayesianPID::fProb[fgkNspecies]
private

Definition at line 146 of file AliFlowBayesianPID.h.

Referenced by AliFlowBayesianPID(), ComputeProb(), and GetProb().

Float_t AliFlowBayesianPID::fProbTofMism
private

Definition at line 146 of file AliFlowBayesianPID.h.

Referenced by ComputeProb(), and GetTOFMismProb().

Float_t AliFlowBayesianPID::fPsi
private

Definition at line 155 of file AliFlowBayesianPID.h.

Referenced by GetExpDeDx(), SetDetResponse(), and SetPsiCorrectionDeDx().

Float_t AliFlowBayesianPID::fPsiRes
private

Definition at line 155 of file AliFlowBayesianPID.h.

Referenced by GetExpDeDx(), SetDetResponse(), and SetPsiCorrectionDeDx().

Float_t AliFlowBayesianPID::fTOFresolution
private

Definition at line 137 of file AliFlowBayesianPID.h.

Referenced by ComputeWeights(), SetDetResponse(), and SetTOFres().

TF1* AliFlowBayesianPID::fTOFResponseF
private
TF1* AliFlowBayesianPID::fTPCResponseF
private
Float_t AliFlowBayesianPID::fWeights[fgkNdetectors][fgkNspecies]
private

Definition at line 145 of file AliFlowBayesianPID.h.

Referenced by ComputeProb(), ComputeWeights(), and GetWeights().

Float_t AliFlowBayesianPID::fWTofMism
private

Definition at line 146 of file AliFlowBayesianPID.h.

Referenced by ComputeProb(), ComputeWeights(), and GetTOFMismWeight().

Float_t AliFlowBayesianPID::fZ
private

Definition at line 148 of file AliFlowBayesianPID.h.

Referenced by ComputeProb(), and GetZ().


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