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