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