]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/UPGRADE/AliITSUTrackHyp.cxx
Modifications needed to use PID framework based mass during tracking and
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUTrackHyp.cxx
index fcbf4ce99262362a896c770e5ad20860265cec39..28b4bd18fc08a52045ced90bdbee2fe476233e34 100644 (file)
@@ -81,7 +81,7 @@ AliITSUTrackHyp::AliITSUTrackHyp(const AliESDtrack &src)
 {
   // copy c-tor. from ESD track: take only kinematics, mass and time integral
   AliExternalTrackParam::operator=((const AliExternalTrackParam&)src);
-  SetMass(src.GetMass());
+  SetMass(src.GetMassForTracking());
   if (src.IsOn(AliESDtrack::kTIME)) {
     StartTimeIntegral();
     SetIntegratedLength(src.GetIntegratedLength());
@@ -130,7 +130,7 @@ AliITSUTrackHyp &AliITSUTrackHyp::operator=(const AliESDtrack &src)
 {
   // copy oparator from ESD track: take only kinematics, mass and time integral
   AliExternalTrackParam::operator=((const AliExternalTrackParam&)src);
-  SetMass(src.GetMass());
+  SetMass(src.GetMassForTracking());
   if (src.IsOn(AliESDtrack::kTIME)) {
     StartTimeIntegral();
     SetIntegratedLength(src.GetIntegratedLength());