54#ifndef G4BiasingProcessInterface_h
55#define G4BiasingProcessInterface_h
107 {
return fSharedData-> fPublicBiasingProcessInterfaces;}
109 {
return fSharedData-> fPublicPhysicsBiasingProcessInterfaces;}
252 return 4*firstLast + 2*GPILDoIt + physAll;
G4double condition(const G4ErrorSymMatrix &m)
static constexpr double s
const std::vector< const G4BiasingProcessInterface * > & GetNonPhysicsBiasingProcessInterfaces() const
static G4Cache< G4bool > fCommonStart
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)
G4GPILSelection fWrappedProcessGPILSelection
virtual void ResetNumberOfInteractionLengthLeft()
G4bool IsLastPostStepGPILInterface(G4bool physOnly=true) const
static G4Cache< G4bool > fResetInteractionLaws
G4ForceCondition fWrappedProcessForceCondition
G4BiasingProcessSharedData * fSharedData
const std::vector< const G4BiasingProcessInterface * > & GetBiasingProcessInterfaces() const
virtual void SetProcessManager(const G4ProcessManager *)
G4bool fResetWrappedProcessInteractionLength
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
virtual void SetMasterProcess(G4VProcess *masterP)
G4bool GetWrappedProcessIsAtRest() const
const G4VBiasingInteractionLaw * fPreviousBiasingInteractionLaw
static G4Cache< G4bool > fDoCommonConfigure
G4double fCurrentMinimumStep
void InvokeWrappedProcessPostStepGPIL(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
G4double GetPostStepGPIL() const
G4VProcess * fWrappedProcess
void ResetForUnbiasedTracking()
G4double fBiasingAlongStepGPIL
G4double GetCurrentMinimumStep() const
virtual G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &step)
G4VBiasingOperation * GetPreviousFinalStateBiasingOperation() const
void SetProposedSafety(G4double sft)
~G4BiasingProcessInterface()
const G4ProcessManager * fProcessManager
G4bool GetIsLastPostStepDoItInterface(G4bool physOnly=true) const
virtual void PrepareWorkerPhysicsTable(const G4ParticleDefinition &pd)
void ReorderBiasingVectorAsGPIL()
const G4bool fWrappedProcessIsAtRest
G4int IdxFirstLast(G4int firstLast, G4int GPILDoIt, G4int physAll) const
const G4bool fIsPhysicsBasedBiasing
G4bool GetIsLastPostStepGPILInterface(G4bool physOnly=true) const
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)
G4VBiasingOperator * GetPreviousBiasingOperator() const
G4ParticleChangeForNothing * fDummyParticleChange
G4VBiasingOperation * GetCurrentFinalStateBiasingOperation() const
G4VBiasingOperation * fPreviousOccurenceBiasingOperation
G4bool GetIsFirstPostStepDoItInterface(G4bool physOnly=true) const
const G4bool fWrappedProcessIsAlong
G4bool IsFirstPostStepDoItInterface(G4bool physOnly=true) const
G4double GetPreviousStepSize() const
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
G4double fPreviousStepSize
static G4Cache< G4bool > fCommonEnd
G4bool IsLastPostStepDoItInterface(G4bool physOnly=true) const
G4double GetAlongStepGPIL() const
void StartTracking(G4Track *track)
G4bool GetWrappedProcessIsPost() const
G4VBiasingOperator * GetCurrentBiasingOperator() const
G4VBiasingOperation * fFinalStateBiasingOperation
G4BiasingProcessInterface(G4String name="biasWrapper(0)")
G4double GetProposedSafety() const
G4VBiasingOperation * GetCurrentNonPhysicsBiasingOperation() const
G4double fWrappedProcessAlongStepGPIL
const G4BiasingProcessSharedData * GetSharedData() const
virtual G4bool RetrievePhysicsTable(const G4ParticleDefinition *pd, const G4String &s, G4bool f)
void SetUpFirstLastFlags()
G4bool fFirstLastFlags[8]
virtual const G4ProcessManager * GetProcessManager()
virtual void PreparePhysicsTable(const G4ParticleDefinition &pd)
const G4bool fWrappedProcessIsPost
G4VBiasingOperation * fNonPhysicsBiasingOperation
G4VBiasingOperation * fPreviousNonPhysicsBiasingOperation
G4ParticleChangeForOccurenceBiasing * fOccurenceBiasingParticleChange
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
virtual void BuildPhysicsTable(const G4ParticleDefinition &pd)
G4VBiasingOperation * GetPreviousOccurenceBiasingOperation() const
G4double fBiasingPostStepGPIL
virtual G4bool StorePhysicsTable(const G4ParticleDefinition *pd, const G4String &s, G4bool f)
G4InteractionLawPhysical * fPhysicalInteractionLaw
const G4VBiasingInteractionLaw * fBiasingInteractionLaw
virtual G4bool IsApplicable(const G4ParticleDefinition &pd)
G4double fWrappedProcessPostStepGPIL
G4bool IsFirstPostStepGPILInterface(G4bool physOnly=true) const
G4VBiasingOperation * fOccurenceBiasingOperation
G4bool GetWrappedProcessIsAlong() const
G4VBiasingOperation * GetCurrentOccurenceBiasingOperation() const
G4ForceCondition fBiasingForceCondition
G4VProcess * GetWrappedProcess() const
G4double fWrappedProcessInteractionLength
G4GPILSelection fBiasingGPILSelection
G4VBiasingOperation * GetPreviousNonPhysicsBiasingOperation() const
virtual void BuildWorkerPhysicsTable(const G4ParticleDefinition &pd)
G4VBiasingOperation * fPreviousFinalStateBiasingOperation
G4VBiasingOperator * fPreviousBiasingOperator
std::vector< const G4BiasingProcessInterface * > fPublicNonPhysicsBiasingProcessInterfaces
const char * name(G4int ptype)