48 fForceCollisionModelID(-1),
49 fCurrentTrack(nullptr),
50 fCurrentTrackData(nullptr),
51 fInitialTrackWeight(-1.0),
61 ed <<
" Particle `" << particleName <<
"' not found !" <<
G4endl;
62 G4Exception(
" G4BOptrForceCollision::G4BOptrForceCollision(...)",
72 fForceCollisionModelID(-1),
73 fCurrentTrack(nullptr),
74 fCurrentTrackData(nullptr),
75 fInitialTrackWeight(-1.0),
86 for ( std::map< const G4BiasingProcessInterface*, G4BOptnForceFreeFlight* >::iterator it =
fFreeFlightOperations.begin() ;
88 it++ )
delete (*it).second;
114 if ( interfaceProcessSharedData )
184 G4bool isFirstPhysGPIL = callingProcess-> GetIsFirstPostStepGPILInterface();
187 if ( isFirstPhysGPIL )
222 if ( isFirstPhysGPIL )
234 if ( interactionLength <
DBL_MAX/10. )
244 return operationToReturn;
326 ed <<
"Current track deleted while under biasing by " <<
GetName() <<
". Will result in inconsistencies.";
327 G4Exception(
" G4BOptrForceCollision::EndTracking()",
348 ed <<
" Internal inconsistency : please submit bug report. " <<
G4endl;
349 G4Exception(
" G4BOptrForceCollision::OperationApplied(...)",
373 ed <<
" Internal inconsistency : please submit bug report. " <<
G4endl;
374 G4Exception(
" G4BOptrForceCollision::OperationApplied(...)",
384 ed <<
" Internal inconsistency : please submit bug report. " <<
G4endl;
385 G4Exception(
" G4BOptrForceCollision::OperationApplied(...)",
397 ed <<
" Internal inconsistency : please submit bug report. " <<
G4endl;
398 G4Exception(
" G4BOptrForceCollision::OperationApplied(...)",
417 ed <<
" Internal inconsistency : please submit bug report. " <<
G4endl;
418 G4Exception(
" G4BOptrForceCollision::OperationApplied(...)",
428 ed <<
" Internal inconsistency : please submit bug report. " <<
G4endl;
429 G4Exception(
" G4BOptrForceCollision::OperationApplied(...)",
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
G4double GetMaximumDistance() const
virtual void StartRun() final
void AddCrossSection(const G4VProcess *, G4double)
G4double fInitialTrackWeight
const G4String GetName() const
std::ostringstream G4ExceptionDescription
static G4ParticleTable * GetParticleTable()
const G4ThreeVector & GetInitialMomentum() const
G4StepPoint * GetPreStepPoint() const
G4BOptrForceCollisionTrackData * fCurrentTrackData
G4bool GetInteractionOccured() const
virtual void EndTracking() final
G4BOptnCloning * fCloningOperation
size_t GetNumberOfSharing() const
void OperationApplied(const G4BiasingProcessInterface *callingProcess, G4BiasingAppliedCase biasingCase, G4VBiasingOperation *operationApplied, const G4VParticleChange *particleChangeProduced) final
virtual G4VBiasingOperation * ProposeFinalStateBiasingOperation(const G4Track *track, const G4BiasingProcessInterface *callingProcess) final
G4int fForceCollisionModelID
G4int GetCurrentStepNumber() const
void ResetInitialTrackWeight(G4double w)
G4double GetCurrentInteractionLength() const
G4ParticleDefinition * GetDefinition() const
const G4Track * fCurrentTrack
G4VBiasingOperation * GetCurrentOccurenceBiasingOperation() const
const std::vector< const G4BiasingProcessInterface * > & GetPhysicsBiasingProcessInterfaces() const
const G4BOptrForceCollision * fForceCollisionOperator
G4double GetWeight() const
virtual void ConfigureForWorker() final
G4ThreeVector GetMomentum() const
G4StepStatus GetStepStatus() const
virtual G4VBiasingOperation * ProposeOccurenceBiasingOperation(const G4Track *track, const G4BiasingProcessInterface *callingProcess) final
G4VProcess * GetWrappedProcess() const
G4BOptnForceCommonTruncatedExp * fSharedForceInteractionOperation
const G4String & GetProcessName() const
G4BOptrForceCollision(G4String particleToForce, G4String name="ForceCollision")
const G4Step * GetStep() const
virtual void StartTracking(const G4Track *track) final
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4Track * GetCloneTrack() const
G4VAuxiliaryTrackInformation * GetAuxiliaryTrackInformation(G4int idx) const
virtual G4VBiasingOperation * ProposeNonPhysicsBiasingOperation(const G4Track *track, const G4BiasingProcessInterface *callingProcess) final
ForceCollisionState fForceCollisionState
G4ProcessManager * GetProcessManager() const
std::map< const G4BiasingProcessInterface *, G4BOptnForceFreeFlight * > fFreeFlightOperations
void SetAuxiliaryTrackInformation(G4int idx, G4VAuxiliaryTrackInformation *info) const
virtual void Configure() final
const G4ParticleDefinition * fParticleToBias
void Initialize(const G4Track *)
G4TrackStatus GetTrackStatus() const
void UpdateForStep(const G4Step *)
const G4BiasingProcessSharedData * GetSharedData() const
void SetCloneWeights(G4double clone1Weight, G4double clone2Weight)
G4bool IsFreeFromBiasing() const
static G4int Register(const G4String &)