00001 #ifndef DetectorGeometryHelper_H 00002 #define DetectorGeometryHelper_H 00003 00004 #include <map> 00005 #include <string> 00006 00007 enum DetectorType { Standard , GeoModel, Unknown=999 }; 00008 00009 typedef std::map<std::string, DetectorType, std::less<std::string> > DetectorMap; 00010 00011 class DetectorGeometryHelper { 00012 friend class GeoModelDetectorFacility; 00013 public: 00014 DetectorGeometryHelper() {} 00015 DetectorType GeometryType(std::string); 00016 private: 00017 DetectorGeometryHelper(std::string, DetectorType); 00018 static void SetDetectorType(std::string, DetectorType); 00019 static DetectorMap theMap; 00020 }; 00021 00022 #endif 00023