19#ifndef BDSSTACKINGACTION_H
20#define BDSSTACKINGACTION_H
23#include "G4ClassificationOfNewTrack.hh"
24#include "G4UserStackingAction.hh"
48 static G4double energyKilled;
58 std::set<G4int> particlesToExcludeFromCuts;
A class that holds global options and constants.
BDSIM's Geant4 stacking action.
G4long maxTracksPerEvent
Maximum number of tracks before start killing.
virtual void PrepareNewEvent()
We don't do anything here.
BDSStackingAction()=delete
Force use of supplied constructor.
G4bool killNeutrinos
Local copy of whether to kill neutrinos for tracking efficiency.
virtual G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack)
G4bool stopSecondaries
Whether particles with parentID > 0 will be killed.
virtual void NewStage()
We don't do anything here.