AliRoot Core  edcc906 (edcc906)
AliESDpid Class Reference

#include <AliESDpid.h>

Inheritance diagram for AliESDpid:

Public Member Functions

 AliESDpid (Bool_t forMC=kFALSE)
 
 AliESDpid (const AliESDpid &a)
 
AliESDpidoperator= (const AliESDpid &a)
 
virtual ~AliESDpid ()
 
Int_t MakePID (AliESDEvent *event, Bool_t TPCOnly=kFALSE, Float_t timeZeroTOF=9999) const
 
void MakePIDForTracking (AliESDEvent *event) const
 
void MakeTPCPID (AliESDtrack *track) const
 
void MakeITSPID (AliESDtrack *track) const
 
void MakeTOFPID (AliESDtrack *track, Float_t) const
 
Bool_t CheckTOFMatching (AliESDtrack *track) const
 
void MakeTRDPID (AliESDtrack *track) const
 
void CombinePID (AliESDtrack *track) const
 
void SetPIDForTracking (AliESDtrack *track) const
 
void SetNMaxSigmaTOFTPCMismatch (Float_t range)
 
Float_t GetNMaxSigmaTOFTPCMismatch () const
 
void SetEventHandler (AliVEventHandler *event)
 
- Public Member Functions inherited from AliPIDResponse
 AliPIDResponse (Bool_t isMC=kFALSE)
 
virtual ~AliPIDResponse ()
 
AliITSPIDResponseGetITSResponse ()
 
AliTPCPIDResponseGetTPCResponse ()
 
AliTOFPIDResponseGetTOFResponse ()
 
AliTRDPIDResponseGetTRDResponse ()
 
AliEMCALPIDResponseGetEMCALResponse ()
 
EDetPidStatus NumberOfSigmas (EDetector detCode, const AliVParticle *track, AliPID::EParticleType type, Double_t &val) const
 
Float_t NumberOfSigmas (EDetector detCode, const AliVParticle *track, AliPID::EParticleType type) const
 
virtual Float_t NumberOfSigmasITS (const AliVParticle *track, AliPID::EParticleType type) const
 
virtual Float_t NumberOfSigmasTPC (const AliVParticle *track, AliPID::EParticleType type) const
 
virtual Float_t NumberOfSigmasTPC (const AliVParticle *track, AliPID::EParticleType type, AliTPCPIDResponse::ETPCdEdxSource dedxSource) const
 
virtual Float_t NumberOfSigmasTRD (const AliVParticle *track, AliPID::EParticleType type) const
 
virtual Float_t NumberOfSigmasEMCAL (const AliVParticle *track, AliPID::EParticleType type, Double_t &eop, Double_t showershape[4]) const
 
virtual Float_t NumberOfSigmasTOF (const AliVParticle *track, AliPID::EParticleType type) const
 
virtual Float_t NumberOfSigmasTOF (const AliVParticle *track, AliPID::EParticleType type, Float_t) const
 
virtual Float_t NumberOfSigmasHMPID (const AliVParticle *track, AliPID::EParticleType type) const
 
virtual Float_t NumberOfSigmasEMCAL (const AliVParticle *track, AliPID::EParticleType type) const
 
Bool_t IdentifiedAsElectronTRD (const AliVTrack *track, Double_t efficiencyLevel, Double_t centrality=-1, AliTRDPIDResponse::ETRDPIDMethod PIDmethod=AliTRDPIDResponse::kLQ1D) const
 
Bool_t IdentifiedAsElectronTRD (const AliVTrack *track, Int_t &ntracklets, Double_t efficiencyLevel, Double_t centrality=-1, AliTRDPIDResponse::ETRDPIDMethod PIDmethod=AliTRDPIDResponse::kLQ1D) const
 
EDetPidStatus GetSignalDelta (EDetector detCode, const AliVParticle *track, AliPID::EParticleType type, Double_t &val, Bool_t ratio=kFALSE) const
 
