Geant4
9.6.p02
|
#include <B4cEventAction.hh>
Public Member Functions | |
B4cEventAction () | |
virtual | ~B4cEventAction () |
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 53 of file B4cEventAction.hh.
B4cEventAction::B4cEventAction | ( | ) |
|
virtual |
Definition at line 66 of file B4cEventAction.cc.
Reimplemented from G4UserEventAction.
Definition at line 113 of file B4cEventAction.cc.
Reimplemented from G4UserEventAction.
Definition at line 125 of file B4cEventAction.cc.
Definition at line 79 of file B4cEventAction.hh.