CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
DetectorGeometryHelper.cxx
Go to the documentation of this file.
2#include <iostream>
3
4DetectorMap DetectorGeometryHelper::theMap;
5
7{
8 theMap[n]=t;
9}
10
12{
13 if (theMap.find(n) != theMap.end()) return theMap[n];
14 else return Standard;
15}
16
17void DetectorGeometryHelper::SetDetectorType(std::string n, DetectorType t)
18{
19 theMap[n]=t;
20}
const Int_t n
std::map< std::string, DetectorType, std::less< std::string > > DetectorMap
DetectorType GeometryType(std::string)
int t()
Definition: t.c:1