Double_t GetSignalDelta (EDetector detCode, const AliVParticle *track, AliPID::EParticleType type, Bool_t ratio=kFALSE) const
 
EDetPidStatus ComputePIDProbability (EDetCode detCode, const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
EDetPidStatus ComputePIDProbability (EDetector detCode, const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputeITSProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputeTPCProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputeTOFProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputeTRDProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputeEMCALProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputePHOSProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputeHMPIDProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[]) const
 
virtual EDetPidStatus ComputeTRDProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[], AliTRDPIDResponse::ETRDPIDMethod PIDmethod) const
 
EDetPidStatus CheckPIDStatus (EDetector detCode, const AliVTrack *track) const
 
AliTOFPIDParamsGetTOFPIDParams () const
 
Float_t GetTOFMismatchProbability (const AliVTrack *track=NULL) const
 
void SetITSPIDmethod (ITSPIDmethod pmeth)
 
void SetOADBPath (const char *path)
 
const char * GetOADBPath () const
 
void SetCustomTPCpidResponse (const char *tpcpid)
 
const char * GetCustomTPCpidResponse () const
 
void SetCustomTPCpidResponseOADBFile (const char *tpcpid)
 
const char * GetCustomTPCpidResponseOADBFile () const
 
void SetCustomTPCetaMaps (const char *tpcEtaMaps)
 
const char * GetCustomTPCetaMaps () const
 
void InitialiseEvent (AliVEvent *event, Int_t pass, TString recoPassName="", Int_t run=-1)
 
void SetCurrentFile (const char *file)
 
void SetCurrentAliRootRev (Int_t alirootRev)
 
Int_t GetCurrentAliRootRev () const
 
void SetCachePID (Bool_t cache)
 
Bool_t GetCachePID () const
 
void FillTrackDetectorPID (const AliVTrack *track, EDetector detector) const
 
void FillTrackDetectorPID ()
 
AliVEventGetCurrentEvent () const
 
AliMCEventGetCurrentMCEvent () const
 
void SetCurrentMCEvent (AliMCEvent *mcEvent)
 
void SetMCperiod (const char *mcPeriod)
 
void SetRecoPass (Int_t recoPass)
 
void SetRecoPassName (Int_t recoPassName)
 
Float_t GetCurrentCentrality () const
 
void SetCurrentCentrality (Float_t centrality)
 
void SetUseTPCEtaCorrection (Bool_t useEtaCorrection=kTRUE)
 
Bool_t UseTPCEtaCorrection () const
 
void SetUseTPCMultiplicityCorrection (Bool_t useMultiplicityCorrection=kTRUE)
 
Bool_t UseTPCMultiplicityCorrection () const
 
void SetUseTRDEtaCorrection (Bool_t useTRDEtaCorrection=kTRUE)
 
Bool_t UseTRDEtaCorrection () const
 
void SetUseTRDClusterCorrection (Bool_t useTRDClusterCorrection=kTRUE)
 
Bool_t UseTRDClusterCorrection () const
 
void SetUseTRDCentralityCorrection (Bool_t useTRDCentralityCorrection=kTRUE)
 
Bool_t UseTRDCentralityCorrection () const
 
void SetTOFtail (Float_t tail=0.9)
 
void SetTOFResponse (AliVEvent *vevent, EStartTimeType_t option)
 
virtual Float_t GetITSsignalTunedOnData (const AliVTrack *t) const
 
virtual Float_t GetTPCsignalTunedOnData (const AliVTrack *t) const
 
virtual Float_t GetTOFsignalTunedOnData (const AliVTrack *t) const
 
Bool_t IsTunedOnData () const
 
void SetTunedOnData (Bool_t flag=kTRUE, Int_t recoPass=0, TString recoPassName="")
 
Int_t GetTunedOnDataMask () const
 
void SetTunedOnDataMask (Int_t detMask)
 
 AliPIDResponse (const AliPIDResponse &other)
 
AliPIDResponseoperator= (const AliPIDResponse &other)
 
