57 fWorldVolume ( nullptr ),
58 fIsTrackingTime ( false ),
59 fIsFirstStep ( false ),
60 fGhostNavigator ( nullptr ),
61 fGhostNavigatorIndex ( -1 ),
62 fIsGhostGeometry ( false ),
63 fGhostSafety ( -1.0 ),
65 fFastSimulationManager( nullptr ),
66 fFastSimulationTrigger( false )
77 <<
"' is created, and will message geometry with world volume `"
88 fWorldVolume ( nullptr ),
89 fIsTrackingTime ( false ),
90 fIsFirstStep ( false ),
91 fGhostNavigator ( nullptr ),
92 fGhostNavigatorIndex ( -1 ),
93 fIsGhostGeometry ( false ),
94 fGhostSafety ( -1.0 ),
96 fFastSimulationManager( nullptr ),
97 fFastSimulationTrigger( false )
108 <<
"' is created, and will message geometry with world volume `"
119 fWorldVolume ( nullptr ),
120 fIsTrackingTime ( false ),
121 fIsFirstStep ( false ),
122 fGhostNavigator ( nullptr ),
123 fGhostNavigatorIndex ( -1 ),
124 fIsGhostGeometry ( false ),
125 fGhostSafety ( -1.0 ),
127 fFastSimulationManager( nullptr ),
128 fFastSimulationTrigger( false )
139 <<
"' is created, and will message geometry with world volume `"
160 <<
"': changing of world volume at tracking time is not allowed." <<
G4endl;
161 G4Exception(
"G4FastSimulationManagerProcess::SetWorldVolume(const G4String)",
172 tellWhatIsWrong <<
"Volume newWorldName = `" << newWorldName
173 <<
"' is not a parallel world nor the mass world volume."
175 G4Exception(
"G4FastSimulationManagerProcess::SetWorldVolume(const G4String)",
184 <<
"' to `" << newWorld <<
"'." <<
G4endl;
186 <<
"': setting world volume from to `"<< newWorld->
GetName() <<
"'." <<
G4endl;
199 tellWhatIsWrong <<
"Null pointer passed for world volume." <<
G4endl;
200 G4Exception(
"G4FastSimulationManagerProcess::SetWorldVolume(const G4VPhysicalVolume* newWorld)",
313 if (!endTrack_G4MT_TLS_) endTrack_G4MT_TLS_ =
new G4FieldTrack (
'0') ;
317 if (!eLimited_G4MT_TLS_) eLimited_G4MT_TLS_ =
new ELimited ;
318 ELimited &eLimited = *eLimited_G4MT_TLS_;
320 if (previousStepSize > 0.)
fGhostSafety -= previousStepSize;
326 if (currentMinimumStep <= fGhostSafety && currentMinimumStep > 0.)
329 returnedStep = currentMinimumStep;
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual ~G4FastSimulationManagerProcess()
G4VParticleChange * InvokeAtRestDoIt()
void AddFSMP(G4FastSimulationManagerProcess *)
G4bool AtRestGetFastSimulationManagerTrigger(const G4Track &, const G4Navigator *a=0)
std::ostringstream G4ExceptionDescription
G4LogicalVolume * GetLogicalVolume() const
G4VPhysicalVolume * GetLocatedVolume(G4int navId) const
G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
G4TransportationManager * fTransportationManager
G4VParticleChange * InvokePostStepDoIt()
void RemoveFSMP(G4FastSimulationManagerProcess *)
G4FastSimulationManager * GetFastSimulationManager() const
G4Navigator * GetNavigatorForTracking() const
G4int GetCurrentStepNumber() const
G4double condition(const G4ErrorSymMatrix &m)
G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
G4Navigator * fGhostNavigator
G4int fGhostNavigatorIndex
virtual void Initialize(const G4Track &)
G4VPhysicalVolume * IsWorldExisting(const G4String &worldName)
G4double ComputeStep(const G4FieldTrack &pFieldTrack, G4double pCurrentProposedStepLength, G4int navigatorId, G4int stepNo, G4double &pNewSafety, ELimited &limitedStep, G4FieldTrack &EndState, G4VPhysicalVolume *currentVolume)
G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
G4bool PostStepGetFastSimulationManagerTrigger(const G4Track &, const G4Navigator *a=0)
G4bool fFastSimulationTrigger
G4PathFinder * fPathFinder
G4FastSimulationManager * fFastSimulationManager
const G4String & GetProcessName() const
const G4ThreeVector & GetPosition() const
G4VPhysicalVolume * fWorldVolume
G4VParticleChange fDummyParticleChange
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigator(const G4String &worldName)
virtual G4double ComputeSafety(const G4ThreeVector &globalpoint, const G4double pProposedMaxLength=DBL_MAX, const G4bool keepState=true)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4FastSimulationManagerProcess(const G4String &processName="G4FastSimulationManagerProcess", G4ProcessType theType=fParameterisation)
G4TrackStatus GetTrackStatus() const
void PrepareNewTrack(const G4ThreeVector &position, const G4ThreeVector &direction, G4VPhysicalVolume *massStartVol=0)
G4int ActivateNavigator(G4Navigator *aNavigator)
void SetProcessSubType(G4int)
void StartTracking(G4Track *)
void SetWorldVolume(G4String)
G4GLOB_DLL std::ostream G4cout
G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &step)
G4double AlongStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
G4VPhysicalVolume * GetWorldVolume() const
const G4ThreeVector & GetMomentumDirection() const
static G4PathFinder * GetInstance()
void ProposeTrackStatus(G4TrackStatus status)
void DeActivateNavigator(G4Navigator *aNavigator)
static G4GlobalFastSimulationManager * GetGlobalFastSimulationManager()
const G4String & GetName() const
G4VPhysicalVolume * GetVolume() const
static void Update(G4FieldTrack *, const G4Track *)