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");
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
std::unique_ptr< Propagator > produce(const TrackingComponentsRecord &)
const PropagationDirection dir_
void addDefault(ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > magToken_
static void fillDescriptions(edm::ConfigurationDescriptions &oDesc)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
AnalyticalPropagatorESProducer(const edm::ParameterSet &p)