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 &)
edm::ESGetToken< HcalSimulationParameters, HcalParametersRcd > parSimToken_
std::unique_ptr< HcalSimulationConstants > ReturnType
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
ReturnType produce(const HcalSimNumberingRecord &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
HcalSimulationConstantsESModule(const edm::ParameterSet &)