From 2aefce70a92399f826f73aef1978e1fe9dbca087 Mon Sep 17 00:00:00 2001 From: jovoy <50204158+jovoy@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:39:13 +0200 Subject: [PATCH] Adding x_sep to TRestAxionWolterOptics.cxx --- src/TRestAxionWolterOptics.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TRestAxionWolterOptics.cxx b/src/TRestAxionWolterOptics.cxx index faac2445..bdeeb34d 100644 --- a/src/TRestAxionWolterOptics.cxx +++ b/src/TRestAxionWolterOptics.cxx @@ -173,6 +173,7 @@ void TRestAxionWolterOptics::Initialize() { fR5 = GetR5(); fAlpha = GetAlpha(); fThickness = GetThickness(); + fXSep = 2 * (fR1 - fR3 - fMirrorLength * TMath::Sin(fAlpha)) / TMath::Tan(fAlpha); if (fAlpha.size() == 0) return;