BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
#include <BDSWrapperProcess.hh>
Public Member Functions | |
virtual G4double | AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection) |
Same as base class but update currentInteractionLength. | |
virtual G4double | AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition) |
Same as base class but update currentInteractionLength. | |
virtual G4double | PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) |
Same as base class but update currentInteractionLength. | |
@brieft Wrapper of wrapper to fix interface.
G4WrapperProcess doesn't override GetCurrentInteractionLength, so no wrapped processes provide a correct current interaction length necessary for tracking. This function isn't virtual so we can't override just that sadly. Therefore, we override the 3 big functions where the member variable currentInteractionLength would be updated and copy it out of the wrapped process. Even if this is updated in Geant4 now we need to retain backwards compatibility.
Definition at line 40 of file BDSWrapperProcess.hh.
|
inlinevirtual |
Definition at line 44 of file BDSWrapperProcess.hh.
|
virtual |
Same as base class but update currentInteractionLength.
Definition at line 24 of file BDSWrapperProcess.cc.
|
virtual |
Same as base class but update currentInteractionLength.
Definition at line 40 of file BDSWrapperProcess.cc.
|
virtual |
Same as base class but update currentInteractionLength.
Definition at line 49 of file BDSWrapperProcess.cc.