27 string myname = parameterSet.
getParameter<
string>(
"ComponentName");
29 string propDir = parameterSet.
getParameter<
string>(
"PropagationDirection");
32 else if (propDir ==
"alongMomentum") thePropagationDirection =
alongMomentum;
33 else if (propDir ==
"anyDirection") thePropagationDirection =
anyDirection;
36 <<
"Wrong fit direction chosen in SmartPropagatorESProducer";
39 theEpsilon = parameterSet.
getParameter<
double>(
"Epsilon");
41 theTrackerPropagatorName = parameterSet.
getParameter<
string>(
"TrackerPropagator");
42 theMuonPropagatorName = parameterSet.
getParameter<
string>(
"MuonPropagator");
44 setWhatProduced(
this,myname);
49 std::shared_ptr<Propagator>
56 iRecord.
get(theTrackerPropagatorName,trackerPropagator);
59 iRecord.
get(theMuonPropagatorName,muonPropagator);
64 thePropagationDirection,
T getParameter(std::string const &) const
muonPropagator
Propagator to go from muon state to TOB/TEC.
trackerPropagator
Propagator used searching for hits.
const DepRecordT & getRecord() const
std::shared_ptr< Propagator > produce(const TrackingComponentsRecord &)
void get(HolderT &iHolder) const
SmartPropagatorESProducer(const edm::ParameterSet &)
Constructor.
~SmartPropagatorESProducer() override
Destructor.
ParameterSet const & parameterSet(Provenance const &provenance)