39 static constexpr double CHARGEBINSIZE = 1.0;
40 static constexpr double GONIOBINSTEP = 0.25;
41 static constexpr double MINPROTONCHARGE = 0.1;
42 static constexpr double STATIONARYANGLIM = 0.1;
45 std::string inputEnergyMode()
const;
48 std::vector<coord_t> getValuesFromOtherDimensions(
bool &skipNormalization, uint16_t expInfoIndex = 0)
const;
49 void findIntegratedDimensions(
const std::vector<coord_t> &otherDimValues,
bool &skipNormalization);
50 void cacheDimensionXValues();
51 void calculateNormalization(
const std::vector<coord_t> &otherValues, uint16_t expInfoIndex);
53 uint16_t expInfoIndex);
54 void calculateNormContinuous(
const std::vector<coord_t> &otherValues, uint16_t expInfoIndex,
56 void calculateNormInner(
const API::SpectrumInfo &spectrumInfo,
const std::vector<coord_t> &otherValues,
57 const double protonCharge,
const double protonChargeBkgd,
const DblMatrix &Qtransform,
58 const std::vector<double> &lowValues = std::vector<double>(),
59 const std::vector<double> &highValues = std::vector<double>());
61 void calcIntegralsForIntersections(
const std::vector<double> &xValues,
const API::MatrixWorkspace &integrFlux,
62 size_t sp, std::vector<double> &yValues)
const;
63 void calculateIntersections(std::vector<std::array<double, 4>> &intersections,
const double theta,
const double phi,
64 const DblMatrix &transform,
double lowvalue = std::nan(
""),
double highvalue = 0);
66 bool doInvert =
true);
78 double m_Ei, m_ki, m_kfmin, m_kfmax;
88 size_t m_hIdx, m_kIdx, m_lIdx,
m_eIdx;
90 std::vector<double> m_hX, m_kX, m_lX,
m_eX;