19#ifndef BDSLINKSTACKINGACTION_H
20#define BDSLINKSTACKINGACTION_H
21#include "G4ClassificationOfNewTrack.hh"
23#include "G4UserStackingAction.hh"
41 const std::set<G4int>& pdgIDsToAllowIn = std::set<G4int>(),
42 G4bool protonsAndIonsOnlyIn =
true,
43 G4double minimumEKIn = 0);
50 static G4double kineticEnergyKilled;
56 std::set<G4int> pdgIDsToAllow;
58 G4bool protonsAndIonsOnly;
A class that holds global options and constants.
BDSIM's Geant4 stacking action.
G4bool stopSecondaries
Whether particles with parentID > 0 will be killed.
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
G4double minimumEK
Minimum kinetic energy to generate a hit for.
BDSLinkStackingAction()=delete
Force use of supplied constructor.
G4bool killNeutrinos
Local copy of whether to kill neutrinos for tracking efficiency.
G4long maxTracksPerEvent
Maximum number of tracks before start killing.