Class SegGeometryEpix10kaV1 defines the Epix100 V1 sensor pixel coordinates in its local frame.
2x1 sensor coordinate frame:
(Xmin,Ymax) ^ Y (Xmax,Ymax)
(0,0) | (0,383)
------------------------------
| | |
| | |
| | |
| | |
| | |
| | |
| | |
--|-------------+--------------|----> X
| | |
| | |
| | |
| | |
| | |
| | |
| | |
------------------------------
(351,0) | (351,383)
(Xmin,Ymin) (Xmax,Ymin)
Pixel (r,c)=(0,0) is in the top left corner of the matrix which has coordinates (Xmin,Ymax) Here we assume that segment has 704 rows and 768 columns. Epix100 has a pixel size 50x50um, Epix10k has a pixel size 100x100um, This assumption differs from the DAQ map, where rows and cols are interchanged: /reg/g/psdm/sw/external/lusi-xtc/2.12.0a/x86_64-rhel5-gcc41-opt/pdsdata/cspad/ElementIterator.hh, Detector.hh
- Interface Description
- Include and typedef
Declares geometry::SegGeometryEpix10kaV1, the SegGeometry of an Epix10ka sensor.
Class SegGeometryEpix10kaV1 defines the Epix100 V1 sensor pixel coordinates in its local frame.
Definition SegGeometryEpix10kaV1.hh:105
- Instatiation
SG *seg_geom = new SG();
or
bool use_wide_pix_center = true;
SG *seg_geom = new SG(use_wide_pix_center);
- Print info
virtual void print_seg_info(const bitword_t &pbits=0)
Implementation of interface methods.
unsigned bitword_t
unsigned; per the trailing comment, a bit word that controls mask layers, printed bits,...
Definition GeometryTypes.hh:35
- Access methods
virtual const pixel_coord_t pixel_coord_max(AXIS axis)
Returns maximal value in the array of segment pixel coordinates in um for AXIS.
virtual const gsize_t * shape()
Returns shape of the segment {rows, cols}.
Definition SegGeometryEpix10kaV1.hh:161
virtual const pixel_area_t * pixel_area_array()
Returns pointer to the array of pixel areas.
virtual const pixel_coord_t * pixel_coord_array(AXIS axis)
Returns pointer to the array of segment pixel coordinates in um for AXIS.
virtual const gsize_t rows()
Returns number of rows in segment.
Definition SegGeometryEpix10kaV1.hh:155
virtual const pixel_mask_t * pixel_mask_array(const bitword_t &mbits=0377)
Returns pointer to the array of pixel mask: 1/0 = ok/masked.
virtual const gsize_t cols()
Returns number of cols in segment.
Definition SegGeometryEpix10kaV1.hh:158
virtual const pixel_coord_t * pixel_size_array(AXIS axis)
Returns pointer to the array of pixel size in um for AXIS.
virtual const gsize_t size()
Returns size of the coordinate arrays.
Definition SegGeometryEpix10kaV1.hh:152
virtual const pixel_coord_t pixel_scale_size()
Returns pixel size in um for indexing.
Definition SegGeometryEpix10kaV1.hh:164
virtual const pixel_coord_t pixel_coord_min(AXIS axis)
Returns minimal value in the array of segment pixel coordinates in um for AXIS.
double pixel_coord_t
Geometry types.
Definition GeometryTypes.hh:21
uint16_t pixel_mask_t
uint16_t; mask element type.
Definition GeometryTypes.hh:27
double pixel_area_t
double; the trailing comment calls it an arbitrary pixel area.
Definition GeometryTypes.hh:23
unsigned gsize_t
unsigned; the trailing comment says it is an array size.
Definition GeometryTypes.hh:31
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
- Author
- Mikhail S. Dubrovin