AliRoot Core  edcc906 (edcc906)
AliTOFPIDResponse Class Reference

#include <AliTOFPIDResponse.h>

Inheritance diagram for AliTOFPIDResponse:

Public Member Functions

 AliTOFPIDResponse ()
 
 AliTOFPIDResponse (Double_t *param)
 
 ~AliTOFPIDResponse ()
 
void SetTimeResolution (Float_t res)
 
void SetTimeZero (Double_t t0)
 
Double_t GetTimeZero () const
 
Float_t GetTimeResolution () const
 
void SetMaxMismatchProbability (Double_t p)
 
Double_t GetMaxMismatchProbability () const
 
Double_t GetExpectedSigma (Float_t mom, Float_t tof, Float_t massZ) const
 
Double_t GetExpectedSigma (Float_t mom, Float_t tof, AliPID::EParticleType type) const
 
Double_t GetExpectedSignal (const AliVTrack *track, AliPID::EParticleType type) const
 
Double_t GetMismatchProbability (Double_t time, Double_t eta) const
 
void SetT0event (Float_t *t0event)
 
void SetT0resolution (Float_t *t0resolution)
 
void ResetT0info ()
 
void SetMomBoundary ()
 
Int_t GetMomBin (Float_t p) const
 
Int_t GetNmomBins ()
 
Float_t GetMinMom (Int_t ibin) const
 
Float_t GetMaxMom (Int_t ibin) const
 
void SetT0bin (Int_t ibin, Float_t t0bin)
 
void SetT0binRes (Int_t ibin, Float_t t0binRes)
 
void SetT0binMask (Int_t ibin, Int_t t0binMask)
 
Float_t GetT0bin (Int_t ibin) const
 
Float_t GetT0binRes (Int_t ibin) const
 
Int_t GetT0binMask (Int_t ibin) const
 
Float_t GetStartTime (Float_t mom) const
 
Float_t GetStartTimeRes (Float_t mom) const
 
Int_t GetStartTimeMask (Float_t mom) const
 
void SetTrackParameter (Int_t ip, Float_t value)
 
Float_t GetTrackParameter (Int_t ip)
 
Int_t GetTOFchannel (AliVParticle *trk) const
 
Float_t GetTOFtail ()
 
void SetTOFtail (Float_t tail)
 
void SetTOFtailAllPara (Float_t mean, Float_t tail)
 

Static Public Member Functions

static Double_t GetTailRandomValue (Float_t pt=1.0, Float_t eta=0.0, Float_t time=0.0, Float_t addmism=0.0)
 
static Double_t GetMismatchRandomValue (Float_t eta)
 

Private Member Functions

Int_t LoadTOFtailHisto ()
 

Private Attributes

Double_t fSigma
 
Double_t fPmax
 
Double_t fTime0
 
Float_t fT0event [fNmomBins]
 
Float_t fT0resolution [fNmomBins]
 
Float_t fPCutMin [fNmomBins+1]
 
Int_t fMaskT0 [fNmomBins]
 
Float_t fPar [4]
 

Static Private Attributes

static const Int_t fNmomBins = 10
 
static TF1 * fTOFtailResponse = NULL
 
static TH1F * fHmismTOF = NULL
 
static TH1D * fHchannelTOFdistr =NULL
 
static TH1D * fHTOFtailResponse =NULL
 

Detailed Description

Definition at line 22 of file AliTOFPIDResponse.h.

Constructor & Destructor Documentation

AliTOFPIDResponse::AliTOFPIDResponse ( )

Definition at line 41 of file AliTOFPIDResponse.cxx.

AliTOFPIDResponse::AliTOFPIDResponse ( Double_t *  param)

Definition at line 69 of file AliTOFPIDResponse.cxx.

AliTOFPIDResponse::~AliTOFPIDResponse ( )
inline

Definition at line 27 of file AliTOFPIDResponse.h.

Member Function Documentation

Double_t AliTOFPIDResponse::GetExpectedSigma ( Float_t  mom,
Float_t  tof,
Float_t  massZ 
) const
Double_t AliTOFPIDResponse::GetExpectedSigma ( Float_t  mom,
Float_t  tof,
AliPID::EParticleType  type 
) const

Definition at line 203 of file AliTOFPIDResponse.cxx.

