/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Simulation/SimHelpers/SimHelpers-00-00-01/src/DetectorGeometryHelper.cxx

Go to the documentation of this file.
00001 #include "SimHelpers/DetectorGeometryHelper.h"
00002 #include <iostream>
00003 
00004 DetectorMap DetectorGeometryHelper::theMap;
00005 
00006 DetectorGeometryHelper::DetectorGeometryHelper(std::string n, DetectorType t)
00007 {
00008         theMap[n]=t;
00009 }
00010 
00011 DetectorType DetectorGeometryHelper::GeometryType(std::string n)
00012 {
00013         if (theMap.find(n) != theMap.end()) return theMap[n];
00014         else return Standard;
00015 }
00016 
00017 void DetectorGeometryHelper::SetDetectorType(std::string n, DetectorType t)
00018 {
00019         theMap[n]=t;
00020 }

Generated on Tue Nov 29 23:14:35 2016 for BOSS_7.0.2 by  doxygen 1.4.7