48 -> GetNavigatorForTracking();
50 G4VSolid* solid = world-> GetLogicalVolume()-> GetSolid();
51 EInside qinside = solid-> Inside(pos);
61 ed <<
"Invalid vertex position (" << aPosition <<
"). "
62 <<
"Position MUST be located -inside- the world volume." <<
G4endl
63 <<
"Gun position has NOT been changed!";
64 G4Exception(
"G4VPrimaryGenerator::SetParticlePosition",
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
std::ostringstream G4ExceptionDescription
CLHEP::Hep3Vector G4ThreeVector
G4Navigator is a class for use by the tracking management, able to obtain/calculate dynamic tracking ...
static G4StateManager * GetStateManager()
static G4TransportationManager * GetTransportationManager()
G4VPhysicalVolume is an abstract base class for the representation of a positioned volume....
G4ThreeVector particle_position
static G4bool CheckVertexInsideWorld(const G4ThreeVector &pos)
void SetParticlePosition(G4ThreeVector aPosition)
G4VSolid is an abstract base class for solids, physical shapes that can be tracked through....