28 int numberOfTracks = 0;
29 DimensionParameters param;
45 const auto&
hits = hitBatch.second;
50 param.rangeBegin = hitRange.xBegin;
51 param.rangeEnd = hitRange.xEnd;
54 param.rangeBegin = hitRange.yBegin;
55 param.rangeEnd = hitRange.yEnd;
58 if (xPartTracks.empty() && yPartTracks.empty())
63 for (
const auto& xTrack : xPartTracks) {
64 for (
const auto& yTrack : yPartTracks) {
66 math::XYZPoint positionSigma(xTrack.x0Sigma(), yTrack.y0Sigma(), 0.5f * (hitRange.zEnd - hitRange.zBegin));
73 componentHits.emplace_back(
hit);
74 if (componentHits.size() < validHitsNumber)
77 float mean_time = 0.f, time_sigma = 0.f;
78 bool valid_hits =
timeEval(componentHits, mean_time, time_sigma);
83 tracks.push_back(newTrack);
88 return numberOfTracks;