Go to the documentation of this file.
56 desc.
add<
bool>(
"fromDD4Hep",
false);
57 descriptions.
add(
"hgcalEEParametersInitialize", desc);
62 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalParametersESModule::produce(const IdealGeometryRecord& iRecord)";
64 auto ptp = std::make_unique<HGCalParameters>(
name_);
68 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalParametersESModule::Try to access cms::DDCompactView";
74 edm::LogVerbatim(
"HGCalGeom") <<
"HGCalParametersESModule::Try to access DDCompactView";
ParameterDescriptionBase * add(U const &iLabel, T const &value)
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_
T getParameter(std::string const &) const
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)
HGCalParametersESModule(const edm::ParameterSet &)