BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DetectorGeometryHelper.h
Go to the documentation of this file.
1
#ifndef DetectorGeometryHelper_H
2
#define DetectorGeometryHelper_H
3
4
#include <map>
5
#include <string>
6
7
enum
DetectorType
{
Standard
,
GeoModel
,
Unknown
= 999 };
8
9
typedef
std::map<std::string, DetectorType, std::less<std::string>>
DetectorMap
;
10
11
class
DetectorGeometryHelper
{
12
friend
class
GeoModelDetectorFacility
;
13
14
public
:
15
DetectorGeometryHelper
() {}
16
DetectorType
GeometryType
( std::string );
17
18
private
:
19
DetectorGeometryHelper
( std::string,
DetectorType
);
20
static
void
SetDetectorType( std::string,
DetectorType
);
21
static
DetectorMap
theMap;
22
};
23
24
#endif
DetectorMap
std::map< std::string, DetectorType, std::less< std::string > > DetectorMap
Definition
DetectorGeometryHelper.h:9
DetectorType
DetectorType
Definition
DetectorGeometryHelper.h:7
Unknown
@ Unknown
Definition
DetectorGeometryHelper.h:7
Standard
@ Standard
Definition
DetectorGeometryHelper.h:7
GeoModel
@ GeoModel
Definition
DetectorGeometryHelper.h:7
DetectorGeometryHelper::GeometryType
DetectorType GeometryType(std::string)
Definition
DetectorGeometryHelper.cxx:10
DetectorGeometryHelper::GeoModelDetectorFacility
friend class GeoModelDetectorFacility
Definition
DetectorGeometryHelper.h:12
DetectorGeometryHelper::DetectorGeometryHelper
DetectorGeometryHelper()
Definition
DetectorGeometryHelper.h:15
8.0.0
BOSS_Source
Simulation
SimHelpers
include
SimHelpers
DetectorGeometryHelper.h
Generated by
1.16.1