GEMC
1.8
Geant4 Monte-Carlo Framework
|
#include <run_conditions.h>
Public Member Functions | |
run_conditions (gemc_opts) | |
~run_conditions () | |
Data Fields | |
map< string, gcard_detector > | gDet_Map |
Map of gcard_detector. Map Key = detector name. More... | |
vector< string > | gTab_Vec |
Vector of SQL tables names. More... | |
run_conditions
This is the gemc Run Conditions class. It contains the list of detector and their position/rotation and the beam conditions - through a map of class gcard. It reads an XML file (gcard).
Definition at line 74 of file run_conditions.h.
run_conditions::run_conditions | ( | gemc_opts | gemcOpt | ) |
< reading gcard file
< looping over SQL tables entries
< converts the node to an element.
< the node really is an element.
< selecting "sqltable" nodes
< table name
< looping over detector mods entries
< converts the node to an element.
< the node really is an element.
< selecting "detector" nodes
< Initializing Position
< Initializing Rotation
< detector name
< checking detector attributes
< Initializing Position
< Initializing Rotation
< Initializing Existance
Definition at line 7 of file run_conditions.cc.
run_conditions::~run_conditions | ( | ) |
Definition at line 94 of file run_conditions.cc.
map<string, gcard_detector> run_conditions::gDet_Map |
Definition at line 80 of file run_conditions.h.
vector<string> run_conditions::gTab_Vec |
Definition at line 81 of file run_conditions.h.