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

SpectrumInfoItem. More...

#include <SpectrumInfoItem.h>

Public Member Functions

bool hasDetectors () const
 
bool hasUniqueDetector () const
 
bool isMasked () const
 
bool isMonitor () const
 
double l2 () const
 
Mantid::Kernel::V3D position () const
 
void setMasked (bool masked)
 
double signedTwoTheta () const
 
const Mantid::SpectrumDefinition & spectrumDefinition () const
 
 SpectrumInfoItem (T &spectrumInfo, const size_t index)
 
double twoTheta () const
 

Public Attributes

size_t m_index
 
T * m_spectrumInfo
 

Detailed Description

template<typename T>
class Mantid::API::SpectrumInfoItem< T >

SpectrumInfoItem.

SpectrumInfoItem is only created by SpectrumInfoIterator and allows users of the SpectrumInfoIterator object access to data from SpectrumInfo. The available methods include:

Author
Bhuvan Bezawada, STFC
Date
2018

Definition at line 37 of file SpectrumInfoItem.h.

Constructor & Destructor Documentation

◆ SpectrumInfoItem()

template<typename T >
Mantid::API::SpectrumInfoItem< T >::SpectrumInfoItem ( T &  spectrumInfo,
const size_t  index 
)
inline

Definition at line 64 of file SpectrumInfoItem.h.

Member Function Documentation

◆ hasDetectors()

template<typename T >
bool Mantid::API::SpectrumInfoItem< T >::hasDetectors ( ) const
inline

◆ hasUniqueDetector()

template<typename T >
bool Mantid::API::SpectrumInfoItem< T >::hasUniqueDetector ( ) const
inline

◆ isMasked()

template<typename T >
bool Mantid::API::SpectrumInfoItem< T >::isMasked ( ) const
inline

◆ isMonitor()

template<typename T >
bool Mantid::API::SpectrumInfoItem< T >::isMonitor ( ) const
inline

◆ l2()

template<typename T >
double Mantid::API::SpectrumInfoItem< T >::l2 ( ) const
inline

◆ position()

template<typename T >
Mantid::Kernel::V3D Mantid::API::SpectrumInfoItem< T >::position ( ) const
inline

◆ setMasked()

template<typename T >
void Mantid::API::SpectrumInfoItem< T >::setMasked ( bool  masked)
inline

◆ signedTwoTheta()

template<typename T >
double Mantid::API::SpectrumInfoItem< T >::signedTwoTheta ( ) const
inline

◆ spectrumDefinition()

template<typename T >
const Mantid::SpectrumDefinition & Mantid::API::SpectrumInfoItem< T >::spectrumDefinition ( ) const
inline

◆ twoTheta()

template<typename T >
double Mantid::API::SpectrumInfoItem< T >::twoTheta ( ) const
inline

Member Data Documentation

◆ m_index

template<typename T >
size_t Mantid::API::SpectrumInfoItem< T >::m_index

◆ m_spectrumInfo

template<typename T >
T* Mantid::API::SpectrumInfoItem< T >::m_spectrumInfo

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