/// Add the volume specified by volName to the list of sensitive
/// volumes
- SetSensitiveVolume(gMC->VolId(volName));
+ SetSensitiveVolume(TVirtualMC::GetMC()->VolId(volName));
}
//______________________________________________________________________________
/// Check if the volume specified by volName is present in the list
/// of sensitive volumes.
- return IsSensitiveVolume(gMC->VolId(volName));
+ return IsSensitiveVolume(TVirtualMC::GetMC()->VolId(volName));
}