EBeamType GetBeamType () const
 
void SetNoTOFmism (Bool_t value=kTRUE)
 
void SetProbabilityRangeNsigma (Float_t range)
 
Float_t GetProbabilityRangeNsigma () const
 

Static Public Member Functions

static void SetUseElectronExclusionBands (Bool_t val)
 
static Bool_t GetUseElectronExclusionBands ()
 
static void SetNSpeciesForTracking (Int_t n)
 
static Int_t GetNSpeciesForTracking ()
 

Protected Member Functions

virtual Float_t GetSignalDeltaTOFold (const AliVParticle *track, AliPID::EParticleType type, Bool_t ratio=kFALSE) const
 
virtual Float_t GetNumberOfSigmasTOFold (const AliVParticle *track, AliPID::EParticleType type) const
 
- Protected Member Functions inherited from AliPIDResponse
Int_t CalculateTRDResponse (const AliVTrack *track, Double_t p[], AliTRDPIDResponse::ETRDPIDMethod PIDmethod) const
 
EDetPidStatus GetComputeTRDProbability (const AliVTrack *track, Int_t nSpecies, Double_t p[], AliTRDPIDResponse::ETRDPIDMethod PIDmethod=AliTRDPIDResponse::kLQ1D) const
 
EDetPidStatus GetTOFPIDStatus (const AliVTrack *track) const
 

Private Attributes

Float_t fRangeTOFMismatch
 
AliVEventHandlerfEventHandler
 

Static Private Attributes

static Bool_t fgUseElectronExclusionBands = kFALSE
 MC event handler. More...
 
static Int_t fgNSpeciesForTracking = AliPID::kSPECIESC
 

Additional Inherited Members

- Public Types inherited from AliPIDResponse
enum  EDetector {
  kITS =0, kTPC =1, kTRD =2, kTOF =3,
  kHMPID =4, kEMCAL =5, kPHOS =6, kNdetectors =7
}
 
enum  EDetCode {
  kDetITS = 0x1, kDetTPC = 0x2, kDetTRD = 0x4, kDetTOF = 0x8,
  kDetHMPID = 0x10, kDetEMCAL = 0x20, kDetPHOS = 0x40
}
 
enum  EBeamType { kPP = 0, kPPB, kPBPB }
 
enum  EStartTimeType_t { kFILL_T0, kTOF_T0, kT0_T0, kBest_T0 }
 
enum  ITSPIDmethod { kITSTruncMean, kITSLikelihood }
 
enum  EDetPidStatus { kDetNoSignal =0, kDetPidOk =1, kDetMismatch =2, kDetNoParams =3 }
 
- Protected Attributes inherited from AliPIDResponse
AliITSPIDResponse fITSResponse
 
AliTPCPIDResponse fTPCResponse
 
AliTRDPIDResponse fTRDResponse
 
AliTOFPIDResponse fTOFResponse
 
AliHMPIDPIDResponse fHMPIDResponse
 
AliEMCALPIDResponse fEMCALResponse
 
Float_t fRange
 
ITSPIDmethod fITSPIDmethod
 
Bool_t fTuneMConData
 
Int_t fTuneMConDataMask
 

Detailed Description

Definition at line 27 of file AliESDpid.h.

Constructor & Destructor Documentation

AliESDpid::AliESDpid ( Bool_t  forMC = kFALSE)
inline

Definition at line 29 of file AliESDpid.h.

AliESDpid::AliESDpid ( const AliESDpid a)
inline

Definition at line 30 of file AliESDpid.h.

virtual AliESDpid::~AliESDpid ( )
inlinevirtual

Definition at line 32 of file AliESDpid.h.

Member Function Documentation

Bool_t AliESDpid::CheckTOFMatching ( AliESDtrack track) const

Definition at line 310 of file AliESDpid.cxx.

Referenced by ~AliESDpid().

void AliESDpid::CombinePID ( AliESDtrack track) const

Definition at line 269 of file AliESDpid.cxx.

Referenced by ~AliESDpid().

