58 LogDebug(
"Geometry") <<
"MuonNumberingESProducer::produce from " <<
m_label <<
" with " <<
m_key;
59 auto product = std::make_unique<cms::MuonNumbering>();
63 auto it = registry->specpars.find(m_key);
64 if(it !=
end(registry->specpars)) {
65 for(
const auto&
l : it->second.spars) {
66 if(
l.first ==
"OnlyForMuonNumbering") {
67 for(
const auto&
k : it->second.numpars) {
68 for(
const auto& ik :
k.second) {
69 product->put(
k.first, static_cast<int>(ik));
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
const std::string m_label
~MuonNumberingESProducer() override
const DepRecordT getRecord() const
std::unique_ptr< cms::MuonNumbering > ReturnType
MuonNumberingESProducer(const edm::ParameterSet &)
ReturnType produce(const MuonNumberingRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)