remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGSelectiveEkinMinCutProcess Class Reference

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

#include <RMGSelectiveEkinMinCutProcess.hh>

Inheritance diagram for RMGSelectiveEkinMinCutProcess:
Collaboration diagram for RMGSelectiveEkinMinCutProcess:

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.
 

Detailed Description

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.


The documentation for this class was generated from the following files: