30 #include "DD4hep/Detector.h"
51 : m_detToken(setWhatProduced(this).consumes<
DDDetector>(
52 edm::
ESInputTag(
"", iConfig.getParameter<std::
string>(
"appendToDataLabel")))) {}
62 auto product = std::make_unique<DDCompactView>(iRecord.
get(
m_detToken));
unique_ptr< DDCompactView > ReturnType
const edm::ESGetToken< DDDetector, IdealGeometryRecord > m_detToken
tuple DDCompactViewESProducer
~DDCompactViewESProducer() override
void addDefault(ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
DDCompactViewESProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
ReturnType produce(const IdealGeometryRecord &)
static void fillDescriptions(edm::ConfigurationDescriptions &)