30 #include "DD4hep/Detector.h"
56 : m_detToken(setWhatProduced(this).consumes<
DDDetector>(
57 edm::
ESInputTag(
"", iConfig.getParameter<std::
string>(
"appendToDataLabel")))) {
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
static const IOVSyncValue & endOfTime()
tuple DDCompactViewMFESProducer
void addDefault(ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
static const IOVSyncValue & beginOfTime()
~DDCompactViewMFESProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
ReturnType produce(const IdealMagneticFieldRecord &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &)
DDCompactViewMFESProducer(const edm::ParameterSet &)