BOSS
7.1.2
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
{
8
theMap[
n
]=
t
;
9
}
10
11
DetectorType
DetectorGeometryHelper::GeometryType
(std::string
n
)
12
{
13
if
(theMap.find(
n
) != theMap.end())
return
theMap[
n
];
14
else
return
Standard
;
15
}
16
17
void
DetectorGeometryHelper::SetDetectorType(std::string
n
,
DetectorType
t
)
18
{
19
theMap[
n
]=
t
;
20
}
n
const Int_t n
Definition
DataBase/tau_mode.c:65
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
t
TTree * t
Definition
binning.cxx:23
DetectorGeometryHelper::GeometryType
DetectorType GeometryType(std::string)
Definition
DetectorGeometryHelper.cxx:11
DetectorGeometryHelper::DetectorGeometryHelper
DetectorGeometryHelper()
Definition
DetectorGeometryHelper.h:14
7.1.2
Simulation
SimHelpers
SimHelpers-00-00-01
src
DetectorGeometryHelper.cxx
Generated by
1.12.0