30 #include "DD4hep/Detector.h" 56 : m_detToken(setWhatProduced(this).consumes<
DDDetector>(
58 findingRecord<IdealMagneticFieldRecord>();
69 auto product = std::make_unique<DDCompactView>(iRecord.
get(
m_detToken));
unique_ptr< DDCompactView > ReturnType
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
const edm::ESGetToken< DDDetector, IdealMagneticFieldRecord > m_detToken
DDCompactViewMFESProducer
static const IOVSyncValue & endOfTime()
void addDefault(ParameterSetDescription const &psetDescription)
static const IOVSyncValue & beginOfTime()
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
~DDCompactViewMFESProducer() override
Namespace of DDCMS conversion namespace.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ReturnType produce(const IdealMagneticFieldRecord &)
static void fillDescriptions(edm::ConfigurationDescriptions &)
DDCompactViewMFESProducer(const edm::ParameterSet &)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const