10 edm::LogVerbatim(
"MuonGeom") <<
"about to look for ... " << name << std::endl;
13 throw cms::Exception(
"GeometryBuildFailure",
"MuonGeometryConstants does not have requested value for " + name);
15 std::map<std::string, int>::const_iterator findIt =
namesAndValues_.find(name);
17 throw cms::Exception(
"GeometryBuildFailure",
"MuonGeometryConstants does not have requested value for " + name);
20 edm::LogVerbatim(
"MuonGeom") <<
"MuonGeometryConstants::Value for " << name <<
" is " << findIt->second;
22 return findIt->second;
Log< level::Info, true > LogVerbatim
int getValue(const std::string &name) const
void addValue(const std::string &name, const int &value)
#define TYPELOOKUP_DATA_REG(_dataclass_)
std::map< std::string, int > namesAndValues_