|
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. | |
| virtual void | PrepareNewEvent () |
| We don't do anything here. | |
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. | |
| G4bool | stopSecondaries |
| Whether particles with parentID > 0 will be killed. | |
| G4long | maxTracksPerEvent |
| Maximum number of tracks before start killing. | |
| G4double | minimumEK |
| std::set< G4int > | particlesToExcludeFromCuts |
BDSIM's Geant4 stacking action.
Definition at line 34 of file BDSStackingAction.hh.
| BDSStackingAction::BDSStackingAction | ( | const BDSGlobalConstants * | globals | ) |
Definition at line 43 of file BDSStackingAction.cc.
|
virtual |
Definition at line 54 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 57 of file BDSStackingAction.cc.
References killNeutrinos, maxTracksPerEvent, and stopSecondaries.
|
virtual |
We don't do anything here.
Definition at line 151 of file BDSStackingAction.cc.
|
virtual |
We don't do anything here.
Definition at line 159 of file BDSStackingAction.cc.
|
static |
Definition at line 47 of file BDSStackingAction.hh.
|
private |
Local copy of whether to kill neutrinos for tracking efficiency.
Definition at line 53 of file BDSStackingAction.hh.
Referenced by ClassifyNewTrack().
|
private |
Maximum number of tracks before start killing.
Definition at line 55 of file BDSStackingAction.hh.
Referenced by ClassifyNewTrack().
|
private |
Definition at line 56 of file BDSStackingAction.hh.
|
private |
Definition at line 57 of file BDSStackingAction.hh.
|
private |
Whether particles with parentID > 0 will be killed.
Definition at line 54 of file BDSStackingAction.hh.
Referenced by ClassifyNewTrack().