9#include "MantidAPI/DllConfig.h"
57 std::tuple<bool, size_t>
58 checkInteceptWithNeighbours(
const Kernel::V3D &direction,
61 void createDetectorCache();
Geometry::Instrument_const_sptr m_instrument
handle to the instrument to search for detectors in
std::tuple< bool, size_t > DetectorSearchResult
Search result type representing whether a detector was found and if so which detector index it was.
const double m_crystallography_convention
flag for whether the crystallography convention is to be used
std::unique_ptr< Geometry::InstrumentRayTracer > m_rayTracer
instrument ray tracer object for searching in rectangular detectors
std::unique_ptr< Kernel::NearestNeighbours< 3 > > m_detectorCacheSearch
Detector search cache for fast look-up of detectors.
std::vector< size_t > m_indexMap
vector of detector indicies used in the search
const bool m_usingFullRayTrace
flag for whether to use InstrumentRayTracer or NearestNeighbours
const Geometry::DetectorInfo & m_detInfo
detector info for the instrument
Geometry::DetectorInfo is an intermediate step towards a DetectorInfo that is part of Instrument-2....
std::vector< std::tuple< VectorType, size_t, double > > NearestNeighbourResults
std::shared_ptr< const Instrument > Instrument_const_sptr
Shared pointer to an const instrument object.
Helper class which provides the Collimation Length for SANS instruments.