BOSS 7.1.2
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
TTree * t
Definition binning.cxx:23
DetectorType GeometryType(std::string)