Holds precalculated information for faster SimulationElement generation.
DetectorContext(const IDetector2D *detector)
DetectorContext & operator=(const DetectorContext &other)=delete
std::vector< size_t > active_indices
All unmasked pixels inside ROI.
std::vector< std::unique_ptr< IPixel > > pixels
void setup_context(const IDetector2D *detector)
size_t detectorIndex(size_t element_index) const
std::unique_ptr< IPixel > createPixel(size_t element_index) const
Creates pixel for given element index.
size_t numberOfSimulationElements() const
DetectorContext(const DetectorContext &other)=delete
Eigen::Matrix2cd analyzer_operator