Mantid
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Mantid::Geometry::DetectorInfoItem< T > Class Template Reference

DetectorInfoItem. More...

#include <DetectorInfoItem.h>

Public Member Functions

 DetectorInfoItem (T &detectorInfo, const size_t index)
 
size_t index () const
 
bool isMasked () const
 
bool isMonitor () const
 
double l2 () const
 
Mantid::Kernel::V3D position () const
 
Mantid::Kernel::Quat rotation () const
 
void setMasked (bool masked)
 
double twoTheta () const
 

Public Attributes

T * m_detectorInfo
 
size_t m_index
 

Detailed Description

template<typename T>
class Mantid::Geometry::DetectorInfoItem< T >

DetectorInfoItem.

DetectorInfoItem is only created by DetectorInfoIterator and allows users of the DetectorInfoIterator object access to data from DetectorInfo. The available methods include:

Author
Bhuvan Bezawada, STFC
Date
2018

Definition at line 32 of file DetectorInfoItem.h.

Constructor & Destructor Documentation

◆ DetectorInfoItem()

template<typename T >
Mantid::Geometry::DetectorInfoItem< T >::DetectorInfoItem ( T &  detectorInfo,
const size_t  index 
)
inline

Definition at line 55 of file DetectorInfoItem.h.

Member Function Documentation

◆ index()

template<typename T >
size_t Mantid::Geometry::DetectorInfoItem< T >::index ( ) const
inline

◆ isMasked()

template<typename T >
bool Mantid::Geometry::DetectorInfoItem< T >::isMasked ( ) const
inline

◆ isMonitor()

template<typename T >
bool Mantid::Geometry::DetectorInfoItem< T >::isMonitor ( ) const
inline

◆ l2()

template<typename T >
double Mantid::Geometry::DetectorInfoItem< T >::l2 ( ) const
inline

◆ position()

template<typename T >
Mantid::Kernel::V3D Mantid::Geometry::DetectorInfoItem< T >::position ( ) const
inline

◆ rotation()

template<typename T >
Mantid::Kernel::Quat Mantid::Geometry::DetectorInfoItem< T >::rotation ( ) const
inline

◆ setMasked()

template<typename T >
void Mantid::Geometry::DetectorInfoItem< T >::setMasked ( bool  masked)
inline

◆ twoTheta()

template<typename T >
double Mantid::Geometry::DetectorInfoItem< T >::twoTheta ( ) const
inline

Member Data Documentation

◆ m_detectorInfo

template<typename T >
T* Mantid::Geometry::DetectorInfoItem< T >::m_detectorInfo

◆ m_index

template<typename T >
size_t Mantid::Geometry::DetectorInfoItem< T >::m_index

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