12namespace DataObjects {
57 double wavenumber = 2.0 * M_PI / wavelength;
68 double wavenumber = 2.0 * M_PI / wavelength;
74 double thetaLower)
override {
87 dim1UpperRightVertex);
96 while ((quad.
at(0).
X() > quad.
at(3).
X()) || (quad.
at(0).
Y() > quad.
at(1).
Y())) {
class CalculateReflectometryP: p-type transformation calculator
void setTwoTheta(double twoTheta) override
Set the final theta value from the detector twoTheta angle.
double calculateDim0(double wavelength) const override
Executes the calculation to determine PSum.
void updateThetaIncident(double thetaIncident) override
Setter for the incident theta value require for the calculation.
void setThetaFinal(double thetaFinal) override
Setter for the final theta value require for the calculation.
Mantid::Geometry::Quadrilateral createQuad(double lamUpper, double lamLower, double thetaUpper, double thetaLower) override
CalculateReflectometryP(int version)
Constructor.
double calculateDim1(double wavelength) const override
Executes the calculation to determine PDiff.
Provides a common interface to Reflectometry Transform calculators.
const double to_radians_factor
A ConvexPolygon with only 4 vertices.
virtual void shiftVertexesClockwise()
Shifts the vertexes in a clockwise manner.
const Kernel::V2D & at(const size_t index) const override
Bounds-checked index access.
Implements a 2-dimensional vector embedded in a 3D space, i.e.
double Y() const
Y position.
double X() const
X position.
Helper class which provides the Collimation Length for SANS instruments.