#include <G4SafetyHelper.hh>
|
| G4SafetyHelper () |
|
| ~G4SafetyHelper () |
|
G4double | CheckNextStep (const G4ThreeVector &position, const G4ThreeVector &direction, const G4double currentMaxStep, G4double &newSafety) |
|
G4double | ComputeSafety (const G4ThreeVector &pGlobalPoint, G4double maxRadius=DBL_MAX) |
|
void | Locate (const G4ThreeVector &pGlobalPoint, const G4ThreeVector &direction) |
|
void | ReLocateWithinVolume (const G4ThreeVector &pGlobalPoint) |
|
G4bool | RecheckDistanceToCurrentBoundary (const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=0) const |
|
void | EnableParallelNavigation (G4bool parallel) |
|
void | InitialiseNavigator () |
|
G4int | SetVerboseLevel (G4int lev) |
|
G4VPhysicalVolume * | GetWorldVolume () |
|
void | SetCurrentSafety (G4double val, const G4ThreeVector &pos) |
|
void | InitialiseHelper () |
|
Definition at line 53 of file G4SafetyHelper.hh.
◆ G4SafetyHelper()
G4SafetyHelper::G4SafetyHelper |
( |
| ) |
|
Definition at line 42 of file G4SafetyHelper.cc.
G4ThreeVector fLastSafetyPosition
G4PathFinder * fpPathFinder
G4Navigator * fpMassNavigator
G4bool fUseParallelGeometries
◆ ~G4SafetyHelper()
G4SafetyHelper::~G4SafetyHelper |
( |
| ) |
|
◆ CheckNextStep()
Definition at line 94 of file G4SafetyHelper.cc.
G4ThreeVector fLastSafetyPosition
G4double CheckNextStep(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double &pNewSafety)
G4Navigator * fpMassNavigator
◆ ComputeSafety()
Definition at line 114 of file G4SafetyHelper.cc.
122 if( (moveLengthSq > 0.0 ) )
136 if( newSafety < maxLength )
G4ThreeVector fLastSafetyPosition
G4PathFinder * fpPathFinder
G4Navigator * fpMassNavigator
G4double ComputeSafety(const G4ThreeVector &globalPoint)
G4bool fUseParallelGeometries
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
◆ EnableParallelNavigation()
void G4SafetyHelper::EnableParallelNavigation |
( |
G4bool |
parallel | ) |
|
|
inline |
◆ GetWorldVolume()
Definition at line 152 of file G4SafetyHelper.hh.
G4Navigator * fpMassNavigator
G4VPhysicalVolume * GetWorldVolume() const
◆ InitialiseHelper()
void G4SafetyHelper::InitialiseHelper |
( |
| ) |
|
Definition at line 81 of file G4SafetyHelper.cc.
G4ThreeVector fLastSafetyPosition
CLHEP::Hep3Vector G4ThreeVector
void InitialiseNavigator()
◆ InitialiseNavigator()
void G4SafetyHelper::InitialiseNavigator |
( |
| ) |
|
Definition at line 59 of file G4SafetyHelper.cc.
75 "Found that existing tracking Navigator has NULL world");
static G4PathFinder * GetInstance()
G4PathFinder * fpPathFinder
G4Navigator * fpMassNavigator
G4Navigator * GetNavigatorForTracking() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static G4TransportationManager * GetTransportationManager()
G4int ActivateNavigator(G4Navigator *aNavigator)
G4VPhysicalVolume * GetWorldVolume() const
◆ Locate()
Definition at line 183 of file G4SafetyHelper.cc.
void Locate(const G4ThreeVector &position, const G4ThreeVector &direction, G4bool relativeSearch=true)
G4PathFinder * fpPathFinder
G4Navigator * fpMassNavigator
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
G4bool fUseParallelGeometries
◆ RecheckDistanceToCurrentBoundary()
Definition at line 197 of file G4SafetyHelper.cc.
G4PathFinder * fpPathFinder
virtual G4bool RecheckDistanceToCurrentBoundary(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double CurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=0) const
G4Navigator * fpMassNavigator
G4bool fUseParallelGeometries
G4bool RecheckDistanceToCurrentBoundary(const G4ThreeVector &pGlobalPoint, const G4ThreeVector &pDirection, const G4double pCurrentProposedStepLength, G4double *prDistance, G4double *prNewSafety=0) const
◆ ReLocateWithinVolume()
void G4SafetyHelper::ReLocateWithinVolume |
( |
const G4ThreeVector & |
pGlobalPoint | ) |
|
Definition at line 153 of file G4SafetyHelper.cc.
164 ed <<
" Center = " << fLastSafetyPosition <<
G4endl;
165 ed <<
" New Location : Move = " << moveVec.
mag2();
166 ed <<
" Position = " << newPosition <<
G4endl;
168 "Unsafe Move> Asked to relocate beyond 'Safety sphere'.");
G4ThreeVector fLastSafetyPosition
std::ostringstream G4ExceptionDescription
G4PathFinder * fpPathFinder
void ReLocate(const G4ThreeVector &position)
G4Navigator * fpMassNavigator
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool fUseParallelGeometries
virtual void LocateGlobalPointWithinVolume(const G4ThreeVector &position)
◆ SetCurrentSafety()
Definition at line 158 of file G4SafetyHelper.hh.
G4ThreeVector fLastSafetyPosition
static const G4double pos
◆ SetVerboseLevel()
G4int G4SafetyHelper::SetVerboseLevel |
( |
G4int |
lev | ) |
|
|
inline |
◆ fFirstCall
G4bool G4SafetyHelper::fFirstCall |
|
private |
◆ fLastSafety
◆ fLastSafetyPosition
◆ fMassNavigatorId
G4int G4SafetyHelper::fMassNavigatorId |
|
private |
◆ fpMassNavigator
◆ fpPathFinder
◆ fUseParallelGeometries
G4bool G4SafetyHelper::fUseParallelGeometries |
|
private |
◆ fVerbose
G4int G4SafetyHelper::fVerbose |
|
private |
The documentation for this class was generated from the following files: