54#ifndef G4BiasingProcessInterface_h
55#define G4BiasingProcessInterface_h
107 {
return fSharedData-> fPublicBiasingProcessInterfaces;}
109 {
return fSharedData-> fPublicPhysicsBiasingProcessInterfaces;}
111 {
return fSharedData->fPublicNonPhysicsBiasingProcessInterfaces;}
207 void SetUpFirstLastFlags();
208 void ResetForUnbiasedTracking();
209 void ReorderBiasingVectorAsGPIL();
223 G4bool fResetWrappedProcessInteractionLength;
226 const G4bool fIsPhysicsBasedBiasing;
227 const G4bool fWrappedProcessIsAtRest;
228 const G4bool fWrappedProcessIsAlong;
229 const G4bool fWrappedProcessIsPost;
232 G4double fWrappedProcessPostStepGPIL;
234 G4double fWrappedProcessInteractionLength;
237 G4double fWrappedProcessAlongStepGPIL;
247 G4bool fFirstLastFlags[8];
252 return 4*firstLast + 2*GPILDoIt + physAll;
257 void InvokeWrappedProcessPostStepGPIL(
const G4Track& track,
G4double condition(const G4ErrorSymMatrix &m)
const std::vector< const G4BiasingProcessInterface * > & GetNonPhysicsBiasingProcessInterfaces() const
G4bool GetIsFirstPostStepGPILInterface(G4bool physOnly=true) const
const std::vector< const G4BiasingProcessInterface * > & GetPhysicsBiasingProcessInterfaces() const
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
virtual void ResetNumberOfInteractionLengthLeft()
G4bool IsLastPostStepGPILInterface(G4bool physOnly=true) const
const std::vector< const G4BiasingProcessInterface * > & GetBiasingProcessInterfaces() const
virtual void SetProcessManager(const G4ProcessManager *)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual void SetMasterProcess(G4VProcess *masterP)
G4bool GetWrappedProcessIsAtRest() const
G4double GetPostStepGPIL() const
G4double GetCurrentMinimumStep() const
virtual G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &step)
G4VBiasingOperation * GetPreviousFinalStateBiasingOperation() const
void SetProposedSafety(G4double sft)
~G4BiasingProcessInterface()
G4bool GetIsLastPostStepDoItInterface(G4bool physOnly=true) const
virtual void PrepareWorkerPhysicsTable(const G4ParticleDefinition &pd)
G4bool GetIsLastPostStepGPILInterface(G4bool physOnly=true) const
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)
G4VBiasingOperator * GetPreviousBiasingOperator() const
G4VBiasingOperation * GetCurrentFinalStateBiasingOperation() const
G4bool GetIsFirstPostStepDoItInterface(G4bool physOnly=true) const
G4bool IsFirstPostStepDoItInterface(G4bool physOnly=true) const
G4double GetPreviousStepSize() const
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
G4bool IsLastPostStepDoItInterface(G4bool physOnly=true) const
G4double GetAlongStepGPIL() const
void StartTracking(G4Track *track)
G4bool GetWrappedProcessIsPost() const
G4VBiasingOperator * GetCurrentBiasingOperator() const
G4BiasingProcessInterface(G4String name="biasWrapper(0)")
G4double GetProposedSafety() const
G4VBiasingOperation * GetCurrentNonPhysicsBiasingOperation() const
const G4BiasingProcessSharedData * GetSharedData() const
virtual G4bool RetrievePhysicsTable(const G4ParticleDefinition *pd, const G4String &s, G4bool f)
virtual const G4ProcessManager * GetProcessManager()
virtual void PreparePhysicsTable(const G4ParticleDefinition &pd)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
virtual void BuildPhysicsTable(const G4ParticleDefinition &pd)
G4VBiasingOperation * GetPreviousOccurenceBiasingOperation() const
virtual G4bool StorePhysicsTable(const G4ParticleDefinition *pd, const G4String &s, G4bool f)
virtual G4bool IsApplicable(const G4ParticleDefinition &pd)
G4bool IsFirstPostStepGPILInterface(G4bool physOnly=true) const
G4bool GetWrappedProcessIsAlong() const
G4VBiasingOperation * GetCurrentOccurenceBiasingOperation() const
G4VProcess * GetWrappedProcess() const
G4VBiasingOperation * GetPreviousNonPhysicsBiasingOperation() const
virtual void BuildWorkerPhysicsTable(const G4ParticleDefinition &pd)