43 #ifndef G4ITSAFETYHELPER_HH
44 #define G4ITSAFETYHELPER_HH 1
99 {
G4int oldlv= fVerbose; fVerbose= lev;
return oldlv;}
111 G4ITNavigator* fpMassNavigator;
112 G4int fMassNavigatorId;
114 G4bool fUseParallelGeometries;
131 fLastSafetyPosition(0.0,0.0,0.0),
152 fUseParallelGeometries = parallel;
157 return fpMassNavigator->GetWorldVolume();
#define RegisterTrackState(CLASS, STATE)
void EnableParallelNavigation(G4bool parallel)
G4double CheckNextStep(const G4ThreeVector &position, const G4ThreeVector &direction, const G4double currentMaxStep, G4double &newSafety)
void ReLocateWithinVolume(const G4ThreeVector &pGlobalPoint)
G4int SetVerboseLevel(G4int lev)
StateTypeHandle fpTrackState
void InitialiseNavigator()
G4double ComputeSafety(const G4ThreeVector &pGlobalPoint, G4double maxRadius=DBL_MAX)
void Locate(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &direction)
static const G4double pos
void SetCurrentSafety(G4double val, const G4ThreeVector &pos)
G4VPhysicalVolume * GetWorldVolume()