diff --git a/inc/TRestAxionTrueWolterOptics.h b/inc/TRestAxionTrueWolterOptics.h index 1677f348..6917f94d 100644 --- a/inc/TRestAxionTrueWolterOptics.h +++ b/inc/TRestAxionTrueWolterOptics.h @@ -35,9 +35,15 @@ class TRestAxionTrueWolterOptics : public TRestAxionOptics { /// Entrance radius R1 in mm. See schematic figure. std::vector fR1; //! + /// Radius R2 in mm. See schematic figure. + std::vector fR2; //! + /// Radius R3 in mm. See schematic figure. std::vector fR3; //! + /// Radius R4 in mm. See schematic figure. + std::vector fR4; //! + /// Radius R5 in mm. See schematic figure. std::vector fR5; //! @@ -86,12 +92,24 @@ class TRestAxionTrueWolterOptics : public TRestAxionOptics { return r; } + /// It returns a vector with the values of R2 + std::vector GetR2() { + std::vector r = TRestTools::GetColumnFromTable(fOpticsData, 1); + return r; + } + /// It returns a vector with the values of R3 std::vector GetR3() { std::vector r = TRestTools::GetColumnFromTable(fOpticsData, 2); return r; } + /// It returns a vector with the values of R4 + std::vector GetR4() { + std::vector r = TRestTools::GetColumnFromTable(fOpticsData, 3); + return r; + } + /// It returns a vector with the values of R5 std::vector GetR5() { std::vector r = TRestTools::GetColumnFromTable(fOpticsData, 4);