18 using ReturnType = std::unique_ptr<HcalTB06BeamParameters>;
41 edm::LogVerbatim(
"HCalGeom") <<
"HcalTB06ParametersESModule::HcalTB06ParametersESModule called with dd4hep: " 50 desc.add<
bool>(
"fromDD4hep",
false);
51 descriptions.
add(
"hcalTB06BeamParameters",
desc);
56 edm::LogInfo(
"HCalGeom") <<
"HcalTB06ParametersESModule::produce(const IdealGeometryRecord& iRecord)";
59 auto ptp = std::make_unique<HcalTB06BeamParameters>();
64 edm::LogVerbatim(
"HCalGeom") <<
"HcalTB06ParametersESModule::Try to access cms::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
std::unique_ptr< HcalTB06BeamParameters > ReturnType
uint32_t cc[maxCellsPerHit]
Compact representation of the geometrical detector hierarchy.
static void fillDescriptions(edm::ConfigurationDescriptions &)
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > cpvTokenDD4hep_
HcalTB06ParametersESModule(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Log< level::Info, false > LogInfo
ReturnType produce(const IdealGeometryRecord &)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvTokenDDD_