40 edm::LogVerbatim(
"HCalGeom") <<
"HcalTB02ParametersESModule::HcalTB02ParametersESModule called with dd4hep: " 48 desc.add<
bool>(
"fromDD4hep",
false);
49 descriptions.
add(
"hcalTB02XtalParameters",
desc);
54 edm::LogInfo(
"HCalGeom") <<
"HcalTB02ParametersESModule::produce(const IdealGeometryRecord& iRecord)";
57 auto ptp = std::make_unique<HcalTB02Parameters>(
name_);
62 edm::LogVerbatim(
"HCalGeom") <<
"HcalTB02ParametersESModule::Try to access cms::DDCompactView";
65 builder.build(&(*cpv), *ptp,
name_);
68 builder.build(&(*cpv), *ptp,
name_);
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
std::unique_ptr< HcalTB02Parameters > ReturnType
HcalTB02ParametersESModule(const edm::ParameterSet &)
uint32_t cc[maxCellsPerHit]
ReturnType produce(const IdealGeometryRecord &)
Compact representation of the geometrical detector hierarchy.
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvTokenDDD_
static void fillDescriptions(edm::ConfigurationDescriptions &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Log< level::Info, false > LogInfo
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > cpvTokenDD4hep_