21 setWhatProduced(
this,myname);
26 std::shared_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 _propagator = std::make_shared<PropagatorWithMaterial>(
dir,
mass, &(*magfield),
T getParameter(std::string const &) const
const DepRecordT & getRecord() const
PropagatorWithMaterialESProducer(const edm::ParameterSet &p)
virtual ~PropagatorWithMaterialESProducer()
std::shared_ptr< Propagator > produce(const TrackingComponentsRecord &)