BOSS 8.0.0
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 theMap[n] = t;
8}
9
11 if ( theMap.find( n ) != theMap.end() ) return theMap[n];
12 else return Standard;
13}
14
15void DetectorGeometryHelper::SetDetectorType( std::string n, DetectorType t ) {
16 theMap[n] = t;
17}
const Int_t n
std::map< std::string, DetectorType, std::less< std::string > > DetectorMap
DetectorType GeometryType(std::string)
int t()
Definition t.c:1