Float_t AliESDpid::GetNMaxSigmaTOFTPCMismatch ( ) const
inline

Definition at line 51 of file AliESDpid.h.

static Int_t AliESDpid::GetNSpeciesForTracking ( )
inlinestatic

Definition at line 58 of file AliESDpid.h.

Float_t AliESDpid::GetNumberOfSigmasTOFold ( const AliVParticle track,
AliPID::EParticleType  type 
) const
protectedvirtual

Reimplemented from AliPIDResponse.

Definition at line 372 of file AliESDpid.cxx.

Referenced by GetNSpeciesForTracking().

Float_t AliESDpid::GetSignalDeltaTOFold ( const AliVParticle track,
AliPID::EParticleType  type,
Bool_t  ratio = kFALSE 
) const
protectedvirtual

Reimplemented from AliPIDResponse.

Definition at line 351 of file AliESDpid.cxx.

Referenced by GetNSpeciesForTracking().

static Bool_t AliESDpid::GetUseElectronExclusionBands ( )
inlinestatic

Definition at line 56 of file AliESDpid.h.

void AliESDpid::MakeITSPID ( AliESDtrack track) const

Definition at line 117 of file AliESDpid.cxx.

Referenced by ~AliESDpid().

Int_t AliESDpid::MakePID ( AliESDEvent event,
Bool_t  TPCOnly = kFALSE,
Float_t  timeZeroTOF = 9999 
) const

Definition at line 45 of file AliESDpid.cxx.

Referenced by ~AliESDpid().

void AliESDpid::MakePIDForTracking ( AliESDEvent event) const

Definition at line 441 of file AliESDpid.cxx.

Referenced by AliReconstruction::RunTracking(), and ~AliESDpid().

void AliESDpid::MakeTOFPID ( AliESDtrack track,
Float_t   
) const

Definition at line 184 of file AliESDpid.cxx.

Referenced by ~AliESDpid().

void AliESDpid::MakeTPCPID ( AliESDtrack track) const

Definition at line 76 of file AliESDpid.cxx.

Referenced by ~AliESDpid().

void AliESDpid::MakeTRDPID ( AliESDtrack track) const

Definition at line 259 of file AliESDpid.cxx.

Referenced by ~AliESDpid().

AliESDpid& AliESDpid::operator= ( const AliESDpid a)
inline

Definition at line 31 of file AliESDpid.h.

void AliESDpid::SetEventHandler ( AliVEventHandler event)
inline

Definition at line 53 of file AliESDpid.h.

void AliESDpid::SetNMaxSigmaTOFTPCMismatch ( Float_t  range)
inline

Definition at line 50 of file AliESDpid.h.

void AliESDpid::SetNSpeciesForTracking ( Int_t  n)
static
void AliESDpid::SetPIDForTracking ( AliESDtrack track) const

Definition at line 388 of file AliESDpid.cxx.

Referenced by MakePIDForTracking(), and ~AliESDpid().

void AliESDpid::SetUseElectronExclusionBands ( Bool_t  val)
static

Definition at line 452 of file AliESDpid.cxx.

Referenced by SetEventHandler(), and AliReconstruction::SetRun1PIDforTracking().

Member Data Documentation

AliVEventHandler* AliESDpid::fEventHandler
private

Definition at line 68 of file AliESDpid.h.

Referenced by operator=(), and SetEventHandler().

Int_t AliESDpid::fgNSpeciesForTracking = AliPID::kSPECIESC
staticprivate

Definition at line 71 of file AliESDpid.h.

Referenced by GetNSpeciesForTracking(), SetNSpeciesForTracking(), and SetPIDForTracking().

Bool_t AliESDpid::fgUseElectronExclusionBands = kFALSE
staticprivate

MC event handler.

Definition at line 70 of file AliESDpid.h.

Referenced by GetUseElectronExclusionBands(), SetPIDForTracking(), and SetUseElectronExclusionBands().

Float_t AliESDpid::fRangeTOFMismatch
private

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