Moving to the new VMC naming convention
[u/mrichter/AliRoot.git] / ITS / AliITSv5symm.cxx
index 56e54a7..e172025 100644 (file)
@@ -806,6 +806,6 @@ void AliITSv5symm::StepManager(){
   hits[6]=gMC->Edep();
   hits[7]=gMC->TrackTime();
   // Fill hit structure with this new hit.
-  new(lhits[fNhits++]) AliITShit(fIshunt,gAlice->CurrentTrack(),vol,hits);
+  new(lhits[fNhits++]) AliITShit(fIshunt,gAlice->GetCurrentTrackNumber(),vol,hits);
   return;
 }