Double_t AliTOFPIDResponse::GetMaxMismatchProbability ( ) const
inline

Definition at line 35 of file AliTOFPIDResponse.h.

Float_t AliTOFPIDResponse::GetMaxMom ( Int_t  ibin) const
inline

Definition at line 53 of file AliTOFPIDResponse.h.

Float_t AliTOFPIDResponse::GetMinMom ( Int_t  ibin) const
inline

Definition at line 52 of file AliTOFPIDResponse.h.

Double_t AliTOFPIDResponse::GetMismatchProbability ( Double_t  time,
Double_t  eta 
) const
Double_t AliTOFPIDResponse::GetMismatchRandomValue ( Float_t  eta)
static

Definition at line 320 of file AliTOFPIDResponse.cxx.

Referenced by GetMaxMismatchProbability(), and GetTailRandomValue().

Int_t AliTOFPIDResponse::GetMomBin ( Float_t  p) const
Int_t AliTOFPIDResponse::GetNmomBins ( )
inline

Definition at line 51 of file AliTOFPIDResponse.h.

Referenced by AliPIDResponse::SetTOFResponse().

Float_t AliTOFPIDResponse::GetStartTime ( Float_t  mom) const
Int_t AliTOFPIDResponse::GetStartTimeMask ( Float_t  mom) const

Definition at line 291 of file AliTOFPIDResponse.cxx.

Referenced by GetT0binMask().

Float_t AliTOFPIDResponse::GetStartTimeRes ( Float_t  mom) const

Definition at line 281 of file AliTOFPIDResponse.cxx.

Referenced by GetT0binMask().

Float_t AliTOFPIDResponse::GetT0bin ( Int_t  ibin) const
inline

Definition at line 57 of file AliTOFPIDResponse.h.

Referenced by GetStartTime(), and AliESDpid::MakeTOFPID().

Int_t AliTOFPIDResponse::GetT0binMask ( Int_t  ibin) const
inline

Definition at line 59 of file AliTOFPIDResponse.h.

Referenced by GetStartTimeMask().

Float_t AliTOFPIDResponse::GetT0binRes ( Int_t  ibin) const
inline

Definition at line 58 of file AliTOFPIDResponse.h.

Referenced by GetStartTimeRes().

Double_t AliTOFPIDResponse::GetTailRandomValue ( Float_t  pt = 1.0,
Float_t  eta = 0.0,
Float_t  time = 0.0,
Float_t  addmism = 0.0 
)
static
Float_t AliTOFPIDResponse::GetTimeResolution ( ) const
inline

Definition at line 32 of file AliTOFPIDResponse.h.

Double_t AliTOFPIDResponse::GetTimeZero ( ) const
inline

Definition at line 31 of file AliTOFPIDResponse.h.

Int_t AliTOFPIDResponse::GetTOFchannel ( AliVParticle trk) const

Definition at line 347 of file AliTOFPIDResponse.cxx.

Referenced by GetTrackParameter(), and AliPIDResponse::InitialiseEvent().

Float_t AliTOFPIDResponse::GetTOFtail ( )
inline

Definition at line 71 of file AliTOFPIDResponse.h.

Float_t AliTOFPIDResponse::GetTrackParameter ( Int_t  ip)
inline

Definition at line 68 of file AliTOFPIDResponse.h.

Int_t AliTOFPIDResponse::LoadTOFtailHisto ( )
private
void AliTOFPIDResponse::ResetT0info ( )
inline

Definition at line 48 of file AliTOFPIDResponse.h.

Referenced by AliTOFPIDResponse().

void AliTOFPIDResponse::SetMaxMismatchProbability ( Double_t  p)
inline

Definition at line 34 of file AliTOFPIDResponse.h.

void AliTOFPIDResponse::SetMomBoundary ( )

Definition at line 253 of file AliTOFPIDResponse.cxx.

Referenced by AliTOFPIDResponse(), and ResetT0info().

void AliTOFPIDResponse::SetT0bin ( Int_t  ibin,
Float_t  t0bin 
)
inline

Definition at line 54 of file AliTOFPIDResponse.h.

void AliTOFPIDResponse::SetT0binMask ( Int_t  ibin,
Int_t  t0binMask 
)
inline

