Variant of G4UserSpecialCuts that only enforces the kinetic-energy cut on the (logical-volume, particle) pairs registered with RMGHardware.
More...
#include <RMGSelectiveEkinMinCutProcess.hh>


Public Member Functions | |
| RMGSelectiveEkinMinCutProcess (const G4String &process_name="UserSpecialCut") | |
| G4double | PostStepGetPhysicalInteractionLength (const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition) override |
| Defer to the base class only when the volume/particle pair is registered for a selective cut; otherwise return an infinite interaction length. | |
Variant of G4UserSpecialCuts that only enforces the kinetic-energy cut on the (logical-volume, particle) pairs registered with RMGHardware.
Where no selective cut applies, the process returns an infinite interaction length, so it is effectively transparent. This avoids the cost of applying the standard G4UserSpecialCuts globally when the cut is only desired in a few volumes.