Geant4
9.6.p02
|
#include <B4aEventAction.hh>
Public Member Functions | |
B4aEventAction () | |
virtual | ~B4aEventAction () |
virtual void | BeginOfEventAction (const G4Event *event) |
virtual void | EndOfEventAction (const G4Event *event) |
void | AddAbs (G4double de, G4double dl) |
void | AddGap (G4double de, G4double dl) |
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
It defines data members to hold the energy deposit and track lengths of charged particles in Absober and Gap layers:
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 54 of file B4aEventAction.hh.
B4aEventAction::B4aEventAction | ( | ) |
|
virtual |
Definition at line 67 of file B4aEventAction.cc.
Reimplemented from G4UserEventAction.
Definition at line 74 of file B4aEventAction.cc.
Reimplemented from G4UserEventAction.
Definition at line 92 of file B4aEventAction.cc.
Definition at line 92 of file B4aEventAction.hh.