From d3f42b2f593fb3c1975bd4d874048d67b5e9c0ce Mon Sep 17 00:00:00 2001 From: ALICE Builder Date: Fri, 12 Jul 2024 11:42:01 +0200 Subject: [PATCH] Please consider the following formatting changes (#88) --- Detectors/ITSMFT/ITS/tracking/src/TimeFrame.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detectors/ITSMFT/ITS/tracking/src/TimeFrame.cxx b/Detectors/ITSMFT/ITS/tracking/src/TimeFrame.cxx index 00fbffd9b62bd..11acc43082e12 100644 --- a/Detectors/ITSMFT/ITS/tracking/src/TimeFrame.cxx +++ b/Detectors/ITSMFT/ITS/tracking/src/TimeFrame.cxx @@ -108,7 +108,7 @@ void TimeFrame::addPrimaryVertices(const gsl::span& vertices, cons } } mPrimaryVertices.emplace_back(vertex); // put a copy in the present - if (!isBeamPositionOverridden) { // beam position is updated only at first occurrence of the vertex. A bit sketchy if we have past/future vertices, it should not impact too much. + if (!isBeamPositionOverridden) { // beam position is updated only at first occurrence of the vertex. A bit sketchy if we have past/future vertices, it should not impact too much. const int w{vertex.getNContributors()}; mBeamPos[0] = (mBeamPos[0] * mBeamPosWeight + vertex.getX() * w) / (mBeamPosWeight + w); mBeamPos[1] = (mBeamPos[1] * mBeamPosWeight + vertex.getY() * w) / (mBeamPosWeight + w);