Geant4
9.6.p02
|
#include <B4dEventAction.hh>
Public Member Functions | |
B4dEventAction () | |
virtual | ~B4dEventAction () |
virtual void | BeginOfEventAction (const G4Event *event) |
virtual void | EndOfEventAction (const G4Event *event) |
void | SetPrintModulo (G4int value) |
Public Member Functions inherited from G4UserEventAction | |
G4UserEventAction () | |
virtual | ~G4UserEventAction () |
void | SetEventManager (G4EventManager *value) |
Additional Inherited Members | |
Protected Attributes inherited from G4UserEventAction | |
G4EventManager * | fpEventManager |
Event action class
In EndOfEventAction(), it prints the accumulated quantities of the energy deposit and track lengths of charged particles in Absober and Gap layers stored in the hits collections.
The data member fPrintModulo defines the frequency of printing the accumulated quantities. Its value can be changed via a command defined using G4GenericMessenger class:
Definition at line 52 of file B4dEventAction.hh.
B4dEventAction::B4dEventAction | ( | ) |
|
virtual |
Definition at line 64 of file B4dEventAction.cc.
Reimplemented from G4UserEventAction.
Definition at line 122 of file B4dEventAction.cc.
Reimplemented from G4UserEventAction.
Definition at line 134 of file B4dEventAction.cc.
Definition at line 79 of file B4dEventAction.hh.