BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Physics processes required for user tracking limits. More...
#include <BDSPhysicsCutsAndLimits.hh>
Public Member Functions | |
BDSPhysicsCutsAndLimits (const std::set< G4int > &pdgsToExcludeFromCuts={}) | |
virtual void | ConstructParticle () |
Construct gamma, e+- and proton - the minimum this sets limits for. | |
virtual void | ConstructProcess () |
Construct and attach step limiter and cuts processes. | |
BDSPhysicsCutsAndLimits & | operator= (const BDSPhysicsCutsAndLimits &)=delete |
Assignment and copy constructor not implemented nor used. | |
BDSPhysicsCutsAndLimits (BDSPhysicsCutsAndLimits &)=delete | |
Assignment and copy constructor not implemented nor used. | |
![]() | |
G4bool | Activated () const |
Get whether this instance has been activated. | |
void | SetActivated () |
Flag this instance as activated for later querying. | |
Private Attributes | |
G4StepLimiter * | stepLimiter |
Step limit process for MaxAllowedStep. | |
G4UserSpecialCuts * | specialCuts |
Process for all other limits. | |
BDSProcessUserSpecialCutsPDG * | bdsSpecialCuts |
G4bool | useParticleExclusionFromCuts |
Additional Inherited Members | |
![]() | |
G4bool | activated = false |
Physics processes required for user tracking limits.
Definition at line 36 of file BDSPhysicsCutsAndLimits.hh.
|
explicit |
Definition at line 35 of file BDSPhysicsCutsAndLimits.cc.
|
virtual |
Definition at line 51 of file BDSPhysicsCutsAndLimits.cc.
|
virtual |
Construct gamma, e+- and proton - the minimum this sets limits for.
Definition at line 58 of file BDSPhysicsCutsAndLimits.cc.
|
virtual |
Construct and attach step limiter and cuts processes.
Definition at line 66 of file BDSPhysicsCutsAndLimits.cc.
References BDSSingleUse::Activated(), BDSSingleUse::SetActivated(), specialCuts, and stepLimiter.
|
private |
Definition at line 56 of file BDSPhysicsCutsAndLimits.hh.
|
private |
Process for all other limits.
Definition at line 55 of file BDSPhysicsCutsAndLimits.hh.
Referenced by ConstructProcess().
|
private |
Step limit process for MaxAllowedStep.
Definition at line 54 of file BDSPhysicsCutsAndLimits.hh.
Referenced by ConstructProcess().
|
private |
Definition at line 57 of file BDSPhysicsCutsAndLimits.hh.