![]() |
SynAPSE
0.6.0
Synergistic Analysis of Phase Space Evolution
|
Stores the positions of all the requested MICE detectors. More...
#include <GeometryHandler.hh>
Public Member Functions | |
| GeometryHandler () | |
| Default constructor, initilizes everything to 0. More... | |
| GeometryHandler (const std::string &filename) | |
| Import all of the MICE detectors and elements. More... | |
| GeometryHandler (const std::string &filename, const std::vector< std::string > &names) | |
| Import only the list of requested detectors. More... | |
| GeometryHandler (const GeometryHandler &geohandler) | |
| Copy constructor. More... | |
| GeometryHandler & | operator= (const GeometryHandler &geohandler) |
| Equality operator. More... | |
| ~GeometryHandler () | |
| Destructor. More... | |
| const DetectorGlobals & | operator[] (const std::string &name) const |
| Overload the subscript operator, return a value. More... | |
| DetectorGlobals & | operator[] (const std::string &name) |
| Overload the subscript operator, return a value, allows mods. More... | |
Private Attributes | |
| std::vector< std::string > | _names |
| Short names of modules. More... | |
| std::map< std::string, DetectorGlobals > | _detectors |
| List of detector globals. More... | |
Stores the positions of all the requested MICE detectors.
This object extracts sets up a DetectorGlobals for each of the requested modules.
| GeometryHandler::GeometryHandler | ( | ) |
Default constructor, initilizes everything to 0.
| GeometryHandler::GeometryHandler | ( | const std::string & | filename | ) |
Import all of the MICE detectors and elements.
| filename | Path to the MICE geometry file |
| GeometryHandler::GeometryHandler | ( | const std::string & | filename, |
| const std::vector< std::string > & | names | ||
| ) |
Import only the list of requested detectors.
| filename | Path to the MICE geometry file |
| names | List of MICE modules to look for |
| GeometryHandler::GeometryHandler | ( | const GeometryHandler & | geohandler | ) |
Copy constructor.
| GeometryHandler::~GeometryHandler | ( | ) |
Destructor.
| GeometryHandler & GeometryHandler::operator= | ( | const GeometryHandler & | geohandler | ) |
Equality operator.
| const DetectorGlobals & GeometryHandler::operator[] | ( | const std::string & | name | ) | const |
Overload the subscript operator, return a value.
| DetectorGlobals & GeometryHandler::operator[] | ( | const std::string & | name | ) |
Overload the subscript operator, return a value, allows mods.
|
private |
List of detector globals.
|
private |
Short names of modules.
1.8.6