59 Kernel::DblMatrix UBinv,
double radius,
const bool useOnePercentBackgroundCorrection =
true);
62 std::vector<Mantid::Kernel::V3D>
const &hkl_list, std::vector<Mantid::Kernel::V3D>
const &mnp_list,
64 const bool CrossT,
const bool useOnePercentBackgroundCorrection =
true);
67 void addEvents(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &event_qs,
71 std::shared_ptr<const Mantid::Geometry::PeakShape>
72 ellipseIntegrateEvents(
const std::vector<Kernel::V3D> &E1Vec,
Mantid::Kernel::V3D const &peak_q,
bool specify_size,
73 double peak_radius,
double back_inner_radius,
double back_outer_radius,
78 std::shared_ptr<const Mantid::Geometry::PeakShape>
79 ellipseIntegrateModEvents(
const std::vector<Kernel::V3D> &E1Vec,
Mantid::Kernel::V3D const &peak_q,
81 double peak_radius,
double back_inner_radius,
double back_outer_radius,
85 std::pair<std::shared_ptr<const Mantid::Geometry::PeakShape>, std::tuple<double, double, double>>
90 const std::tuple<double, double, double> &libPeak,
95 bool forceSpherical =
false,
double sphericityTol = 0.02);
102 bool correctForDetectorEdges(std::tuple<double, double, double> &radii,
109 static std::pair<double, double>
110 numInEllipsoid(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &events,
114 static std::pair<double, double>
115 numInEllipsoidBkg(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &events,
120 static void makeCovarianceMatrix(std::vector<std::pair<std::pair<double, double>,
Mantid::Kernel::V3D>>
const &events,
124 static void getEigenVectors(
Kernel::DblMatrix const &cov_matrix, std::array<Mantid::Kernel::V3D, 3> &eigen_vectors,
128 static int64_t getHklKey(
int h,
int k,
int l);
130 static int64_t getHklMnpKey(
int h,
int k,
int l,
int m,
int n,
int p);
139 void addEvent(std::pair<std::pair<double, double>,
Mantid::Kernel::V3D> event_Q,
bool hkl_integ);
140 void addModEvent(std::pair<std::pair<double, double>,
Mantid::Kernel::V3D> event_Q,
bool hkl_integ);
144 ellipseIntegrateEvents(
const std::vector<Kernel::V3D> &E1Vec,
Kernel::V3D const &peak_q,
145 std::vector<std::pair<std::pair<double, double>,
Kernel::V3D>>
const &ev_list,
147 bool specify_size,
double peak_radius,
double back_inner_radius,
double back_outer_radius,
151 double detectorQ(
const std::vector<Kernel::V3D> &E1Vec,
const Mantid::Kernel::V3D &QLabFrame,
155 double max_sigma)
const;
167 const bool m_useOnePercentBackgroundCorrection =