34 using ReturnType = std::unique_ptr<HcalSimulationConstants>;
46 edm::LogVerbatim(
"HcalGeom") <<
"constructing HcalSimulationConstantsESModule";
54 descriptions.
add(
"hcalSimulationConstants", desc);
61 return std::make_unique<HcalSimulationConstants>(&parSim);
Log< level::Info, true > LogVerbatim
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static void fillDescriptions(edm::ConfigurationDescriptions &)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
edm::ESGetToken< HcalSimulationParameters, HcalParametersRcd > parSimToken_
std::unique_ptr< HcalSimulationConstants > ReturnType
ReturnType produce(const HcalSimNumberingRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HcalSimulationConstantsESModule(const edm::ParameterSet &)