]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFv1.cxx
Movin AliQA from STEER to STEERBase
[u/mrichter/AliRoot.git] / TOF / AliTOFv1.cxx
index 8e0b8ee64b7a807f991deee904fe7890e6666193..bce79d94a05db0182361647cac6ae32952391589 100644 (file)
@@ -1058,7 +1058,7 @@ void AliTOFv1::StepManager()
   Int_t   *idtmed = fIdtmed->GetArray()-499;
   Float_t incidenceAngle;
   
-  if(gMC->GetMedium()==idtmed[513] && 
+  if(gMC->CurrentMedium()==idtmed[513] && 
      gMC->IsTrackEntering() && gMC->TrackCharge()
      && gMC->CurrentVolID(copy)==fIdSens) 
   {