Mantid
|
Provides a common interface to Reflectometry Transform calculators. More...
#include <CalculateReflectometry.h>
Public Member Functions | |
virtual double | calculateDim0 (double wavelength) const =0 |
Executes the calculation on dimension 0. More... | |
virtual double | calculateDim1 (double wavelength) const =0 |
Executes the calculation on dimension 1. More... | |
CalculateReflectometry (int version) | |
virtual Mantid::Geometry::Quadrilateral | createQuad (double lamLower, double lamUpper, double thetaLower, double thetaUpper)=0 |
virtual void | setThetaFinal (double thetaFinal)=0 |
Setter for the final theta value require for the calculation. More... | |
void | setThetaIncident (double thetaIncident) |
Setter for the incident theta value require for the calculation. More... | |
virtual void | setTwoTheta (double twoTheta)=0 |
Set the final theta value from the detector twoTheta angle. More... | |
virtual void | updateThetaIncident (double thetaIncident)=0 |
Derived class setter for the final theta value require for the calculation. More... | |
virtual | ~CalculateReflectometry ()=default |
Protected Attributes | |
double | m_theta_i {0.0} |
int | m_version |
const double | to_radians_factor = M_PI / 180.0 |
Provides a common interface to Reflectometry Transform calculators.
Definition at line 18 of file CalculateReflectometry.h.
|
inline |
Definition at line 26 of file CalculateReflectometry.h.
|
virtualdefault |
|
pure virtual |
Executes the calculation on dimension 0.
wavelength | : wavelength in Angstroms |
Implemented in Mantid::DataObjects::CalculateReflectometryKiKf, Mantid::DataObjects::CalculateReflectometryP, and Mantid::DataObjects::CalculateReflectometryQxQz.
|
pure virtual |
Executes the calculation on dimension 1.
wavelength | : wavelength in Angstroms |
Implemented in Mantid::DataObjects::CalculateReflectometryKiKf, Mantid::DataObjects::CalculateReflectometryP, and Mantid::DataObjects::CalculateReflectometryQxQz.
|
pure virtual |
|
pure virtual |
Setter for the final theta value require for the calculation.
thetaFinal | final theta value in degrees |
Implemented in Mantid::DataObjects::CalculateReflectometryKiKf, Mantid::DataObjects::CalculateReflectometryP, and Mantid::DataObjects::CalculateReflectometryQxQz.
|
inline |
Setter for the incident theta value require for the calculation.
thetaIncident | incident theta value in degrees |
Definition at line 33 of file CalculateReflectometry.h.
References m_theta_i, and updateThetaIncident().
|
pure virtual |
Set the final theta value from the detector twoTheta angle.
twoTheta | detector twoTheta value in degrees |
Implemented in Mantid::DataObjects::CalculateReflectometryKiKf, Mantid::DataObjects::CalculateReflectometryP, and Mantid::DataObjects::CalculateReflectometryQxQz.
|
pure virtual |
Derived class setter for the final theta value require for the calculation.
thetaIncident | incident theta value in degrees |
Implemented in Mantid::DataObjects::CalculateReflectometryKiKf, Mantid::DataObjects::CalculateReflectometryP, and Mantid::DataObjects::CalculateReflectometryQxQz.
Referenced by setThetaIncident().
|
protected |
|
protected |
Definition at line 23 of file CalculateReflectometry.h.
Referenced by Mantid::DataObjects::CalculateReflectometryKiKf::setTwoTheta(), Mantid::DataObjects::CalculateReflectometryP::setTwoTheta(), and Mantid::DataObjects::CalculateReflectometryQxQz::setTwoTheta().
|
protected |
Definition at line 22 of file CalculateReflectometry.h.
Referenced by Mantid::DataObjects::CalculateReflectometryKiKf::setThetaFinal(), Mantid::DataObjects::CalculateReflectometryP::setThetaFinal(), Mantid::DataObjects::CalculateReflectometryQxQz::setThetaFinal(), Mantid::DataObjects::CalculateReflectometryKiKf::updateThetaIncident(), Mantid::DataObjects::CalculateReflectometryP::updateThetaIncident(), and Mantid::DataObjects::CalculateReflectometryQxQz::updateThetaIncident().