]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITSv5symm.cxx
Corrected setting of magnetic field
[u/mrichter/AliRoot.git] / ITS / AliITSv5symm.cxx
index 76b180eed2e952a81c02e5267fc25c912453ae8c..cc2c0391a8ec9c22f94e592a51b7b8e9eb22e79c 100644 (file)
@@ -53,6 +53,7 @@
 #include "AliITShit.h"
 #include "AliITSv5symm.h"
 #include "AliRun.h"
+#include "AliMC.h"
 
 ClassImp(AliITSv5symm)
  
@@ -807,6 +808,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->GetCurrentTrackNumber(),vol,hits);
+  new(lhits[fNhits++]) AliITShit(fIshunt,gAlice->GetMCApp()->GetCurrentTrackNumber(),vol,hits);
   return;
 }