Skip to content

Commit

Permalink
Merge branch 'iss1491-a-reduced-tracking' of github.com:LDMX-Software…
Browse files Browse the repository at this point in the history
…/ldmx-sw into iss1491-a-reduced-tracking
  • Loading branch information
fdelzanno committed Nov 12, 2024
2 parents 11f2527 + e0953a3 commit 8bdc237
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Tracking/src/Tracking/Reco/reducedSeedFinder.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,11 @@ std::vector<std::array<double, 3>> ReducedSeedFinder::weightedAverage(const std:
double zAvg = (p1[0] * p1[3] + p2[0] * p2[3]) / totalWeight;
double xAvg = (p1[1] * p1[3] + p2[1] * p2[3]) / totalWeight;
double yAvg = (p1[2] * p1[3] + p2[2] * p2[3]) / totalWeight;

// Only include (z, x, y) in mergedHits
mergedHits.push_back({zAvg, xAvg, yAvg});
}
}
return mergedHits;
} //weightedAverage
}

std::tuple<double, double, double, double> ReducedSeedFinder::fit3DLine(const std::array<double, 3> &firstRecoil, const std::array<double, 3> &secondRecoil, const std::array<double, 3> &ECal) {
double z1 = firstRecoil[0], x1 = firstRecoil[1], y1 = firstRecoil[2];
Expand Down

0 comments on commit 8bdc237

Please sign in to comment.