Definition at line 56 of file AliTOFPIDResponse.h.

Referenced by AliPIDResponse::SetTOFResponse().

void AliTOFPIDResponse::SetT0binRes ( Int_t  ibin,
Float_t  t0binRes 
)
inline

Definition at line 55 of file AliTOFPIDResponse.h.

void AliTOFPIDResponse::SetT0event ( Float_t *  t0event)
inline

Definition at line 46 of file AliTOFPIDResponse.h.

Referenced by AliPIDResponse::SetTOFResponse().

void AliTOFPIDResponse::SetT0resolution ( Float_t *  t0resolution)
inline

Definition at line 47 of file AliTOFPIDResponse.h.

Referenced by AliPIDResponse::SetTOFResponse().

void AliTOFPIDResponse::SetTimeResolution ( Float_t  res)
inline

Definition at line 29 of file AliTOFPIDResponse.h.

Referenced by AliPIDResponse::InitializeTOFResponse().

void AliTOFPIDResponse::SetTimeZero ( Double_t  t0)
inline

Definition at line 30 of file AliTOFPIDResponse.h.

void AliTOFPIDResponse::SetTOFtail ( Float_t  tail)

Definition at line 102 of file AliTOFPIDResponse.cxx.

Referenced by GetTOFtail(), and AliPIDResponse::SetTOFResponse().

void AliTOFPIDResponse::SetTOFtailAllPara ( Float_t  mean,
Float_t  tail 
)

Definition at line 126 of file AliTOFPIDResponse.cxx.

Referenced by GetTOFtail().

void AliTOFPIDResponse::SetTrackParameter ( Int_t  ip,
Float_t  value 
)
inline

Definition at line 67 of file AliTOFPIDResponse.h.

Referenced by AliPIDResponse::InitializeTOFResponse().

Member Data Documentation

TH1D * AliTOFPIDResponse::fHchannelTOFdistr =NULL
staticprivate

Definition at line 95 of file AliTOFPIDResponse.h.

Referenced by GetMismatchProbability(), and GetMismatchRandomValue().

TH1F * AliTOFPIDResponse::fHmismTOF = NULL
staticprivate

Definition at line 94 of file AliTOFPIDResponse.h.

Referenced by GetMismatchProbability(), and GetMismatchRandomValue().

TH1D * AliTOFPIDResponse::fHTOFtailResponse =NULL
staticprivate
Int_t AliTOFPIDResponse::fMaskT0[fNmomBins]
private

Definition at line 90 of file AliTOFPIDResponse.h.

Referenced by GetT0binMask(), ResetT0info(), and SetT0binMask().

const Int_t AliTOFPIDResponse::fNmomBins = 10
staticprivate
Float_t AliTOFPIDResponse::fPar[4]
private
Float_t AliTOFPIDResponse::fPCutMin[fNmomBins+1]
private

Definition at line 89 of file AliTOFPIDResponse.h.

Referenced by GetMaxMom(), GetMinMom(), GetMomBin(), and SetMomBoundary().

Double_t AliTOFPIDResponse::fPmax
private

Definition at line 81 of file AliTOFPIDResponse.h.

Referenced by GetMaxMismatchProbability(), and SetMaxMismatchProbability().

Double_t AliTOFPIDResponse::fSigma
private

Definition at line 78 of file AliTOFPIDResponse.h.

Referenced by GetExpectedSigma(), GetTimeResolution(), and SetTimeResolution().

Float_t AliTOFPIDResponse::fT0event[fNmomBins]
private

Definition at line 87 of file AliTOFPIDResponse.h.

Referenced by GetT0bin(), ResetT0info(), SetT0bin(), and SetT0event().

Float_t AliTOFPIDResponse::fT0resolution[fNmomBins]
private
Double_t AliTOFPIDResponse::fTime0
private

Definition at line 82 of file AliTOFPIDResponse.h.

Referenced by GetTimeZero(), and SetTimeZero().

TF1 * AliTOFPIDResponse::fTOFtailResponse = NULL
staticprivate

Definition at line 93 of file AliTOFPIDResponse.h.

Referenced by AliTOFPIDResponse(), GetTOFtail(), SetTOFtail(), and SetTOFtailAllPara().


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