21 setWhatProduced(
this,myname);
26 std::unique_ptr<Propagator>
34 double mass = pset_.getParameter<
double>(
"Mass");
35 double maxDPhi = pset_.getParameter<
double>(
"MaxDPhi");
36 bool useRK = pset_.getParameter<
bool>(
"useRungeKutta");
38 pset_.getParameter<
bool>(
"useOldAnalPropLogic") :
true;
39 double ptMin = pset_.existsAs<
double>(
"ptMin") ? pset_.getParameter<
double>(
"ptMin") : -1.0;
43 if (pset_.exists(
"SimpleMagneticField"))
44 mfName = pset_.getParameter<
std::string>(
"SimpleMagneticField");
56 return std::make_unique<PropagatorWithMaterial>(
dir,
mass, &(*magfield),
T getParameter(std::string const &) const
std::unique_ptr< Propagator > produce(const TrackingComponentsRecord &)
const DepRecordT getRecord() const
PropagatorWithMaterialESProducer(const edm::ParameterSet &p)
~PropagatorWithMaterialESProducer() override