76 Kernel::DblMatrix UBinv,
double radius,
const bool useOnePercentBackgroundCorrection =
true);
79 std::vector<Mantid::Kernel::V3D>
const &hkl_list, std::vector<Mantid::Kernel::V3D>
const &mnp_list,
81 const bool CrossT,
const bool useOnePercentBackgroundCorrection =
true);
84 void addEvents(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &event_qs,
88 std::shared_ptr<const Mantid::Geometry::PeakShape>
89 ellipseIntegrateEvents(
const std::vector<Kernel::V3D> &E1Vec,
Mantid::Kernel::V3D const &peak_q,
bool specify_size,
90 double peak_radius,
double back_inner_radius,
double back_outer_radius,
95 std::shared_ptr<const Mantid::Geometry::PeakShape>
96 ellipseIntegrateModEvents(
const std::vector<Kernel::V3D> &E1Vec,
Mantid::Kernel::V3D const &peak_q,
98 double peak_radius,
double back_inner_radius,
double back_outer_radius,
103 std::pair<std::shared_ptr<const Mantid::Geometry::PeakShape>, std::tuple<double, double, double>>
110 const std::tuple<double, double, double> &libPeak,
118 double &inti,
double &sigi);
137 double &inti,
double &sigi);
142 bool forceSpherical =
false,
double sphericityTol = 0.02);
151 bool correctForDetectorEdges(std::tuple<double, double, double> &radii,
158 static std::pair<double, double>
159 numInEllipsoid(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &events,
163 static std::pair<double, double>
164 numInEllipsoidBkg(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &events,
169 static void makeCovarianceMatrix(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &events,
173 static void getEigenVectors(
Kernel::DblMatrix const &cov_matrix, std::array<Mantid::Kernel::V3D, 3> &eigen_vectors,
177 static int64_t getHklKey(
int h,
int k,
int l);
179 static int64_t getHklMnpKey(
int h,
int k,
int l,
int m,
int n,
int p);
188 void addEvent(std::pair<std::pair<double, double>,
Mantid::Kernel::V3D> event_Q,
bool hkl_integ);
189 void addModEvent(std::pair<std::pair<double, double>,
Mantid::Kernel::V3D> event_Q,
bool hkl_integ);
193 ellipseIntegrateEvents(
const std::vector<Kernel::V3D> &E1Vec,
Kernel::V3D const &peak_q,
194 std::vector<std::pair<std::pair<double, double>,
Kernel::V3D>>
const &ev_list,
196 bool specify_size,
double peak_radius,
double back_inner_radius,
double back_outer_radius,
200 double detectorQ(
const std::vector<Kernel::V3D> &E1Vec,
const Mantid::Kernel::V3D &QLabFrame,
204 double max_sigma)
const;
216 const bool m_useOnePercentBackgroundCorrection =