30 if (pdir ==
"oppositeToMomentum")
32 else if (pdir ==
"anyDirection")
44 return std::make_unique<StraightLinePropagator>(&iRecord.
get(
magToken_),
dir_);
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::unique_ptr< Propagator > produce(const TrackingComponentsRecord &)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
~StraightLinePropagatorESProducer() override
StraightLinePropagatorESProducer(const edm::ParameterSet &p)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
const PropagationDirection dir_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magToken_