38 dphiCut_{
p.getParameter<
double>(
"MaxDPhi")},
40 if (pdir ==
"oppositeToMomentum")
42 if (pdir ==
"alongMomentum")
44 if (pdir ==
"anyDirection")
47 }(
p.getParameter<
std::string>(
"PropagationDirection"))} {}
51 desc.add<
std::string>(
"ComponentName")->setComment(
"the data label assigned to the Propagator");
52 desc.add<
std::string>(
"SimpleMagneticField",
"")->setComment(
"the data label used to retrieve the MagneticField");
54 desc.add<
double>(
"MaxDPhi");
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::unique_ptr< Propagator > produce(const TrackingComponentsRecord &)
const PropagationDirection dir_
void addDefault(ParameterSetDescription const &psetDescription)
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magToken_
static void fillDescriptions(edm::ConfigurationDescriptions &oDesc)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
AnalyticalPropagatorESProducer(const edm::ParameterSet &p)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const