diff --git a/src/TRestAxionWolterOptics.cxx b/src/TRestAxionWolterOptics.cxx index 4fb46412..27e84d81 100644 --- a/src/TRestAxionWolterOptics.cxx +++ b/src/TRestAxionWolterOptics.cxx @@ -178,12 +178,11 @@ void TRestAxionWolterOptics::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;