GEMC  1.8
Geant4 Monte-Carlo Framework
Public Member Functions | Data Fields
run_conditions Class Reference

#include <run_conditions.h>

+ Collaboration diagram for run_conditions:

Public Member Functions

 run_conditions (gemc_opts)
 
 ~run_conditions ()
 

Data Fields

map< string, gcard_detectorgDet_Map
 Map of gcard_detector. Map Key = detector name. More...
 
vector< string > gTab_Vec
 Vector of SQL tables names. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Field Documentation

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.