Mantid
|
Returns the angle between the sample-to-pixel vector and its projection on the X-Z (vertical tube) or Y-Z (horizontal tube) plane. More...
Public Member Functions | |
AlphaAngleCalculator (const DetectorInfo &detectorInfo) | |
double | getAlpha (size_t index) const |
virtual void | project (V3D &v) const =0 |
virtual | ~AlphaAngleCalculator ()=default |
Private Attributes | |
const DetectorInfo & | m_detectorInfo |
const V3D | m_samplePos |
Returns the angle between the sample-to-pixel vector and its projection on the X-Z (vertical tube) or Y-Z (horizontal tube) plane.
Note, in all cases Y is assumed to be the pointing-up direction, Z is the beam direction.
Definition at line 52 of file SolidAngle.cpp.
|
inline |
Definition at line 53 of file SolidAngle.cpp.
|
virtualdefault |
|
inline |
Definition at line 55 of file SolidAngle.cpp.
References index, m_detectorInfo, m_samplePos, Mantid::Geometry::DetectorInfo::position(), and project().
|
pure virtual |
Implemented in Mantid::Algorithms::SolidAngleHelpers::AlphaAngleVertical, and Mantid::Algorithms::SolidAngleHelpers::AlphaAngleHorizontal.
Referenced by getAlpha().
|
private |
Definition at line 65 of file SolidAngle.cpp.
Referenced by getAlpha().
|
private |
Definition at line 66 of file SolidAngle.cpp.
Referenced by getAlpha().