GEMC  2.3
Geant4 Monte-Carlo Framework
Data Structures | Typedefs | Functions
detector_factory.h File Reference
#include "options.h"
#include "detector.h"
#include "run_conditions.h"
#include "utils.h"
#include <map>
#include <iostream>
+ Include dependency graph for detector_factory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  detectorFactory
 

Typedefs

typedef detectorFactory *(* detectorFactoryInMap) ()
 

Functions

detectorFactorygetDetectorFactory (map< string, detectorFactoryInMap > *detectorFactoryMap, string)
 
map< string, detectorFactoryInMapregisterDetectorFactory ()
 
map< string, detectorbuildDetector (map< string, detectorFactoryInMap > detectorFactoryMap, goptions go, runConditions rc)
 
string check_factory_existance (map< string, detectorFactoryInMap > detectorFactoryMap, runConditions rc)
 
detector get_detector (gtable, goptions go, runConditions rc)
 

Typedef Documentation

typedef detectorFactory*(* detectorFactoryInMap) ()

Definition at line 30 of file detector_factory.h.

Function Documentation

map<string, detector> buildDetector ( map< string, detectorFactoryInMap detectorFactoryMap,
goptions  go,
runConditions  rc 
)

Definition at line 52 of file detector_factory.cc.

string check_factory_existance ( map< string, detectorFactoryInMap detectorFactoryMap,
runConditions  rc 
)

Definition at line 149 of file detector_factory.cc.

detector get_detector ( gtable  ,
goptions  go,
runConditions  rc 
)

Definition at line 201 of file detector_factory.cc.

detectorFactory* getDetectorFactory ( map< string, detectorFactoryInMap > *  detectorFactoryMap,
string   
)

Definition at line 16 of file detector_factory.cc.

map<string, detectorFactoryInMap> registerDetectorFactory ( )

Definition at line 30 of file detector_factory.cc.