Removed some dead code.
[u/mrichter/AliRoot.git] / FMD / AliFMDv2.cxx
index 4e6307c2c5b284cb3c48b717e56b7505fd809436..3bb51ac95bf1f00174964bf242634757ff5fe3de 100644 (file)
@@ -412,7 +412,7 @@ void AliFMDv2::StepManager()
          gMC->IsTrackStop())
         {
             hits[6]=de+1000.*gMC->Edep();
-      new(lhits[fNhits++]) AliFMDhit(fIshunt,gAlice->CurrentTrack(),vol,hits);
+      new(lhits[fNhits++]) AliFMDhit(fIshunt,gAlice->GetCurrentTrackNumber(),vol,hits);
         } // IsTrackExiting()
      }
   }