33 desc.
add<
double>(
"errorRescaling", 100);
34 desc.
add<
int>(
"minHits", 3);
35 descriptions.
add(
"KFTrajectorySmoother", desc);
43 const double rescaleFactor_;
47 KFTrajectorySmootherESProducer::KFTrajectorySmootherESProducer(
const edm::ParameterSet&
p)
48 : rescaleFactor_{
p.getParameter<
double>(
"errorRescaling")}, minHits_{
p.getParameter<
int>(
"minHits")} {
50 setWhatProduced(
this, myname)
57 std::unique_ptr<TrajectorySmoother> KFTrajectorySmootherESProducer::produce(
const TrajectoryFitterRecord& iRecord) {
58 return std::make_unique<KFTrajectorySmoother>(&iRecord.
get(propToken_),
59 &iRecord.
get(updToken_),
60 &iRecord.
get(estToken_),
63 &iRecord.
get(geoToken_));