|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
Class SegGeometryCspad2x1V1 defines the cspad 2x1 V1 sensor pixel coordinates in its local frame. More...
#include <SegGeometryCspad2x1V1.hh>
Inherits geometry::SegGeometry.
Public Member Functions | |
| virtual void | print_seg_info (const bitword_t &pbits=0) |
| Implementation of interface methods. | |
| virtual const gsize_t | size () |
| Returns size of the coordinate arrays. | |
| virtual const gsize_t | rows () |
| Returns number of rows in segment. | |
| virtual const gsize_t | cols () |
| Returns number of cols in segment. | |
| virtual const gsize_t * | shape () |
| Returns shape of the segment {rows, cols}. | |
| virtual const pixel_coord_t | pixel_scale_size () |
| Returns pixel size in um for indexing. | |
| virtual const pixel_area_t * | pixel_area_array () |
| Returns pointer to the array of pixel areas. | |
| virtual const pixel_coord_t * | pixel_size_array (AXIS axis) |
| Returns pointer to the array of pixel size in um for AXIS. | |
| 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 pixel_coord_t | pixel_coord_min (AXIS axis) |
| Returns minimal value in the array of segment pixel coordinates in um for AXIS. | |
| 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 pixel_mask_t * | pixel_mask_array (const bitword_t &mbits=0377) |
| Returns pointer to the array of pixel mask: 1/0 = ok/masked. | |
Public Member Functions inherited from geometry::SegGeometry | |
| SegGeometry () | |
| Enumerator for X, Y, and Z axes. | |
| virtual | ~SegGeometry () |
| Virtual destructor; does nothing. | |
Static Public Member Functions | |
| static geometry::SegGeometry * | instance (const bool &use_wide_pix_center=false) |
| Return the single shared SegGeometryCspad2x1V1, creating it with use_wide_pix_center on the first call; later calls ignore the argument. | |
Static Public Attributes | |
| static const gsize_t | ROWS = 185 |
| Number of pixel rows in 2x1. | |
| static const gsize_t | COLS = 388 |
| Number of pixel columnss in 2x1. | |
| static const gsize_t | COLSHALF = 194 |
| Half number of pixel columnss in 2x1. | |
| static const gsize_t | SIZE = COLS*ROWS |
| Number of pixels in 2x1. | |
| static const gsize_t | NCORNERS = 4 |
| Number of corners. | |
| static const pixel_coord_t | PIX_SCALE_SIZE |
| Pixel scale size [um] for indexing | |
| static const pixel_coord_t | PIX_SIZE_COLS |
| Pixel size [um] in column direction. | |
| static const pixel_coord_t | PIX_SIZE_ROWS |
| Pixel size [um] in row direction. | |
| static const pixel_coord_t | PIX_SIZE_WIDE |
| Wide pixel length [um]. | |
| static const pixel_coord_t | PIX_SIZE_DEPTH |
| Pixel size [um] in depth. | |
| static const double | UM_TO_PIX |
| Conversion factor between um and pix. | |
Class SegGeometryCspad2x1V1 defines the cspad 2x1 V1 sensor pixel coordinates in its local frame.
2x1 sensor coordinate frame:
Pixel (r,c)=(0,0) is in the top left corner of the matrix which has coordinates (Xmin,Ymax) Here we assume that 2x1 has 185 rows and 388 columns. 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
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
|
inlinevirtual |
Returns number of cols in segment.
Implements geometry::SegGeometry.
|
static |
Return the single shared SegGeometryCspad2x1V1, creating it with use_wide_pix_center on the first call; later calls ignore the argument.
|
virtual |
Returns pointer to the array of pixel areas.
Implements geometry::SegGeometry.
|
virtual |
Returns pointer to the array of segment pixel coordinates in um for AXIS.
Implements geometry::SegGeometry.
|
virtual |
Returns maximal value in the array of segment pixel coordinates in um for AXIS.
Implements geometry::SegGeometry.
|
virtual |
Returns minimal value in the array of segment pixel coordinates in um for AXIS.
Implements geometry::SegGeometry.
|
virtual |
Returns pointer to the array of pixel mask: 1/0 = ok/masked.
| [in] | mbits | - mask control bits;
|
Implements geometry::SegGeometry.
|
inlinevirtual |
Returns pixel size in um for indexing.
Implements geometry::SegGeometry.
|
virtual |
Returns pointer to the array of pixel size in um for AXIS.
| [in] | axis | Axis from the enumerated list for X, Y, and Z axes |
Implements geometry::SegGeometry.
|
virtual |
Implementation of interface methods.
Prints segment info for selected bits
Implements geometry::SegGeometry.
|
inlinevirtual |
Returns number of rows in segment.
Implements geometry::SegGeometry.
|
inlinevirtual |
Returns shape of the segment {rows, cols}.
Implements geometry::SegGeometry.
|
inlinevirtual |
Returns size of the coordinate arrays.
Implements geometry::SegGeometry.
|
static |
Number of pixel columnss in 2x1.
|
static |
Half number of pixel columnss in 2x1.
|
static |
Number of corners.
|
static |
Pixel scale size [um] for indexing
|
static |
Pixel size [um] in column direction.
|
static |
Pixel size [um] in depth.
|
static |
Pixel size [um] in row direction.
|
static |
Wide pixel length [um].
|
static |
Number of pixel rows in 2x1.
|
static |
Conversion factor between um and pix.