30 #include <DD4hep/Detector.h> 31 #include <DD4hep/SpecParRegistry.h> 53 setWhatProduced(this).consumes(
edm::
ESInputTag(
"", iConfig.getParameter<
std::
string>(
"appendToDataLabel")))) {
64 const dd4hep::SpecParRegistry& registry = iRecord.
get(
m_token).specpars();
65 auto product = std::make_unique<dd4hep::SpecParRegistry>();
66 product->specpars.insert(registry.specpars.begin(), registry.specpars.end());
DDSpecParRegistryESProducer
static void fillDescriptions(edm::ConfigurationDescriptions &)
void addDefault(ParameterSetDescription const &psetDescription)
DDSpecParRegistryESProducer(const edm::ParameterSet &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
const edm::ESGetToken< DDDetector, IdealGeometryRecord > m_token
Namespace of DDCMS conversion namespace.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ReturnType produce(const DDSpecParRegistryRcd &)
unique_ptr< dd4hep::SpecParRegistry > ReturnType
~DDSpecParRegistryESProducer() override
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const