34 desc.add<
int>(
"minHits", 3);
35 descriptions.
add(
"KFTrajectoryFitter",
desc);
47 : minHits_{
p.getParameter<
int>(
"minHits")} {
49 auto cc = setWhatProduced(
this, myname);
56 std::unique_ptr<TrajectoryFitter> KFTrajectoryFitterESProducer::produce(
const TrajectoryFitterRecord& iRecord) {
57 return std::make_unique<KFTrajectoryFitter>(
58 &iRecord.
get(propToken_), &iRecord.
get(updToken_), &iRecord.
get(estToken_), minHits_, &iRecord.
get(geoToken_));
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const