@@ -170,7 +170,8 @@ class SegmentationMosaix
170170 // / If iRow and or iCol is outside of the segmentation range a value of -0.5*Dx()
171171 // / or -0.5*Dz() is returned.
172172 template <typename T>
173- constexpr bool detectorToLocal (T const row, T const col, float & xRow, float & zCol) const noexcept {
173+ constexpr bool detectorToLocal (T const row, T const col, float & xRow, float & zCol) const noexcept
174+ {
174175 if (!isValidDet (row, col)) {
175176 return false ;
176177 }
@@ -181,14 +182,15 @@ class SegmentationMosaix
181182 // Same as detectorToLocal w.o. checks.
182183 // We position ourself in the middle of the pixel.
183184 template <typename T>
184- constexpr void detectorToLocalUnchecked (T const row, T const col, float & xRow, float & zCol) const noexcept {
185+ constexpr void detectorToLocalUnchecked (T const row, T const col, float & xRow, float & zCol) const noexcept
186+ {
185187 xRow = -(static_cast <float >(row) + 0 .5f ) * PitchRow + WidthH;
186188 zCol = (static_cast <float >(col) + 0 .5f ) * PitchCol - LengthH;
187189 }
188190
189-
190191 template <typename T>
191- constexpr bool detectorToLocal (T const row, T const col, math_utils::Point3D<float >& loc) const noexcept {
192+ constexpr bool detectorToLocal (T const row, T const col, math_utils::Point3D<float >& loc) const noexcept
193+ {
192194 float xRow{0 .}, zCol{0 .};
193195 if (!detectorToLocal (row, col, xRow, zCol)) {
194196 return false ;
@@ -198,7 +200,8 @@ class SegmentationMosaix
198200 }
199201
200202 template <typename T>
201- constexpr void detectorToLocalUnchecked (T const row, T const col, math_utils::Point3D<float >& loc) const noexcept {
203+ constexpr void detectorToLocalUnchecked (T const row, T const col, math_utils::Point3D<float >& loc) const noexcept
204+ {
202205 float xRow{0 .}, zCol{0 .};
203206 detectorToLocalUnchecked (row, col, xRow, zCol);
204207 loc.SetCoordinates (xRow, NominalYShift, zCol);
0 commit comments