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