Skip to content

Commit

Permalink
R2 and R4 in cone shaped optics
Browse files Browse the repository at this point in the history
  • Loading branch information
jovoy authored Feb 21, 2024
1 parent 0015cc3 commit a5836d0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions inc/TRestAxionWolterOptics.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@ class TRestAxionWolterOptics : public TRestAxionOptics {
/// Entrance radius R1 in mm. See schematic figure.
std::vector<Double_t> fR1; //!

/// Radius R2 in mm. See schematic figure.
std::vector<Double_t> fR2; //!

/// Radius R3 in mm. See schematic figure.
std::vector<Double_t> fR3; //!

/// Radius R4 in mm. See schematic figure.
std::vector<Double_t> fR4; //!

/// Radius R5 in mm. See schematic figure.
std::vector<Double_t> fR5; //!

Expand Down Expand Up @@ -86,12 +92,24 @@ class TRestAxionWolterOptics : public TRestAxionOptics {
return r;
}

/// It returns a vector with the values of R2
std::vector<Double_t> GetR2() {
std::vector<Double_t> r = TRestTools::GetColumnFromTable(fOpticsData, 1);
return r;
}

/// It returns a vector with the values of R3
std::vector<Double_t> GetR3() {
std::vector<Double_t> r = TRestTools::GetColumnFromTable(fOpticsData, 2);
return r;
}

/// It returns a vector with the values of R4
std::vector<Double_t> GetR4() {
std::vector<Double_t> r = TRestTools::GetColumnFromTable(fOpticsData, 3);
return r;
}

/// It returns a vector with the values of R5
std::vector<Double_t> GetR5() {
std::vector<Double_t> r = TRestTools::GetColumnFromTable(fOpticsData, 4);
Expand Down

0 comments on commit a5836d0

Please sign in to comment.