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