|
lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
|
CalibPars subclass for Epix100a. More...
#include <CalibParsEpix100a.hh>
Inherits calib::CalibPars.
Public Member Functions | |
| CalibParsEpix100a (const char *detname="Epix100a", const DBTYPE &dbtype=DBWEB) | |
| Construct as CalibPars(detname, dbtype) and log a debug message. | |
| virtual | ~CalibParsEpix100a () |
| Destructor; only logs a debug message. | |
| void | _default_msg (const std::string &msg=std::string()) const |
| Log a WARNING message: "METHOD CalibParsEpix100a::" + msg + " TBE". | |
| CalibParsEpix100a (const CalibParsEpix100a &)=delete | |
| access to calibration constants. DEFAULT IS USED IF UNDEFINED | |
| CalibParsEpix100a & | operator= (const CalibParsEpix100a &)=delete |
| Copy assignment is disabled. | |
Public Member Functions inherited from calib::CalibPars | |
| CalibPars (const char *detname="Undefined detname", const DBTYPE &dbtype=DBWEB) | |
| Store detname and create the DB backend with getCalibParsDB(dbtype), which gives NULL for types it does not implement. | |
| virtual | ~CalibPars () |
| Call deleteGeometryAccess(); the DB backend is not deleted. | |
| const std::string & | detname () |
| Return the detector name. | |
| virtual const NDArray< common_mode_t > & | common_mode (Query &) |
| access to calibration constants | |
| virtual const NDArray< pedestals_t > & | pedestals (Query &) |
| Return the DB backend's get_ndarray_float(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< double > & | pedestals_d (Query &) |
| Return the DB backend's get_ndarray_double(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_rms_t > & | rms (Query &) |
| Return the DB backend's get_ndarray_float(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_status_t > & | status (Query &) |
| Return the DB backend's get_ndarray_uint16(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_gain_t > & | gain (Query &) |
| Return the DB backend's get_ndarray_float(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_offset_t > & | offset (Query &) |
| Return the DB backend's get_ndarray_float(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_bkgd_t > & | background (Query &) |
| Return the DB backend's get_ndarray_float(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_mask_t > & | mask_calib (Query &) |
| Return the DB backend's get_ndarray_uint16(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_mask_t > & | mask_from_status (Query &) |
| Return the DB backend's get_ndarray_uint16(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_mask_t > & | mask_edges (Query &) |
| Return the DB backend's get_ndarray_uint16(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_mask_t > & | mask_neighbors (Query &) |
| Return the DB backend's get_ndarray_uint16(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_mask_t > & | mask_bits (Query &) |
| Return the DB backend's get_ndarray_uint16(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| virtual const NDArray< pixel_mask_t > & | mask (Query &) |
| Return the DB backend's get_ndarray_uint16(q) and log a debug message; q is passed unchanged (its CALIBTYPE is not set here). | |
| geometry::GeometryAccess * | geometryAccess (Query &) |
| access to geometry | |
| void | deleteGeometryAccess () |
| Delete the GeometryAccess object if one exists. | |
| virtual const geometry_t & | geometry_str (Query &) |
| Return the DB backend's get_string(q) and log a debug message; q is passed unchanged. | |
| virtual NDArray< const pixel_coord_t > & | coords (Query &) |
| Return geometryAccess(q)->get_pixel_coords(axis), with axis taken from q's AXISNUM parameter. | |
| virtual NDArray< const pixel_idx_t > & | indexes (Query &) |
| Return geometryAccess(q)->get_pixel_coord_indexes(axis), with axis taken from q's AXISNUM parameter. | |
| virtual NDArray< const pixel_size_t > & | pixel_size (Query &) |
| Default stub: logs a warning that the method (named image_size in the message) should be re-implemented in a derived class, and returns an internal array that is never filled. | |
| virtual NDArray< const pixel_area_t > & | pixel_area (Query &) |
| Return geometryAccess(q)->get_pixel_areas(). | |
| virtual NDArray< const pixel_mask_t > & | mask_geo (Query &) |
| Return geometryAccess(q)->get_pixel_mask(mbits), with mbits taken from q's MASKBITSGEO parameter. | |
| virtual NDArray< const pixel_size_t > & | image_xaxis (Query &) |
| Default stub: logs a warning that it should be re-implemented in a derived class and returns an internal array that is never filled. | |
| virtual NDArray< const pixel_size_t > & | image_yaxis (Query &) |
| Default stub: logs a warning that it should be re-implemented in a derived class and returns an internal array that is never filled. | |
| CalibParsDB * | calibparsdb () |
| Return the DB backend pointer (NULL if getCalibParsDB() did not implement the type). | |
| CalibPars (const CalibPars &)=delete | |
| Copy construction is disabled. | |
| CalibPars & | operator= (const CalibPars &)=delete |
| Copy assignment is disabled. | |
| CalibPars () | |
| Default constructor with an empty body: the DB and GeometryAccess pointers are left uninitialized, so destroying such an object deletes an uninitialized pointer. | |
Additional Inherited Members | |
Public Types inherited from calib::CalibPars | |
| typedef geometry::AXIS | AXIS |
| Alias for geometry::AXIS. | |
Protected Attributes inherited from calib::CalibPars | |
| NDArray< common_mode_t > | _common_mode |
| NDArray< pedestals_t > | _pedestals |
| NDArray< pixel_rms_t > | _pixel_rms |
| NDArray< pixel_status_t > | _pixel_status |
| NDArray< pixel_gain_t > | _pixel_gain |
| NDArray< pixel_offset_t > | _pixel_offset |
| NDArray< pixel_bkgd_t > | _pixel_bkgd |
| NDArray< pixel_mask_t > | _pixel_mask |
| NDArray< const pixel_size_t > | _pixel_size |
| geometry_t | _geometry |
| const std::string | _detname |
| CalibParsDB * | _calibparsdb |
| geometry::GeometryAccess * | _geometryaccess |
CalibPars subclass for Epix100a.
Its per-constant overrides are commented out, so all behavior comes from CalibPars; getCalibPars() creates it for EPIX100A names.
| calib::CalibParsEpix100a::CalibParsEpix100a | ( | const char * | detname = "Epix100a", |
| const DBTYPE & | dbtype = DBWEB |
||
| ) |
Construct as CalibPars(detname, dbtype) and log a debug message.
|
virtual |
Destructor; only logs a debug message.
|
delete |
access to calibration constants. DEFAULT IS USED IF UNDEFINED
| void calib::CalibParsEpix100a::_default_msg | ( | const std::string & | msg = std::string() | ) | const |
Log a WARNING message: "METHOD CalibParsEpix100a::" + msg + " TBE".
|
delete |
Copy assignment is disabled.