From 78ecdd13b74094d3280fae2e10e2ceeba800daba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 14 Jun 2024 14:03:24 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- source/framework/masks/src/TRestRadialStrippedMask.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/framework/masks/src/TRestRadialStrippedMask.cxx b/source/framework/masks/src/TRestRadialStrippedMask.cxx index 00a44ed21..6985e92c3 100644 --- a/source/framework/masks/src/TRestRadialStrippedMask.cxx +++ b/source/framework/masks/src/TRestRadialStrippedMask.cxx @@ -171,12 +171,12 @@ Int_t TRestRadialStrippedMask::GetRegion(Double_t& x, Double_t& y) { return 0; } - TVector2 point(x, y); - Double_t phi = point.Phi(); + TVector2 point(x, y); + Double_t phi = point.Phi(); - /// phi determines the region where the point is found - Int_t region = (Int_t) (phi/fStripsAngle); - region = 2 + region%fMaxRegions; + /// phi determines the region where the point is found + Int_t region = (Int_t)(phi / fStripsAngle); + region = 2 + region % fMaxRegions; Double_t angle = 0; /// Checking if we hit an arm