GEMC
2.2
Geant4 Monte-Carlo Framework
|
#include <MEventAction.h>
Public Member Functions | |
MEventAction (goptions, map< string, double >) | |
Constructor copies gemc options. More... | |
~MEventAction () | |
Destructor. More... | |
vector< int > | vector_otids (vector< int > tids) |
return original track id of a vector of tid 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 | |
goptions | gemcOpt |
gemc options More... | |
outputContainer * | outContainer |
outputContainer class - contains the output format. More... | |
map< string, outputFactoryInMap > * | outputFactoryMap |
outputFactory map More... | |
map< string, sensitiveDetector * > | SeDe_Map |
Sensitive detector Map. More... | |
map< string, HitProcess_Factory > * | hitProcessMap |
Hit Process Routine Factory Map. More... | |
map< string, gBank > * | banksMap |
Bank Map. More... | |
map< string, double > | gPars |
Parameters Map. More... | |
MPrimaryGeneratorAction * | gen_action |
Generator Action. More... | |
map< int, int > | hierarchy |
Hierarchy map. More... | |
map< int, int > | momDaugther |
mom - daughter relationship 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... | |
string | WRITE_ALLRAW |
List of detectors for which geant4 all raw info need to be saved. More... | |
string | WRITE_INTRAW |
List of detectors for which geant4 raw integrated info need to be saved. More... | |
string | WRITE_INTDGT |
List of detectors for which digitized integrated info need to be NOT saved. More... | |
string | SIGNALVT |
List of detectors for which voltage versus time need to be saved. More... | |
MEventAction
Derived from G4UserEventAction.
The two functions:
Definition at line 77 of file MEventAction.h.
MEventAction::MEventAction | ( | goptions | opts, |
map< string, double > | gpars | ||
) |
Definition at line 79 of file MEventAction.cc.
MEventAction::~MEventAction | ( | ) |
Definition at line 96 of file MEventAction.cc.
void MEventAction::BeginOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 101 of file MEventAction.cc.
void MEventAction::EndOfEventAction | ( | const G4Event * | evt | ) |
Definition at line 111 of file MEventAction.cc.
|
inline |
Definition at line 113 of file MEventAction.h.
vector< int > MEventAction::vector_otids | ( | vector< int > | tids | ) |
Definition at line 19 of file MEventAction.cc.
map<string, gBank>* MEventAction::banksMap |
Definition at line 89 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.
goptions MEventAction::gemcOpt |
Definition at line 83 of file MEventAction.h.
MPrimaryGeneratorAction* MEventAction::gen_action |
Definition at line 91 of file MEventAction.h.
map<string, double> MEventAction::gPars |
Definition at line 90 of file MEventAction.h.
string MEventAction::hd_msg |
Definition at line 99 of file MEventAction.h.
map<int, int> MEventAction::hierarchy |
Definition at line 93 of file MEventAction.h.
map<string, HitProcess_Factory>* MEventAction::hitProcessMap |
Definition at line 88 of file MEventAction.h.
int MEventAction::MAXP |
Definition at line 104 of file MEventAction.h.
int MEventAction::Modulo |
Definition at line 100 of file MEventAction.h.
map<int, int> MEventAction::momDaugther |
Definition at line 94 of file MEventAction.h.
outputContainer* MEventAction::outContainer |
Definition at line 85 of file MEventAction.h.
map<string, outputFactoryInMap>* MEventAction::outputFactoryMap |
Definition at line 86 of file MEventAction.h.
int MEventAction::SAVE_ALL_MOTHERS |
Definition at line 103 of file MEventAction.h.
map<string, sensitiveDetector*> MEventAction::SeDe_Map |
Definition at line 87 of file MEventAction.h.
string MEventAction::SIGNALVT |
Definition at line 108 of file MEventAction.h.
double MEventAction::VERB |
Definition at line 101 of file MEventAction.h.
string MEventAction::WRITE_ALLRAW |
Definition at line 105 of file MEventAction.h.
string MEventAction::WRITE_INTDGT |
Definition at line 107 of file MEventAction.h.
string MEventAction::WRITE_INTRAW |
Definition at line 106 of file MEventAction.h.