From cc7e1e4d8dc9ef5f3c7b4e1ce0b1be46ac8a2c75 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:42:59 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/TRestAxionTrueWolterOptics.cxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/TRestAxionTrueWolterOptics.cxx b/src/TRestAxionTrueWolterOptics.cxx index b1ed0773..231d998f 100644 --- a/src/TRestAxionTrueWolterOptics.cxx +++ b/src/TRestAxionTrueWolterOptics.cxx @@ -178,12 +178,11 @@ void TRestAxionTrueWolterOptics::Initialize() { fXSep.clear(); for (unsigned int n = 0; n < fAlpha.size(); n++) - if (fR2[n]==fR3[n]){ + if (fR2[n] == fR3[n]) { fXSep.push_back(0); - } - else { + } else { fXSep.push_back(2 * (fR1[n] - fR3[n] - fMirrorLength * TMath::Sin(fAlpha[n])) / - TMath::Tan(fAlpha[n])); + TMath::Tan(fAlpha[n])); } if (fAlpha.size() == 0) return;