Class RMGEventAction

Inheritance Relationships

Base Type

  • public G4UserEventAction

Class Documentation

class RMGEventAction : public G4UserEventAction

Per-event user action driving the output schemes.

Dispatches begin/end-of-event hooks to all output schemes registered on the owning RMGRunAction, takes care of clearing per-event buffers and decides whether to write the event ntuple based on the schemes’ filtering criteria.

Public Functions

RMGEventAction(RMGRunAction*)
~RMGEventAction() = default
RMGEventAction(RMGEventAction const&) = delete
RMGEventAction &operator=(RMGEventAction const&) = delete
RMGEventAction(RMGEventAction&&) = delete
RMGEventAction &operator=(RMGEventAction&&) = delete
void BeginOfEventAction(const G4Event*) override

Clear per-event output buffers and notify schemes that a new event has started.

void EndOfEventAction(const G4Event*) override

Run filtering schemes and, if the event is kept, fill the output ntuples.