23 #include <TGeoManager.h> 36 fStartTimeIntegral(kFALSE),
48 fFakeRatio(t.fFakeRatio),
53 fStartTimeIntegral(t.fStartTimeIntegral),
54 fIntegratedLength(t.fIntegratedLength)
120 static const Double_t kcc = 2.99792458e-2;
126 Double_t xr, param[5];
129 double tgl = param[3];
131 Double_t p2inv = param[4]*param[4]/(1+tgl*tgl);
138 Double_t correction = TMath::Sqrt( 1. + massz*massz*p2inv );
139 Double_t time = length * correction / kcc;
167 AliWarning(Form(
"Particle type [%d] not found", pdg));
void GetExternalParameters(Double_t &xr, Double_t p[5]) const
Double_t GetIntegratedTime(Int_t pdg) const
void GetIntegratedTimes(Double_t *times, Int_t nspec=AliPID::kSPECIESC) const
Double32_t fIntegratedTime[AliPID::kSPECIESC]
AliKalmanTrack & operator=(const AliKalmanTrack &o)
Double32_t fIntegratedLength
#define AliWarning(message)
Bool_t fStartTimeIntegral
void SetIntegratedTimes(const Double_t *times)
AliExternalTrackParam & operator=(const AliExternalTrackParam &trkPar)
static Int_t ParticleCode(Int_t iType)
static Float_t ParticleMassZ(Int_t iType)
virtual void AddTimeStep(Double_t length)