|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Abstract interface to one segment's geometry: size, rows, cols, shape, pixel scale size, the pixel area, size, coordinate (per AXIS) and mask arrays, and the coordinate minimum and maximum. More...
#include <SegGeometry.hh>
Inherited by geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
Public Member Functions | |
| SegGeometry () | |
| Enumerator for X, Y, and Z axes. | |
| virtual | ~SegGeometry () |
| Virtual destructor; does nothing. | |
| virtual void | print_seg_info (const unsigned &pbits=0)=0 |
| Prints segment info for selected bits. | |
| virtual const gsize_t | size ()=0 |
| Returns segment size - total number of pixels in segment. | |
| virtual const gsize_t | rows ()=0 |
| Returns number of rows in segment. | |
| virtual const gsize_t | cols ()=0 |
| Returns number of cols in segment. | |
| virtual const gsize_t * | shape ()=0 |
| Returns shape of the segment {rows, cols}. | |
| virtual const pixel_coord_t | pixel_scale_size ()=0 |
| Returns pixel size in um for indexing. | |
| virtual const pixel_area_t * | pixel_area_array ()=0 |
| Returns pointer to the array of pixel areas normalized on minimal pixel area. | |
| virtual const pixel_coord_t * | pixel_size_array (AXIS axis)=0 |
| Returns pointer to the array of pixel size in um for AXIS. | |
| virtual const pixel_coord_t * | pixel_coord_array (AXIS axis)=0 |
| Returns pointer to the array of segment pixel coordinates in um for AXIS. | |
| virtual const pixel_coord_t | pixel_coord_min (AXIS axis)=0 |
| Returns minimal value in the array of segment pixel coordinates in um for AXIS. | |
| virtual const pixel_coord_t | pixel_coord_max (AXIS axis)=0 |
| Returns maximal value in the array of segment pixel coordinates in um for AXIS. | |
| virtual const pixel_mask_t * | pixel_mask_array (const unsigned &mbits=0377)=0 |
| Returns pointer to the array of pixel mask. | |
Abstract interface to one segment's geometry: size, rows, cols, shape, pixel scale size, the pixel area, size, coordinate (per AXIS) and mask arrays, and the coordinate minimum and maximum.
Everything except the constructor and destructor is pure virtual.
| geometry::SegGeometry::SegGeometry | ( | ) |
Enumerator for X, Y, and Z axes.
|
virtual |
Virtual destructor; does nothing.
|
pure virtual |
Returns number of cols in segment.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns pointer to the array of pixel areas normalized on minimal pixel area.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns pointer to the array of segment pixel coordinates in um for AXIS.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns maximal value in the array of segment pixel coordinates in um for AXIS.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns minimal value in the array of segment pixel coordinates in um for AXIS.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns pointer to the array of pixel mask.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns pixel size in um for indexing.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns pointer to the array of pixel size in um for AXIS.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Prints segment info for selected bits.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns number of rows in segment.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns shape of the segment {rows, cols}.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.
|
pure virtual |
Returns segment size - total number of pixels in segment.
Implemented in geometry::SegGeometryCspad2x1V1, geometry::SegGeometryEpix100V1, geometry::SegGeometryEpix10kaV1, and geometry::SegGeometryMatrixV1.