GEMC
1.8
Geant4 Monte-Carlo Framework
|
#include <MEventAction.h>
Public Member Functions | |
MEventAction (gemc_opts, map< string, double >) | |
Constructor copies gemc options. More... | |
~MEventAction () | |
Destructor. More... | |
void | BeginOfEventAction (const G4Event *) |
Routine at the start of each event. More... | |
void | EndOfEventAction (const G4Event *) |
Routine at the end of each event. More... | |
void | SetEvtNumber (int N) |
Sets Event Number. More... | |
Data Fields | |
gemc_opts | gemcOpt |
gemc options More... | |
MOutputs * | MOut |
MOutputs class - contains the output format. More... | |
map< string, MOutput_Factory > * | Out |
MOutput_Factory map. More... | |
map< string, MSensitiveDetector * > | SeDe_Map |
Sensitive detector Map. More... | |
map< string, MPHB_Factory > * | MProcessHit_Map |
Hit Process Routine Factory Map. More... | |
map< string, MBank > * | MBank_Map |
Bank Map. More... | |
map< string, double > | gPars |
Parameters Map. More... | |
MPrimaryGeneratorAction * | gen_action |
Generator Action. More... | |
int | evtN |
Event Number. More... | |
string | hd_msg |
Event Action Message. More... | |
int | Modulo |
Print Log Event every Modulo. More... | |
double | VERB |
Event Verbosity. More... | |
string | catch_v |
Print Log for volume. More... | |
int | SAVE_ALL_MOTHERS |
Loops over the stored trajectories to store mother vertex and pid in the output. More... | |
int | MAXP |
Max number of generated particles to save on output stream. More... | |
MEventAction
Derived from G4UserEventAction.
The two functions:
Definition at line 82 of file MEventAction.h.
MEventAction::MEventAction | ( | gemc_opts | opts, |
map< string, double > | gpars | ||
) |
Definition at line 63 of file MEventAction.cc.
MEventAction::~MEventAction | ( | ) |
Definition at line 75 of file MEventAction.cc.
void MEventAction::BeginOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 80 of file MEventAction.cc.
void MEventAction::EndOfEventAction | ( | const G4Event * | evt | ) |
< Increase event number. Notice: this is different than evt->GetEventID()
Definition at line 90 of file MEventAction.cc.
|
inline |
Definition at line 109 of file MEventAction.h.
string MEventAction::catch_v |
Definition at line 102 of file MEventAction.h.
int MEventAction::evtN |
Definition at line 98 of file MEventAction.h.
gemc_opts MEventAction::gemcOpt |
Definition at line 88 of file MEventAction.h.
MPrimaryGeneratorAction* MEventAction::gen_action |
Definition at line 96 of file MEventAction.h.
map<string, double> MEventAction::gPars |
Definition at line 95 of file MEventAction.h.
string MEventAction::hd_msg |
Definition at line 99 of file MEventAction.h.
int MEventAction::MAXP |
Definition at line 104 of file MEventAction.h.
map<string, MBank>* MEventAction::MBank_Map |
Definition at line 94 of file MEventAction.h.
int MEventAction::Modulo |
Definition at line 100 of file MEventAction.h.
MOutputs* MEventAction::MOut |
Definition at line 90 of file MEventAction.h.
map<string, MPHB_Factory>* MEventAction::MProcessHit_Map |
Definition at line 93 of file MEventAction.h.
map<string, MOutput_Factory>* MEventAction::Out |
Definition at line 91 of file MEventAction.h.
int MEventAction::SAVE_ALL_MOTHERS |
Definition at line 103 of file MEventAction.h.
map<string, MSensitiveDetector*> MEventAction::SeDe_Map |
Definition at line 92 of file MEventAction.h.
double MEventAction::VERB |
Definition at line 101 of file MEventAction.h.