BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
BDSIM's Geant4 stacking action. More...
#include <BDSLinkStackingAction.hh>
Public Member Functions | |
BDSLinkStackingAction ()=delete | |
Force use of supplied constructor. | |
BDSLinkStackingAction (const BDSGlobalConstants *globals, const std::set< G4int > &pdgIDsToAllowIn=std::set< G4int >(), G4bool protonsAndIonsOnlyIn=true, G4double minimumEKIn=0) | |
virtual G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *aTrack) |
Static Public Attributes | |
static G4double | kineticEnergyKilled = 0 |
Private Attributes | |
G4bool | killNeutrinos |
Local copy of whether to kill neutrinos for tracking efficiency. | |
G4bool | stopSecondaries |
Whether particles with parentID > 0 will be killed. | |
G4long | maxTracksPerEvent |
Maximum number of tracks before start killing. | |
std::set< G4int > | pdgIDsToAllow |
G4bool | emptyPDGIDs |
G4bool | protonsAndIonsOnly |
G4double | minimumEK |
Minimum kinetic energy to generate a hit for. | |
BDSIM's Geant4 stacking action.
Definition at line 34 of file BDSLinkStackingAction.hh.
|
explicit |
Definition at line 34 of file BDSLinkStackingAction.cc.
|
virtual |
Definition at line 50 of file BDSLinkStackingAction.cc.
|
virtual |
Decide whether to kill tracks if they're neutrinos or we're killing all secondaries. Note the even won't conserve energy with the stopSecondaries on.
Definition at line 53 of file BDSLinkStackingAction.cc.
References BDS::IsIon(), killNeutrinos, maxTracksPerEvent, minimumEK, and stopSecondaries.
|
private |
Definition at line 57 of file BDSLinkStackingAction.hh.
|
private |
Local copy of whether to kill neutrinos for tracking efficiency.
Definition at line 53 of file BDSLinkStackingAction.hh.
Referenced by ClassifyNewTrack().
|
static |
Definition at line 50 of file BDSLinkStackingAction.hh.
|
private |
Maximum number of tracks before start killing.
Definition at line 55 of file BDSLinkStackingAction.hh.
Referenced by ClassifyNewTrack().
|
private |
Minimum kinetic energy to generate a hit for.
Definition at line 59 of file BDSLinkStackingAction.hh.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 56 of file BDSLinkStackingAction.hh.
|
private |
Definition at line 58 of file BDSLinkStackingAction.hh.
|
private |
Whether particles with parentID > 0 will be killed.
Definition at line 54 of file BDSLinkStackingAction.hh.
Referenced by ClassifyNewTrack().