Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator Struct Referenceabstract

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...

Inheritance diagram for Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator:
Mantid::Algorithms::SolidAngleHelpers::AlphaAngleHorizontal Mantid::Algorithms::SolidAngleHelpers::AlphaAngleVertical

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 DetectorInfom_detectorInfo
 
const V3D m_samplePos
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ AlphaAngleCalculator()

Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator::AlphaAngleCalculator ( const DetectorInfo detectorInfo)
inline

Definition at line 53 of file SolidAngle.cpp.

◆ ~AlphaAngleCalculator()

virtual Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator::~AlphaAngleCalculator ( )
virtualdefault

Member Function Documentation

◆ getAlpha()

double Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator::getAlpha ( size_t  index) const
inline

◆ project()

virtual void Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator::project ( V3D v) const
pure virtual

Member Data Documentation

◆ m_detectorInfo

const DetectorInfo& Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator::m_detectorInfo
private

Definition at line 65 of file SolidAngle.cpp.

Referenced by getAlpha().

◆ m_samplePos

const V3D Mantid::Algorithms::SolidAngleHelpers::AlphaAngleCalculator::m_samplePos
private

Definition at line 66 of file SolidAngle.cpp.

Referenced by getAlpha().


The documentation for this struct was generated from the following file: