Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Geometry::Instrument::DetectorCacheEntry Struct Reference

Tuple which holds detector-IDs and pointers to detector components, and monitor flags. More...

Inheritance diagram for Mantid::Geometry::Instrument::DetectorCacheEntry:

Public Member Functions

IDetector_const_sptr const & detector () const
 
 DetectorCacheEntry (detid_t id, IDetector_const_sptr det, bool isMonitorFlag)
 
detid_t const & id () const
 
bool const & isMonitor () const
 
void setIsMonitor (bool flag)
 

Detailed Description

Tuple which holds detector-IDs and pointers to detector components, and monitor flags.

This is the type of the elements in the detector cache vector. Provides a more convenient interface to the elements of the detector cache vector than a raw tuple. <detid_t, IDetector_const_sptr, bool>

Definition at line 273 of file Instrument.h.

Constructor & Destructor Documentation

◆ DetectorCacheEntry()

Mantid::Geometry::Instrument::DetectorCacheEntry::DetectorCacheEntry ( detid_t  id,
IDetector_const_sptr  det,
bool  isMonitorFlag 
)
inline

Definition at line 274 of file Instrument.h.

Member Function Documentation

◆ detector()

IDetector_const_sptr const & Mantid::Geometry::Instrument::DetectorCacheEntry::detector ( ) const
inline

Definition at line 277 of file Instrument.h.

◆ id()

detid_t const & Mantid::Geometry::Instrument::DetectorCacheEntry::id ( ) const
inline

◆ isMonitor()

bool const & Mantid::Geometry::Instrument::DetectorCacheEntry::isMonitor ( ) const
inline

Definition at line 278 of file Instrument.h.

◆ setIsMonitor()

void Mantid::Geometry::Instrument::DetectorCacheEntry::setIsMonitor ( bool  flag)
inline

Definition at line 279 of file Instrument.h.


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