]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STRUCT/AliHALLv3.cxx
Correct value for ROOT_HAS*
[u/mrichter/AliRoot.git] / STRUCT / AliHALLv3.cxx
index 50e4880c618a056b94c5d9b80a1b95c45e8fbf99..cf348da3cd1dbb3b0ac90f5315d02ef95ffae1fb 100644 (file)
@@ -513,7 +513,7 @@ void AliHALLv3::Init()
     }
 //
 // The reference volume id
-    fRefVolumeId = gMC->VolId("RB24Scoring");
+    fRefVolumeId = TVirtualMC::GetMC()->VolId("RB24Scoring");
 }
 
 void AliHALLv3::StepManager()
@@ -527,15 +527,15 @@ void AliHALLv3::StepManager()
   
   //
   // Only charged tracks
-  if( !(gMC->TrackCharge()) ) return; 
+  if( !(TVirtualMC::GetMC()->TrackCharge()) ) return; 
   //
   // Only tracks entering mother volume
   // 
 
-  id=gMC->CurrentVolID(copy);
+  id=TVirtualMC::GetMC()->CurrentVolID(copy);
 
   if ((id != fRefVolumeId))   return;
-  if(!gMC->IsTrackEntering()) return;
+  if(!TVirtualMC::GetMC()->IsTrackEntering()) return;
   //
   // Add the reference track
   //