9 template <
typename vfitter_t,
typename track_density_t>
11 const std::vector<const InputTrack_t*>& trackVector,
14 typename track_density_t::State densityState(trackVector.size());
17 std::pair<double, double> zAndWidth =
18 m_cfg.trackDensityEstimator.globalMaximumWithWidth(
19 densityState, trackVector, m_extractParameters);
21 double z = zAndWidth.first;
32 if (seedCov != SquareMatrix3::Zero() && std::isnormal(zAndWidth.second)) {
33 seedCov(
eZ,
eZ) = zAndWidth.second * zAndWidth.second;
38 std::vector<Vertex<InputTrack_t>> seedVec{returnVertex};