Skip to content

Commit

Permalink
Adding x_sep to TRestAxionWolterOptics.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
jovoy authored Aug 22, 2023
1 parent 350dd66 commit 2aefce7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TRestAxionWolterOptics.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2aefce7

Please sign in to comment.