![]() |
AliPhysics
5e2c166 (5e2c166)
|
#include <AliFlowBayesianPID.h>
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 TH2D * | GetHistoPriors (Int_t specie) const |
TSpline3 * | GetMismatch () |
const TF1 * | GetTOFprob () const |
const TF1 * | GetTPCprob () const |
const Float_t * | GetWeights (Int_t det) const |
Float_t * | GetProb () |
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 &) | |
AliFlowBayesianPID & | operator= (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 TH2D * | fghPriors [fgkNspecies] = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL} |
static TSpline3 * | fgMism = NULL |
static TH1D * | fgHtofChannelDist =NULL |
Definition at line 73 of file AliFlowBayesianPID.h.
AliFlowBayesianPID::AliFlowBayesianPID | ( | AliESDpid * | esdpid = NULL | ) |
Definition at line 38 of file AliFlowBayesianPID.cxx.
|
virtual |
Definition at line 143 of file AliFlowBayesianPID.cxx.
|
private |
void AliFlowBayesianPID::ComputeProb | ( | const AliESDtrack * | t, |
Float_t | |||
) |
Definition at line 872 of file AliFlowBayesianPID.cxx.
Referenced by AliAnalysisTaskVnV0::Analyze(), ComputeProb(), GetCurrentMask(), AliAnalysisTaskVnV0::PassesAODCuts(), AliFlowTrackCuts::PassesTOFbayesianCut(), AliAnalysisTaskPhiFlow::PassesTPCbayesianCut(), AliFlowTrackCuts::PassesTPCbayesianCut(), and AliAnalysisTaskVnV0::SelectK0s().
|
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.
|
inline |
Definition at line 122 of file AliFlowBayesianPID.h.
Definition at line 106 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskVnV0::Analyze(), AliAnalysisTaskPhiFlow::PassesTPCbayesianCut(), and AliFlowTrackCuts::PassesTPCbayesianCut().
|
inline |
Definition at line 120 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskVnV0::Analyze(), and AliAnalysisTaskVnV0::PassesAODCuts().
Definition at line 104 of file AliFlowBayesianPID.h.
Definition at line 105 of file AliFlowBayesianPID.h.
|
inline |
Definition at line 93 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskVnV0::Analyze().
Definition at line 411 of file AliFlowBayesianPID.cxx.
Referenced by AliAnalysisTaskVnV0::Analyze(), ComputeWeights(), GetCurrentMask(), and AliAnalysisTaskVnV0::PassesAODCuts().
Definition at line 483 of file AliFlowBayesianPID.cxx.
Definition at line 94 of file AliFlowBayesianPID.h.
|
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().
|
inline |
Definition at line 99 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskVnV0::Analyze(), AliAnalysisTaskVnV0::PassesAODCuts(), AliFlowTrackCuts::PassesTOFbayesianCut(), AliAnalysisTaskPhiFlow::PassesTPCbayesianCut(), AliFlowTrackCuts::PassesTPCbayesianCut(), and AliAnalysisTaskVnV0::SelectK0s().
|
inline |
Definition at line 101 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskVnV0::Analyze(), and AliFlowTrackCuts::PassesTOFbayesianCut().
|
inline |
Definition at line 100 of file AliFlowBayesianPID.h.
|
inline |
Definition at line 96 of file AliFlowBayesianPID.h.
|
inline |
Definition at line 97 of file AliFlowBayesianPID.h.
Definition at line 98 of file AliFlowBayesianPID.h.
|
inline |
Definition at line 103 of file AliFlowBayesianPID.h.
|
private |
|
inline |
Definition at line 87 of file AliFlowBayesianPID.h.
|
inline |
Definition at line 88 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskVnV0::Analyze(), and AliFlowTrackCuts::SetEvent().
|
inline |
Definition at line 85 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskFlowModes::IsPIDSelected(), AliAnalysisTaskFlowModesMC::IsPIDSelected(), and AliFlowTrackCuts::SetEvent().
|
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 |
||
) |
Definition at line 150 of file AliFlowBayesianPID.cxx.
Referenced by AliAnalysisTaskPhiFlow::InitializeBayesianPID(), AliAnalysisTaskFlowModes::IsPIDSelected(), AliAnalysisTaskFlowModesMC::IsPIDSelected(), AliFlowTrackCuts::SetEvent(), and AliAnalysisTaskVnV0::UserExec().
void AliFlowBayesianPID::SetDetResponse | ( | AliAODEvent * | aod, |
Float_t | centrality = -1.0 , |
||
EStartTimeType_t | flagStart = AliESDpid::kTOF_T0 |
||
) |
Definition at line 274 of file AliFlowBayesianPID.cxx.
|
inline |
Definition at line 90 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskVnV0::UserCreateOutputObjects(), and AliAnalysisTaskPhiFlow::UserCreateOutputObjects().
|
inline |
Definition at line 84 of file AliFlowBayesianPID.h.
Referenced by AliAnalysisTaskFlowModes::AliAnalysisTaskFlowModes(), AliAnalysisTaskFlowModesMC::AliAnalysisTaskFlowModesMC(), AliAnalysisTaskVnV0::AliAnalysisTaskVnV0(), AliFlowTrackCuts::AliFlowTrackCuts(), and AliAnalysisTaskPhiFlow::UserCreateOutputObjects().
|
private |
Definition at line 1002 of file AliFlowBayesianPID.cxx.
Referenced by AliFlowBayesianPID(), and ForceOldDedx().
Definition at line 997 of file AliFlowBayesianPID.cxx.
Referenced by AliAnalysisTaskVnV0::Analyze(), ResetDetOR(), and AliAnalysisTaskVnV0::SelectK0s().
|
inline |
Definition at line 118 of file AliFlowBayesianPID.h.
|
private |
Definition at line 149 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeProb(), SetDetResponse(), and ~AliFlowBayesianPID().
|
private |
Definition at line 153 of file AliFlowBayesianPID.h.
Referenced by ComputeProb(), ComputeWeights(), GetExpDeDx(), and SetDetResponse().
|
private |
Definition at line 133 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID().
|
private |
Definition at line 161 of file AliFlowBayesianPID.h.
Referenced by ComputeWeights(), and GetDeDx().
|
private |
Definition at line 159 of file AliFlowBayesianPID.h.
Referenced by ForceOldDedx(), and GetExpDeDx().
|
staticprivate |
Definition at line 129 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeProb(), GetHistoPriors(), and SetPriors().
|
staticprivate |
Definition at line 165 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), and ComputeWeights().
|
staticprivate |
Definition at line 127 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID().
|
staticprivate |
Definition at line 128 of file AliFlowBayesianPID.h.
Referenced by ComputeProb(), ComputeWeights(), and GetHistoPriors().
|
staticprivate |
Definition at line 130 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeWeights(), and GetMismatch().
|
private |
Definition at line 157 of file AliFlowBayesianPID.h.
Referenced by ComputeWeights(), and SetMC().
|
private |
Definition at line 163 of file AliFlowBayesianPID.h.
Referenced by ComputeWeights(), and SetDetResponse().
|
private |
Definition at line 151 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeProb(), GetDetANDstatus(), ResetDetAND(), and SetDetAND().
|
private |
Definition at line 151 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeProb(), ComputeWeights(), and GetCurrentMask().
|
private |
Definition at line 151 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeWeights(), GetDetORstatus(), ResetDetOR(), and SetDetOR().
|
private |
Definition at line 134 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeWeights(), and GetExpDeDx().
|
private |
Definition at line 148 of file AliFlowBayesianPID.h.
Referenced by ComputeProb(), and GetMassOverZ().
|
private |
Definition at line 136 of file AliFlowBayesianPID.h.
Referenced by SetDetResponse(), and SetNewTrackParam().
|
private |
Definition at line 132 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeProb(), ComputeWeights(), GetESDpid(), GetExpDeDx(), and SetDetResponse().
|
private |
Definition at line 146 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeProb(), and GetProb().
|
private |
Definition at line 146 of file AliFlowBayesianPID.h.
Referenced by ComputeProb(), and GetTOFMismProb().
|
private |
Definition at line 155 of file AliFlowBayesianPID.h.
Referenced by GetExpDeDx(), SetDetResponse(), and SetPsiCorrectionDeDx().
|
private |
Definition at line 155 of file AliFlowBayesianPID.h.
Referenced by GetExpDeDx(), SetDetResponse(), and SetPsiCorrectionDeDx().
|
private |
Definition at line 137 of file AliFlowBayesianPID.h.
Referenced by ComputeWeights(), SetDetResponse(), and SetTOFres().
|
private |
Definition at line 142 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeWeights(), GetTOFprob(), and ~AliFlowBayesianPID().
|
private |
Definition at line 143 of file AliFlowBayesianPID.h.
Referenced by AliFlowBayesianPID(), ComputeWeights(), GetTPCprob(), and ~AliFlowBayesianPID().
|
private |
Definition at line 145 of file AliFlowBayesianPID.h.
Referenced by ComputeProb(), ComputeWeights(), and GetWeights().
|
private |
Definition at line 146 of file AliFlowBayesianPID.h.
Referenced by ComputeProb(), ComputeWeights(), and GetTOFMismWeight().
|
private |
Definition at line 148 of file AliFlowBayesianPID.h.
Referenced by ComputeProb(), and GetZ().