Go to the documentation of this file.
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";
edm::ESGetToken< DDCompactView, IdealGeometryRecord > cpvTokenDDD_
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Log< level::Info, false > LogInfo
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
bool build(const DDCompactView *cpv, HcalTB02Parameters &php, const std::string &name)
std::unique_ptr< HcalTB02Parameters > ReturnType
ReturnType produce(const IdealGeometryRecord &)
HcalTB02ParametersESModule(const edm::ParameterSet &)
edm::ESGetToken< cms::DDCompactView, IdealGeometryRecord > cpvTokenDD4Hep_
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Log< level::Info, true > LogVerbatim
static void fillDescriptions(edm::ConfigurationDescriptions &)
T getParameter(std::string const &) const