32 edm::LogInfo(
"HCAL") <<
"HcalParametersESModule::HcalParametersESModule";
39 descriptions.
add(
"hcalParameters", desc );
45 <<
"HcalParametersESModule::produce(const HcalParametersRcd& iRecord)";
48 auto ptp = std::make_unique<HcalParameters>();
50 builder.
build( &(*cpv), *ptp );
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
bool build(const DDCompactView *, HcalParameters &)
~HcalParametersESModule(void) override
ReturnType produce(const HcalParametersRcd &)
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
std::unique_ptr< HcalParameters > ReturnType
Compact representation of the geometrical detector hierarchy.
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
HcalParametersESModule(const edm::ParameterSet &)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvToken_