42 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalParametersESModule for " <<
name_ <<
":" << namew_ <<
":" << namec_ <<
":"
43 << namet_ <<
" and fromDD4hep flag " <<
fromDD4hep_;
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";
Log< level::Info, true > LogVerbatim
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ReturnType produce(const IdealGeometryRecord &)
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
Compact representation of the geometrical detector hierarchy.
std::unique_ptr< HGCalParameters > ReturnType
static void fillDescriptions(edm::ConfigurationDescriptions &)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
T getParameter(std::string const &) const
#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_