AliPhysics  c923f52 (c923f52)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliHelperPID Class Reference

#include <AliHelperPID.h>

Inheritance diagram for AliHelperPID:

Public Member Functions

 AliHelperPID ()
 
virtual ~AliHelperPID ()
 
Bool_t GetisMC ()
 
void SetisMC (Bool_t mc)
 
void SetPIDType (PIDType_t PIDType)
 
PIDType_t GetPIDType ()
 
void SetNSigmaCut (Double_t nsigma)
 
Double_t GetNSigmaCut ()
 
void SetfRequestTOFPID (Bool_t tof)
 
Bool_t GetfRequestTOFPID ()
 
void SetfRemoveTracksT0Fill (Bool_t tof)
 
Bool_t GetfRemoveTracksT0Fill ()
 
void SetfUseExclusiveNSigma (Bool_t nsigEx)
 
Bool_t GetfUseExclusiveNSigma ()
 
Double_t GetPtTOFPID ()
 
void SetfPtTOFPID (Double_t pttof)
 
void SetPIDCombined (AliPIDCombined *obj)
 
AliPIDCombined * GetPIDCombined ()
 
void SetBayesCut (Double_t cut)
 
Double_t GetBayesCut ()
 
TListGetOutputList ()
 
Double_tGetNSigmas (AliHelperParticleSpecies_t species)
 
Bool_tGetfHasDoubleCounting ()
 
TH2FGetHistogram2D (const char *name)
 
Int_t GetParticleSpecies (AliVTrack *trk, Bool_t FIllQAHistos)
 
Int_t GetParticleSpecies (AliVParticle *part)
 
Int_t GetIDBayes (AliVTrack *trk, Bool_t FIllQAHistos)
 
UInt_t CalcPIDCombined (const AliVTrack *track, const AliPIDResponse *PIDResponse, Int_t detMask, Double_t *prob) const
 
void CalculateNSigmas (AliVTrack *trk, Bool_t FIllQAHistos)
 
Int_t FindMinNSigma (AliVTrack *trk, Bool_t FIllQAHistos)
 
Bool_tGetDoubleCounting (AliVTrack *trk, Bool_t FIllQAHistos)
 
Bool_tGetAllCompatibleIdentitiesNSigma (AliVTrack *trk, Bool_t FIllQAHistos)
 
Int_t GetMCParticleSpecie (AliVEvent *event, AliVTrack *trk, Bool_t FIllQAHistos)
 
void CheckTOF (AliVTrack *trk)
 
Double_t TOFBetaCalc (AliVTrack *track) const
 
Double_t GetMass (AliHelperParticleSpecies_t id) const
 
Long64_t Merge (TCollection *list)
 

Private Member Functions

 AliHelperPID (const AliHelperPID &)
 
AliHelperPIDoperator= (const AliHelperPID &)
 
 ClassDef (AliHelperPID, 8)
 

Private Attributes

Bool_t fisMC
 
PIDType_t fPIDType
 
Double_t fNSigmaPID
 
Double_t fBayesCut
 
AliPIDResponse * fPIDResponse
 
AliPIDCombined * fPIDCombined
 PID response object. More...
 
TListfOutputList
 
Double_t fnsigmas [kNSpecies][kNSigmaPIDType+1]
 
Bool_t fHasDoubleCounting [kNSpecies]
 
Bool_t fRequestTOFPID
 
Bool_t fRemoveTracksT0Fill
 
Bool_t fUseExclusiveNSigma
 
Double_t fPtTOFPID
 
Bool_t fHasTOFPID
 

Detailed Description

Definition at line 59 of file AliHelperPID.h.

Constructor & Destructor Documentation

AliHelperPID::AliHelperPID ( )
virtual AliHelperPID::~AliHelperPID ( )
inlinevirtual

Definition at line 64 of file AliHelperPID.h.

AliHelperPID::AliHelperPID ( const AliHelperPID )
private

Member Function Documentation

UInt_t AliHelperPID::CalcPIDCombined ( const AliVTrack *  track,
const AliPIDResponse *  PIDResponse,
Int_t  detMask,
Double_t prob 
) const

Definition at line 297 of file AliHelperPID.cxx.

void AliHelperPID::CalculateNSigmas ( AliVTrack *  trk,
Bool_t  FIllQAHistos 
)

Definition at line 312 of file AliHelperPID.cxx.

void AliHelperPID::CheckTOF ( AliVTrack *  trk)

Definition at line 602 of file AliHelperPID.cxx.

AliHelperPID::ClassDef ( AliHelperPID  ,
 
)
private
Int_t AliHelperPID::FindMinNSigma ( AliVTrack *  trk,
Bool_t  FIllQAHistos 
)

Definition at line 388 of file AliHelperPID.cxx.

Bool_t * AliHelperPID::GetAllCompatibleIdentitiesNSigma ( AliVTrack *  trk,
Bool_t  FIllQAHistos 
)

Definition at line 512 of file AliHelperPID.cxx.

Double_t AliHelperPID::GetBayesCut ( )
inline

Definition at line 92 of file AliHelperPID.h.

Bool_t * AliHelperPID::GetDoubleCounting ( AliVTrack *  trk,
Bool_t  FIllQAHistos 
)

Definition at line 457 of file AliHelperPID.cxx.

Bool_t* AliHelperPID::GetfHasDoubleCounting ( )
inline

Definition at line 97 of file AliHelperPID.h.

Bool_t AliHelperPID::GetfRemoveTracksT0Fill ( )
inline

Definition at line 79 of file AliHelperPID.h.

