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

Creates the solid angle calculator based on the selected method. More...

Inheritance diagram for Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator:
Mantid::Algorithms::SolidAngleHelpers::GenericShape Mantid::Algorithms::SolidAngleHelpers::Rectangle Mantid::Algorithms::SolidAngleHelpers::Tube Mantid::Algorithms::SolidAngleHelpers::Wing

Public Member Functions

virtual double solidAngle (size_t index) const =0
 
 SolidAngleCalculator (const ComponentInfo &componentInfo, const DetectorInfo &detectorInfo, const std::string &method, const double pixelArea)
 
virtual ~SolidAngleCalculator ()=default
 

Protected Attributes

std::unique_ptr< const AlphaAngleCalculatorm_alphaAngleCalculator
 
const V3D m_beamLine
 
const ComponentInfom_componentInfo
 
const DetectorInfom_detectorInfo
 
const double m_pixelArea
 
const V3D m_samplePos
 

Detailed Description

Creates the solid angle calculator based on the selected method.

Definition at line 82 of file SolidAngle.cpp.

Constructor & Destructor Documentation

◆ SolidAngleCalculator()

Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::SolidAngleCalculator ( const ComponentInfo componentInfo,
const DetectorInfo detectorInfo,
const std::string &  method,
const double  pixelArea 
)
inline

Definition at line 83 of file SolidAngle.cpp.

References m_alphaAngleCalculator.

◆ ~SolidAngleCalculator()

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

Member Function Documentation

◆ solidAngle()

virtual double Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::solidAngle ( size_t  index) const
pure virtual

Member Data Documentation

◆ m_alphaAngleCalculator

std::unique_ptr<const AlphaAngleCalculator> Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::m_alphaAngleCalculator
protected

◆ m_beamLine

const V3D Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::m_beamLine
protected

◆ m_componentInfo

const ComponentInfo& Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::m_componentInfo
protected

◆ m_detectorInfo

const DetectorInfo& Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::m_detectorInfo
protected

◆ m_pixelArea

const double Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::m_pixelArea
protected

◆ m_samplePos

const V3D Mantid::Algorithms::SolidAngleHelpers::SolidAngleCalculator::m_samplePos
protected

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