16#ifndef _RMG_STACKING_ACTION_HH_
17#define _RMG_STACKING_ACTION_HH_
19#include "G4UserStackingAction.hh"
34 ~RMGStackingAction() =
default;
36 RMGStackingAction(RMGStackingAction
const&) =
delete;
37 RMGStackingAction& operator=(RMGStackingAction
const&) =
delete;
38 RMGStackingAction(RMGStackingAction&&) =
delete;
39 RMGStackingAction& operator=(RMGStackingAction&&) =
delete;
52 [[nodiscard]]
int GetCurrentStage()
const {
return fStage; }
Per-thread run action managing output files, ntuples and output schemes.
Definition RMGRunAction.hh:40
G4ClassificationOfNewTrack ClassifyNewTrack(const G4Track *aTrack) override
Classify a newly created track by consulting the registered output schemes.
Definition RMGStackingAction.cc:31
void PrepareNewEvent() override
Reset the stage counter before tracking a new event.
Definition RMGStackingAction.cc:29
void NewStage() override
Advance to the next stacking stage; called when the current stack is empty.
Definition RMGStackingAction.cc:50