Bool_t AliHelperPID::GetfRequestTOFPID ( )
inline

Definition at line 77 of file AliHelperPID.h.

Bool_t AliHelperPID::GetfUseExclusiveNSigma ( )
inline

Definition at line 82 of file AliHelperPID.h.

TH2F * AliHelperPID::GetHistogram2D ( const char *  name)

Definition at line 155 of file AliHelperPID.cxx.

Int_t AliHelperPID::GetIDBayes ( AliVTrack *  trk,
Bool_t  FIllQAHistos 
)

Definition at line 251 of file AliHelperPID.cxx.

Bool_t AliHelperPID::GetisMC ( )
inline

Definition at line 67 of file AliHelperPID.h.

Double_t AliHelperPID::GetMass ( AliHelperParticleSpecies_t  id) const

Definition at line 637 of file AliHelperPID.cxx.

Int_t AliHelperPID::GetMCParticleSpecie ( AliVEvent *  event,
AliVTrack *  trk,
Bool_t  FIllQAHistos 
)

Definition at line 522 of file AliHelperPID.cxx.

Double_t AliHelperPID::GetNSigmaCut ( )
inline

Definition at line 74 of file AliHelperPID.h.

Double_t* AliHelperPID::GetNSigmas ( AliHelperParticleSpecies_t  species)
inline

Definition at line 96 of file AliHelperPID.h.

TList* AliHelperPID::GetOutputList ( )
inline

Definition at line 95 of file AliHelperPID.h.

Referenced by Merge().

Int_t AliHelperPID::GetParticleSpecies ( AliVTrack *  trk,
Bool_t  FIllQAHistos 
)

Definition at line 162 of file AliHelperPID.cxx.

Int_t AliHelperPID::GetParticleSpecies ( AliVParticle *  part)

Definition at line 232 of file AliHelperPID.cxx.

AliPIDCombined* AliHelperPID::GetPIDCombined ( )
inline

Definition at line 89 of file AliHelperPID.h.

PIDType_t AliHelperPID::GetPIDType ( )
inline

Definition at line 71 of file AliHelperPID.h.

Double_t AliHelperPID::GetPtTOFPID ( )
inline

Definition at line 84 of file AliHelperPID.h.

Long64_t AliHelperPID::Merge ( TCollection list)

Definition at line 648 of file AliHelperPID.cxx.

AliHelperPID& AliHelperPID::operator= ( const AliHelperPID )
private
void AliHelperPID::SetBayesCut ( Double_t  cut)
inline

Definition at line 91 of file AliHelperPID.h.

void AliHelperPID::SetfPtTOFPID ( Double_t  pttof)
inline

Definition at line 85 of file AliHelperPID.h.

void AliHelperPID::SetfRemoveTracksT0Fill ( Bool_t  tof)
inline

Definition at line 78 of file AliHelperPID.h.

void AliHelperPID::SetfRequestTOFPID ( Bool_t  tof)
inline

Definition at line 76 of file AliHelperPID.h.

void AliHelperPID::SetfUseExclusiveNSigma ( Bool_t  nsigEx)
inline

Definition at line 81 of file AliHelperPID.h.

void AliHelperPID::SetisMC ( Bool_t  mc)
inline

Definition at line 68 of file AliHelperPID.h.

void AliHelperPID::SetNSigmaCut ( Double_t  nsigma)
inline

Definition at line 73 of file AliHelperPID.h.

void AliHelperPID::SetPIDCombined ( AliPIDCombined *  obj)
inline

Definition at line 87 of file AliHelperPID.h.

void AliHelperPID::SetPIDType ( PIDType_t  PIDType)
inline

Definition at line 70 of file AliHelperPID.h.

Double_t AliHelperPID::TOFBetaCalc ( AliVTrack *  track) const

Definition at line 622 of file AliHelperPID.cxx.

Member Data Documentation

Double_t AliHelperPID::fBayesCut
private

Definition at line 123 of file AliHelperPID.h.

Bool_t AliHelperPID::fHasDoubleCounting[kNSpecies]
private

Definition at line 128 of file AliHelperPID.h.

Bool_t AliHelperPID::fHasTOFPID
private

Definition at line 133 of file AliHelperPID.h.

Bool_t AliHelperPID::fisMC
private

Definition at line 120 of file AliHelperPID.h.

Double_t AliHelperPID::fNSigmaPID
private

Definition at line 122 of file AliHelperPID.h.

Double_t AliHelperPID::fnsigmas[kNSpecies][kNSigmaPIDType+1]
private

Definition at line 127 of file AliHelperPID.h.

TList* AliHelperPID::fOutputList
private

Definition at line 126 of file AliHelperPID.h.

AliPIDCombined* AliHelperPID::fPIDCombined
private

PID response object.

Definition at line 125 of file AliHelperPID.h.

AliPIDResponse* AliHelperPID::fPIDResponse
private

Definition at line 124 of file AliHelperPID.h.

PIDType_t AliHelperPID::fPIDType
private

Definition at line 121 of file AliHelperPID.h.

Double_t AliHelperPID::fPtTOFPID
private

Definition at line 132 of file AliHelperPID.h.

Bool_t AliHelperPID::fRemoveTracksT0Fill
private

Definition at line 130 of file AliHelperPID.h.

Bool_t AliHelperPID::fRequestTOFPID
private

Definition at line 129 of file AliHelperPID.h.

Bool_t AliHelperPID::fUseExclusiveNSigma
private

Definition at line 131 of file AliHelperPID.h.


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