Remove deprecated function
authoralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Jun 2006 13:01:14 +0000 (13:01 +0000)
committeralibrary <alibrary@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Jun 2006 13:01:14 +0000 (13:01 +0000)
PMD/AliPMDv1.cxx

index 0a124d9..43f4266 100644 (file)
@@ -1503,7 +1503,7 @@ void AliPMDv1::StepManager()
   Int_t   vol[10];
   //  const char *namep;
   
-  if(gMC->GetMedium() == fMedSens && (destep = gMC->Edep())) {
+  if(gMC->CurrentMedium() == fMedSens && (destep = gMC->Edep())) {
   
     gMC->CurrentVolID(copy);
     //     namep=gMC->CurrentVolName();