BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
BDSIM's Geant4 stacking action. More...
#include <BDSStackingAction.hh>
Public Member Functions | |
BDSStackingAction (const BDSGlobalConstants *globals) | |
virtual G4ClassificationOfNewTrack | ClassifyNewTrack (const G4Track *aTrack) |
virtual void | NewStage () |
We don't do anything here. More... | |
virtual void | PrepareNewEvent () |
We don't do anything here. More... | |
Static Public Attributes | |
static G4double | energyKilled = 0 |
Private Member Functions | |
BDSStackingAction ()=delete | |
Force use of supplied constructor. | |
Private Attributes | |
G4bool | killNeutrinos |
Local copy of whether to kill neutrinos for tracking efficiency. More... | |
G4bool | stopSecondaries |
Whether particles with parentID > 0 will be killed. More... | |
G4long | maxTracksPerEvent |
Maximum number of tracks before start killing. More... | |
G4double | minimumEK |
std::set< G4int > | particlesToExcludeFromCuts |
BDSIM's Geant4 stacking action.
Definition at line 35 of file BDSStackingAction.hh.
BDSStackingAction::BDSStackingAction | ( | const BDSGlobalConstants * | globals | ) |
Definition at line 44 of file BDSStackingAction.cc.
|
virtual |
Definition at line 55 of file BDSStackingAction.cc.
|
virtual |
Decide whether to kill tracks if they're neutrinos or we're killing all secondaries. Note the event won't conserve energy with the stopSecondaries on.
Definition at line 58 of file BDSStackingAction.cc.
References killNeutrinos, maxTracksPerEvent, and stopSecondaries.
|
virtual |
We don't do anything here.
Definition at line 152 of file BDSStackingAction.cc.
|
virtual |
We don't do anything here.
Definition at line 160 of file BDSStackingAction.cc.
|
static |
Definition at line 48 of file BDSStackingAction.hh.
|
private |
Local copy of whether to kill neutrinos for tracking efficiency.
Definition at line 54 of file BDSStackingAction.hh.
Referenced by ClassifyNewTrack().
|
private |
Maximum number of tracks before start killing.
Definition at line 56 of file BDSStackingAction.hh.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 57 of file BDSStackingAction.hh.
|
private |
Definition at line 58 of file BDSStackingAction.hh.
|
private |
Whether particles with parentID > 0 will be killed.
Definition at line 55 of file BDSStackingAction.hh.
Referenced by ClassifyNewTrack().