42#ifndef G4ITSAFETYHELPER_HH
43#define G4ITSAFETYHELPER_HH 1
98 {
G4int oldlv= fVerbose; fVerbose= lev;
return oldlv;}
110 G4ITNavigator* fpMassNavigator;
111 G4int fMassNavigatorId;
113 G4bool fUseParallelGeometries{
false};
130 fLastSafetyPosition(0.0,0.0,0.0)
150 fUseParallelGeometries = parallel;
155 return fpMassNavigator->GetWorldVolume();
#define RegisterTrackState(CLASS, STATE)
G4int SetVerboseLevel(G4int lev)
void Locate(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &direction)
void InitialiseNavigator()
void ReLocateWithinVolume(const G4ThreeVector &pGlobalPoint)
G4double ComputeSafety(const G4ThreeVector &pGlobalPoint, G4double maxRadius=DBL_MAX)
G4VPhysicalVolume * GetWorldVolume()
void SetCurrentSafety(G4double val, const G4ThreeVector &pos)
~G4ITSafetyHelper() override
G4double CheckNextStep(const G4ThreeVector &position, const G4ThreeVector &direction, const G4double currentMaxStep, G4double &newSafety)
void EnableParallelNavigation(G4bool parallel)
StateTypeHandle fpTrackState