#include "AliESDtrack.h"
#include "AliTracker.h"
#include "AliHMPIDtrack.h"
+#include "AliPID.h"
ClassImp(AliHMPIDtrack)
//
SetLabel(t.GetLabel());
SetChi2(0.);
- SetMass(t.GetMass());
+ SetMass(t.GetMassForTracking());
Set(t.GetX(),t.GetAlpha(),t.GetParameter(),t.GetCovariance());
if ((t.GetStatus()&AliESDtrack::kTIME) == 0) return;
StartTimeIntegral();
- Double_t times[10]; t.GetIntegratedTimes(times); SetIntegratedTimes(times);
+ Double_t times[AliPID::kSPECIESC];
+ t.GetIntegratedTimes(times,AliPID::kSPECIESC); SetIntegratedTimes(times);
SetIntegratedLength(t.GetIntegratedLength());
}
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++