Skip to content

Commit 21c7489

Browse files
committed
something in vertextraits
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 5f4346d commit 21c7489

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Detectors/ITSMFT/ITS/tracking/src/VertexerTraits.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ void VertexerTraits::computeVertices(const int iteration)
412412
if (dca < mVrtParams[iteration].pairCut) {
413413
mTimeFrame->getTrackletClusters(rofId).emplace_back(line1, mTimeFrame->getLines(rofId)[line1], line2, mTimeFrame->getLines(rofId)[line2]);
414414
std::array<float, 3> tmpVertex{mTimeFrame->getTrackletClusters(rofId).back().getVertex()};
415-
if (tmpVertex[0] * tmpVertex[0] + tmpVertex[1] * tmpVertex[1] > 4.f) {
415+
if (std::hypot(tmpVertex[0], tmpVertex[1]) > 4.f) {
416416
mTimeFrame->getTrackletClusters(rofId).pop_back();
417417
break;
418418
}

0 commit comments

Comments
 (0)