remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGStackingAction Class Reference

Stacking action delegating track classification to the registered output schemes. More...

#include <RMGStackingAction.hh>

Inheritance diagram for RMGStackingAction:
Collaboration diagram for RMGStackingAction:

Public Member Functions

 RMGStackingAction (RMGRunAction *)
 
 RMGStackingAction (RMGStackingAction const &)=delete
 
RMGStackingActionoperator= (RMGStackingAction const &)=delete
 
 RMGStackingAction (RMGStackingAction &&)=delete
 
RMGStackingActionoperator= (RMGStackingAction &&)=delete
 
G4ClassificationOfNewTrack ClassifyNewTrack (const G4Track *aTrack) override
 Classify a newly created track by consulting the registered output schemes.
 
void NewStage () override
 Advance to the next stacking stage; called when the current stack is empty.
 
void PrepareNewEvent () override
 Reset the stage counter before tracking a new event.
 

Detailed Description

Stacking action delegating track classification to the registered output schemes.

Iterates over the output schemes attached to the owning RMGRunAction so that they can, for instance, defer secondary tracks to a later processing stage.

Member Function Documentation

◆ ClassifyNewTrack()

G4ClassificationOfNewTrack RMGStackingAction::ClassifyNewTrack ( const G4Track * aTrack)
override

Classify a newly created track by consulting the registered output schemes.

Schemes may return a classification different from fUrgent to defer processing to a later stage (e.g. for two-pass optical photon handling).


The documentation for this class was generated from the following files: