60 desc.add<
bool>(
"fromDD4hep",
false);
61 descriptions.
add(
"hgcalEEParametersInitialize",
desc);
66 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalParametersESModule::produce(const IdealGeometryRecord& iRecord)";
68 auto ptp = std::make_unique<HGCalParameters>(
name_);
72 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalParametersESModule::Try to access cms::DDCompactView";
78 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalParametersESModule::Try to access DDCompactView";
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Log< level::Info, true > LogVerbatim
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
T getParameter(std::string const &) const
ReturnType produce(const IdealGeometryRecord &)
Compact representation of the geometrical detector hierarchy.
std::unique_ptr< HGCalParameters > ReturnType
static void fillDescriptions(edm::ConfigurationDescriptions &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
T const * product() const
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > cpvTokenDD4hep_
HGCalParametersESModule(const edm::ParameterSet &)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvTokenDDD_