9 template <
typename vfitter_t,
typename track_density_t>
11 const std::vector<const InputTrack_t*>& trackVector,
16 std::vector<BoundParameters> trackList;
17 trackList.reserve(trackVector.size());
19 for (
const auto& trk : trackVector) {
20 trackList.push_back(m_extractParameters(*trk));
24 std::pair<double, double> zAndWidth =
25 m_cfg.trackDensityEstimator.globalMaximumWithWidth(trackList,
28 double z = zAndWidth.first;
33 vertexingOptions.vertexConstraint.position() +
Vector3D(0., 0., z);
41 seedCov(
eZ,
eZ) = zAndWidth.second * zAndWidth.second;
46 std::vector<Vertex<InputTrack_t>> seedVec{returnVertex};