33 virtual std::string
type()
const override {
return "GridDetectorPixel"; }
36 const GridDetector *panel,
size_t col,
size_t row,
size_t layer);
This class represents a detector - i.e.
GridrDetectorPixel: a sub-class of Detector that is one pixel inside a GridDetector.
const GridDetector * m_panel
GridDetector that is the parent of this pixel.
virtual std::string type() const override
A string representation of the component type.
size_t m_row
Column of the pixel in the panel (y/row index)
size_t m_col
Row of the pixel in the panel (x/col index)
size_t m_layer
Plane of the pixel in the panel (z/layer index)
GridDetectorPixel * cloneParameterized(const ParameterMap *map) const override
Create a cloned instance with a parameter map applied.
GridDetector is a type of CompAssembly, an assembly of components.
base class for Geometric IComponent
Helper class which provides the Collimation Length for SANS instruments.