BOSS
7.0.3
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
DetectorMap
std::map< std::string, DetectorType, std::less< std::string > > DetectorMap
Definition:
InstallArea/include/SimHelpers/SimHelpers/DetectorGeometryHelper.h:9
DetectorType
DetectorType
Definition:
InstallArea/include/SimHelpers/SimHelpers/DetectorGeometryHelper.h:7
DetectorType
DetectorType
Definition:
Simulation/SimHelpers/SimHelpers-00-00-01/SimHelpers/DetectorGeometryHelper.h:7
Standard
@ Standard
Definition:
Simulation/SimHelpers/SimHelpers-00-00-01/SimHelpers/DetectorGeometryHelper.h:7
DetectorGeometryHelper::GeometryType
DetectorType GeometryType(std::string)
Definition:
DetectorGeometryHelper.cxx:11
DetectorGeometryHelper::DetectorGeometryHelper
DetectorGeometryHelper()
Definition:
InstallArea/include/SimHelpers/SimHelpers/DetectorGeometryHelper.h:14
t
int t()
Definition:
t.c:1
source
Simulation
SimHelpers
SimHelpers-00-00-01
src
DetectorGeometryHelper.cxx
Generated by
1.9.6