BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
DetectorGeometryHelper.cxx
Go to the documentation of this file.
1
#include "
SimHelpers/DetectorGeometryHelper.h
"
2
#include <iostream>
3
4
DetectorMap
DetectorGeometryHelper::theMap;
5
6
DetectorGeometryHelper::DetectorGeometryHelper
( std::string
n
,
DetectorType
t
) {
7
theMap[
n
] =
t
;
8
}
9
10
DetectorType
DetectorGeometryHelper::GeometryType
( std::string
n
) {
11
if
( theMap.find(
n
) != theMap.end() )
return
theMap[
n
];
12
else
return
Standard
;
13
}
14
15
void
DetectorGeometryHelper::SetDetectorType( std::string
n
,
DetectorType
t
) {
16
theMap[
n
] =
t
;
17
}
n
const Int_t n
Definition
DataBase/tau_mode.c:57
DetectorGeometryHelper.h
DetectorMap
std::map< std::string, DetectorType, std::less< std::string > > DetectorMap
Definition
DetectorGeometryHelper.h:9
DetectorType
DetectorType
Definition
DetectorGeometryHelper.h:7
Standard
@ Standard
Definition
DetectorGeometryHelper.h:7
DetectorGeometryHelper::GeometryType
DetectorType GeometryType(std::string)
Definition
DetectorGeometryHelper.cxx:10
DetectorGeometryHelper::DetectorGeometryHelper
DetectorGeometryHelper()
Definition
DetectorGeometryHelper.h:15
t
int t()
Definition
t.c:1
8.0.0
BOSS_Source
Simulation
SimHelpers
src
DetectorGeometryHelper.cxx
Generated by
1.16.1