Go to the documentation of this file.
20 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";
static void fillDescriptions(edm::ConfigurationDescriptions &)
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Log< level::Info, false > LogInfo
std::unique_ptr< HcalTB06BeamParameters > ReturnType
bool build(const DDCompactView *cpv, HcalTB06BeamParameters &php, const std::string &name1, const std::string &name2)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
Compact representation of the geometrical detector hierarchy.
ESTransientHandle< ProductT > getTransientHandle(ESGetToken< ProductT, DepRecordT > const &iToken) const
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvTokenDDD_
HcalTB06ParametersESModule(const edm::ParameterSet &)
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > cpvTokenDD4Hep_
ReturnType produce(const IdealGeometryRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Log< level::Info, true > LogVerbatim
T getParameter(std::string const &) const