28 : mfToken_(setWhatProduced(this,
p.getParameter<
std::
string>(
"ComponentName"))
34 return std::make_unique<TrackingRecHitPropagator>(&iRecord.
get(
mfToken_));
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< TrackingRecHitPropagator > produce(const TrackingComponentsRecord &)
void addDefault(ParameterSetDescription const &psetDescription)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
TrackingRecHitPropagatorESProducer(const edm::ParameterSet &p)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > mfToken_