#include <CSPadCalibPars.h>
Public Member Functions | |
CSPadCalibPars (bool isTestMode=false) | |
Default and test constructor. | |
CSPadCalibPars (const std::string &calibDir, const std::string &typeGroupName, const std::string &source, const unsigned long &runNumber, const unsigned &print_bits=0) | |
DEPRICATED constructor, which gets the source as a string&. It is preserved for backward compatability. | |
CSPadCalibPars (const std::string &calibDir, const std::string &typeGroupName, const Pds::Src &src, const unsigned long &runNumber, const unsigned &print_bits=0) | |
RECOMMENDED constructor, which gets the source as a const Pds::Src& parameter. | |
virtual | ~CSPadCalibPars () |
Destructor. | |
void | printCalibParsStatus () |
Prints status for all calibration parameters: 0-default, 1-loaded from file. | |
void | printCalibPars () |
Prints all calibration parameters. | |
void | printInputPars () |
Prints input parameters. | |
double | getCenterX (size_t quad, size_t sect) |
Returns x-coordinate [pix] of the 2x1 section center in specified quad. | |
double | getCenterY (size_t quad, size_t sect) |
Returns y-coordinate [pix] of the 2x1 section center in specified quad. | |
double | getCenterZ (size_t quad, size_t sect) |
Returns z-coordinate [pix] of the 2x1 section center in specified quad. | |
double | getCenterCorrX (size_t quad, size_t sect) |
Returns x-coordinate correction [pix] of the 2x1 section center in specified quad. | |
double | getCenterCorrY (size_t quad, size_t sect) |
Returns y-coordinate correction [pix] of the 2x1 section center in specified quad. | |
double | getCenterCorrZ (size_t quad, size_t sect) |
Returns z-coordinate correction [pix] of the 2x1 section center in specified quad. | |
double | getQuadMargX () |
Returns x-margine of all 2x1s in quad from calibration type marg_gap_shift. | |
double | getQuadMargY () |
Returns y-margine of all 2x1s in quad from calibration type marg_gap_shift. | |
double | getQuadMargZ () |
Returns z-margine of all 2x1s in quad from calibration type marg_gap_shift. | |
double | getMargX () |
Returns x-margine of all quads in the detector from calibration type marg_gap_shift. | |
double | getMargY () |
Returns y-margine of all quads in the detector from calibration type marg_gap_shift. | |
double | getMargZ () |
Returns z-margine of all quads in the detector from calibration type marg_gap_shift. | |
double | getGapX () |
Returns x-gap between quads in the detector from calibration type marg_gap_shift. | |
double | getGapY () |
Returns y-gap between quads in the detector from calibration type marg_gap_shift. | |
double | getGapZ () |
Returns z-gap between quads in the detector from calibration type marg_gap_shift. | |
double | getShiftX () |
Returns x-shift between quads in the detector from calibration type marg_gap_shift. | |
double | getShiftY () |
Returns y-shift between quads in the detector from calibration type marg_gap_shift. | |
double | getShiftZ () |
Returns z-shift between quads in the detector from calibration type marg_gap_shift. | |
double | getOffsetX (size_t quad) |
Returns x-offset of quads in the detector from calibration type offset. | |
double | getOffsetY (size_t quad) |
Returns y-offset of quads in the detector from calibration type offset. | |
double | getOffsetZ (size_t quad) |
Returns z-offset of quads in the detector from calibration type offset. | |
double | getOffsetCorrX (size_t quad) |
Returns x-offset correction of quads in the detector from calibration type offset_corr. | |
double | getOffsetCorrY (size_t quad) |
Returns y-offset correction of quads in the detector from calibration type offset_corr. | |
double | getOffsetCorrZ (size_t quad) |
Returns z-offset correction of quads in the detector from calibration type offset_corr. | |
double | getRotation (size_t quad, size_t sect) |
Returns the 2x1 tile rotation angle (in units of n*90 degrees) from calibration type rotation. | |
double | getTilt (size_t quad, size_t sect) |
Returns the 2x1 tile tilt angle (in units of n*90 degrees) from calibration type tilt. | |
double | getQuadRotation (size_t quad) |
Returns the quad rotation angle (in units of n*90 degrees) from calibration type quad_rotation. | |
double | getQuadTilt (size_t quad) |
Returns the quad tilt angle (in units of n*90 degrees) from calibration type quad_tilt. | |
double * | getBeamVector () |
Returns pointer to the beam_vector from calibration type beam_vector. | |
double | getBeamVector (size_t i) |
Returns component of the beam_vector from calibration type beam_vector. | |
double * | getBeamIntersect () |
Returns pointer to the beam_intersect from calibration type beam_intersect. | |
double | getBeamIntersect (size_t i) |
Returns component of the beam_intersect from calibration type beam_intersect. | |
double | getCenterGlobalX (size_t quad, size_t sect) |
Returns x-coordinate [pix] of the 2x1 section center for specified quad in the detector frame. | |
double | getCenterGlobalY (size_t quad, size_t sect) |
Returns y-coordinate [pix] of the 2x1 section center for specified quad in the detector frame. | |
double | getCenterGlobalZ (size_t quad, size_t sect) |
Returns z-coordinate [pix] of the 2x1 section center for specified quad in the detector frame. | |
double | getRotationGlobal (size_t quad, size_t sect) |
Returns rotation angle of the 2x1 section for specified quad in the detector frame. | |
int | getCalibTypeStatus (const std::string &type) |
Returns status of the calibration constants, 0-default, 1-loaded from file. | |
Static Public Member Functions | |
static double | getRowSize_um () |
Returns the pixel size of the row in um. | |
static double | getColSize_um () |
Returns the pixel size of the column in um. | |
static double | getGapRowSize_um () |
Returns the pixel size of the gap column in um. | |
static double | getGapSize_um () |
Returns the pixel size of the total gap in um. | |
static double | getOrtSize_um () |
Returns the pixel size of the ortogonal dimension in um. | |
static double | getRowUmToPix () |
Returns the conversion factor of um to pixels for rows. | |
static double | getColUmToPix () |
Returns the conversion factor of um to pixels for columns. | |
static double | getOrtUmToPix () |
Returns the conversion factor of um to pixels for ort. | |
Protected Member Functions | |
void | fillCalibNameVector () |
Makes member data vector with all supported calibration types such as center, center_corr, off_gap_shift, offset, offset_corr, rotation, tilt, ... | |
void | getCalibFileName () |
Define the path to the calibration file based on input parameters. | |
void | loadCalibPars () |
Load all known calibration parameters. | |
void | openCalibFile () |
Open calibration file. | |
void | closeCalibFile () |
Close calibration file. | |
void | readCalibPars () |
Read parameters from calibration file to vector. | |
void | fillCalibParsV1 () |
Fill calibration parameters from vector. | |
void | fillDefaultCalibParsV1 () |
Fill default calibration parameters. | |
void | fatalMissingFileName () |
Generate error message in the log and abort. | |
void | msgUseDefault () |
Generate warning message in the log. |
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
#include "PSCalib/CSPadCalibPars.h" typedef PSCalib::CSPadCalibPars CALIB;
CALIB *calibpars = new CALIB();
const std::string calibDir = "/reg/d/psdm/cxi/cxitut13/calib"; const std::string groupName = "CsPad::CalibV1"; unsigned long runNumber = 10; Pds::Src src; env.get(...,&src); CALIB *calibpars = new CALIB(calibDir, groupName, src, runNumber);
const std::string calibDir = "/reg/d/psdm/cxi/cxitut13/calib"; const std::string groupName = "CsPad::CalibV1"; const std::string source = "CxiDs1.0:Cspad.0"; unsigned long runNumber = 10; CALIB *calibpars = new CALIB(calibDir, groupName, source, runNumber);
calibpars -> printInputPars(); calibpars -> printCalibPars(); calibpars -> printCalibParsStatus();
size_t quad=1, sect=7; // for example... int status = calibpars -> getCalibTypeStatus("center_global") // Returns status: 0-default, 1-loaded from file double xc = calibpars -> getCenterX(quad, sect); double xcg = calibpars -> getCenterGlobalX(quad, sect); double tilt = calibpars -> getTilt(quad, sect); ... etc. for all other access methods
Definition at line 119 of file CSPadCalibPars.h.
PSCalib::CSPadCalibPars::CSPadCalibPars | ( | bool | isTestMode = false |
) |
Default and test constructor.
[in] | isTestMode | - flag of the test mode; if =true then parameters are loaded from the test directory. |
Definition at line 47 of file CSPadCalibPars.cpp.
References fillCalibNameVector(), and loadCalibPars().
PSCalib::CSPadCalibPars::CSPadCalibPars | ( | const std::string & | calibDir, | |
const std::string & | typeGroupName, | |||
const std::string & | source, | |||
const unsigned long & | runNumber, | |||
const unsigned & | print_bits = 0 | |||
) |
DEPRICATED constructor, which gets the source as a string&. It is preserved for backward compatability.
[in] | calibDir | Calibration directory for current experiment, for example "/reg/d/psdm/cxi/cxitut13/calib"; |
[in] | typeGroupName | Data type and group names, for example "CsPad::CalibV1"; |
[in] | source | The name of the data source, for example "CxiDs1.0:Cspad.0"; |
[in] | runNumber | Run number to search the valid file name, for example =10; |
[in] | print_bits | Verbosity bits; |
Definition at line 68 of file CSPadCalibPars.cpp.
References fillCalibNameVector(), loadCalibPars(), printCalibPars(), and printInputPars().
PSCalib::CSPadCalibPars::CSPadCalibPars | ( | const std::string & | calibDir, | |
const std::string & | typeGroupName, | |||
const Pds::Src & | src, | |||
const unsigned long & | runNumber, | |||
const unsigned & | print_bits = 0 | |||
) |
RECOMMENDED constructor, which gets the source as a const
Pds::Src&
parameter.
[in] | calibDir | Calibration directory for current experiment, for example "/reg/d/psdm/cxi/cxitut13/calib"; |
[in] | typeGroupName | Data type and group names, for example "CsPad::CalibV1"; |
[in] | src | The name of the data source, for example Pds::Src m_src; defined in the env.get(...,&m_src) |
[in] | runNumber | Run number to search the valid file name, for example =10; |
[in] | print_bits | Verbosity bits; |
Definition at line 94 of file CSPadCalibPars.cpp.
References fillCalibNameVector(), loadCalibPars(), printCalibPars(), and printInputPars().
PSCalib::CSPadCalibPars::~CSPadCalibPars | ( | ) | [virtual] |
void PSCalib::CSPadCalibPars::closeCalibFile | ( | ) | [protected] |
Close calibration file.
Definition at line 207 of file CSPadCalibPars.cpp.
Referenced by loadCalibPars().
void PSCalib::CSPadCalibPars::fatalMissingFileName | ( | ) | [protected] |
Generate error message in the log and abort.
Definition at line 270 of file CSPadCalibPars.cpp.
Referenced by fillDefaultCalibParsV1().
void PSCalib::CSPadCalibPars::fillCalibNameVector | ( | ) | [protected] |
Makes member data vector with all supported calibration types such as center, center_corr, off_gap_shift, offset, offset_corr, rotation, tilt, ...
Definition at line 120 of file CSPadCalibPars.cpp.
Referenced by CSPadCalibPars().
void PSCalib::CSPadCalibPars::fillCalibParsV1 | ( | ) | [protected] |
Fill calibration parameters from vector.
Definition at line 228 of file CSPadCalibPars.cpp.
Referenced by loadCalibPars().
void PSCalib::CSPadCalibPars::fillDefaultCalibParsV1 | ( | ) | [protected] |
Fill default calibration parameters.
Definition at line 247 of file CSPadCalibPars.cpp.
References fatalMissingFileName().
Referenced by loadCalibPars().
double PSCalib::CSPadCalibPars::getBeamIntersect | ( | size_t | i | ) | [inline] |
Returns component of the beam_intersect from calibration type beam_intersect.
Definition at line 291 of file CSPadCalibPars.h.
double* PSCalib::CSPadCalibPars::getBeamIntersect | ( | ) | [inline] |
Returns pointer to the beam_intersect from calibration type beam_intersect.
Definition at line 288 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getBeamVector | ( | size_t | i | ) | [inline] |
Returns component of the beam_vector from calibration type beam_vector.
Definition at line 283 of file CSPadCalibPars.h.
double* PSCalib::CSPadCalibPars::getBeamVector | ( | ) | [inline] |
Returns pointer to the beam_vector from calibration type beam_vector.
Definition at line 280 of file CSPadCalibPars.h.
void PSCalib::CSPadCalibPars::getCalibFileName | ( | ) | [protected] |
Define the path to the calibration file based on input parameters.
Definition at line 167 of file CSPadCalibPars.cpp.
References CalibFileFinder::CalibFileFinder(), and CalibFileFinder::findCalibFile().
Referenced by loadCalibPars().
int PSCalib::CSPadCalibPars::getCalibTypeStatus | ( | const std::string & | type | ) | [inline] |
Returns status of the calibration constants, 0-default, 1-loaded from file.
Definition at line 332 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getCenterCorrX | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns x-coordinate correction [pix] of the 2x1 section center in specified quad.
Definition at line 187 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getCenterCorrY | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns y-coordinate correction [pix] of the 2x1 section center in specified quad.
Definition at line 190 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getCenterCorrZ | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns z-coordinate correction [pix] of the 2x1 section center in specified quad.
Definition at line 193 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getCenterGlobalX | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns x-coordinate [pix] of the 2x1 section center for specified quad in the detector frame.
Definition at line 320 of file CSPadCalibPars.h.
References getCenterX().
double PSCalib::CSPadCalibPars::getCenterGlobalY | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns y-coordinate [pix] of the 2x1 section center for specified quad in the detector frame.
Definition at line 323 of file CSPadCalibPars.h.
References getCenterY().
double PSCalib::CSPadCalibPars::getCenterGlobalZ | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns z-coordinate [pix] of the 2x1 section center for specified quad in the detector frame.
Definition at line 326 of file CSPadCalibPars.h.
References getCenterZ().
double PSCalib::CSPadCalibPars::getCenterX | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns x-coordinate [pix] of the 2x1 section center in specified quad.
Definition at line 176 of file CSPadCalibPars.h.
Referenced by getCenterGlobalX().
double PSCalib::CSPadCalibPars::getCenterY | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns y-coordinate [pix] of the 2x1 section center in specified quad.
Definition at line 179 of file CSPadCalibPars.h.
Referenced by getCenterGlobalY().
double PSCalib::CSPadCalibPars::getCenterZ | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns z-coordinate [pix] of the 2x1 section center in specified quad.
Definition at line 182 of file CSPadCalibPars.h.
Referenced by getCenterGlobalZ().
static double PSCalib::CSPadCalibPars::getColSize_um | ( | ) | [inline, static] |
Returns the pixel size of the column in um.
Definition at line 299 of file CSPadCalibPars.h.
Referenced by getColUmToPix(), CSPadPixCoords::PixCoords2x1::PixCoords2x1(), printCalibPars(), and CSPadPixCoords::PixCoordsCSPad::setConstXYMinMax().
static double PSCalib::CSPadCalibPars::getColUmToPix | ( | ) | [inline, static] |
Returns the conversion factor of um to pixels for columns.
Definition at line 314 of file CSPadCalibPars.h.
References getColSize_um().
Referenced by CSPadPixCoords::PixCoordsCSPad::fillArrsOfCSPadPixCoords(), CSPadPixCoords::PixCoordsCSPad::fillArrsOfCSPadPixCoordsFromCenterGlobal(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot000_pix(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot090_pix(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot180_pix(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot270_pix(), and CSPadPixCoords::PixCoords2x1::PixCoords2x1().
static double PSCalib::CSPadCalibPars::getGapRowSize_um | ( | ) | [inline, static] |
Returns the pixel size of the gap column in um.
Definition at line 302 of file CSPadCalibPars.h.
Referenced by getGapSize_um(), and printCalibPars().
static double PSCalib::CSPadCalibPars::getGapSize_um | ( | ) | [inline, static] |
Returns the pixel size of the total gap in um.
Definition at line 305 of file CSPadCalibPars.h.
References getGapRowSize_um(), and getRowSize_um().
Referenced by CSPadPixCoords::PixCoords2x1::PixCoords2x1().
double PSCalib::CSPadCalibPars::getGapX | ( | ) | [inline] |
Returns x-gap between quads in the detector from calibration type marg_gap_shift.
Definition at line 220 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getGapY | ( | ) | [inline] |
Returns y-gap between quads in the detector from calibration type marg_gap_shift.
Definition at line 223 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getGapZ | ( | ) | [inline] |
Returns z-gap between quads in the detector from calibration type marg_gap_shift.
Definition at line 226 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getMargX | ( | ) | [inline] |
Returns x-margine of all quads in the detector from calibration type marg_gap_shift.
Definition at line 209 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getMargY | ( | ) | [inline] |
Returns y-margine of all quads in the detector from calibration type marg_gap_shift.
Definition at line 212 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getMargZ | ( | ) | [inline] |
Returns z-margine of all quads in the detector from calibration type marg_gap_shift.
Definition at line 215 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getOffsetCorrX | ( | size_t | quad | ) | [inline] |
Returns x-offset correction of quads in the detector from calibration type offset_corr.
Definition at line 253 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getOffsetCorrY | ( | size_t | quad | ) | [inline] |
Returns y-offset correction of quads in the detector from calibration type offset_corr.
Definition at line 256 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getOffsetCorrZ | ( | size_t | quad | ) | [inline] |
Returns z-offset correction of quads in the detector from calibration type offset_corr.
Definition at line 259 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getOffsetX | ( | size_t | quad | ) | [inline] |
Returns x-offset of quads in the detector from calibration type offset.
Definition at line 242 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getOffsetY | ( | size_t | quad | ) | [inline] |
Returns y-offset of quads in the detector from calibration type offset.
Definition at line 245 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getOffsetZ | ( | size_t | quad | ) | [inline] |
Returns z-offset of quads in the detector from calibration type offset.
Definition at line 248 of file CSPadCalibPars.h.
static double PSCalib::CSPadCalibPars::getOrtSize_um | ( | ) | [inline, static] |
Returns the pixel size of the ortogonal dimension in um.
Definition at line 308 of file CSPadCalibPars.h.
static double PSCalib::CSPadCalibPars::getOrtUmToPix | ( | ) | [inline, static] |
Returns the conversion factor of um to pixels for ort.
Definition at line 317 of file CSPadCalibPars.h.
Referenced by CSPadPixCoords::PixCoords2x1::PixCoords2x1().
double PSCalib::CSPadCalibPars::getQuadMargX | ( | ) | [inline] |
Returns x-margine of all 2x1s in quad from calibration type marg_gap_shift.
Definition at line 198 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getQuadMargY | ( | ) | [inline] |
Returns y-margine of all 2x1s in quad from calibration type marg_gap_shift.
Definition at line 201 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getQuadMargZ | ( | ) | [inline] |
Returns z-margine of all 2x1s in quad from calibration type marg_gap_shift.
Definition at line 204 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getQuadRotation | ( | size_t | quad | ) | [inline] |
Returns the quad rotation angle (in units of n*90 degrees) from calibration type quad_rotation.
Definition at line 272 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getQuadTilt | ( | size_t | quad | ) | [inline] |
Returns the quad tilt angle (in units of n*90 degrees) from calibration type quad_tilt.
Definition at line 275 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getRotation | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns the 2x1 tile rotation angle (in units of n*90 degrees) from calibration type rotation.
Definition at line 264 of file CSPadCalibPars.h.
Referenced by getRotationGlobal().
double PSCalib::CSPadCalibPars::getRotationGlobal | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns rotation angle of the 2x1 section for specified quad in the detector frame.
Definition at line 329 of file CSPadCalibPars.h.
References getRotation().
static double PSCalib::CSPadCalibPars::getRowSize_um | ( | ) | [inline, static] |
Returns the pixel size of the row in um.
Definition at line 296 of file CSPadCalibPars.h.
Referenced by CSPadPixCoords::PixCoordsCSPad::fillAllQuadCoordsInCSPad(), CSPadPixCoords::PixCoordsQuad::fillOneQuad(), getGapSize_um(), getRowUmToPix(), CSPadPixCoords::PixCoords2x1::PixCoords2x1(), printCalibPars(), CSPadPixCoords::PixCoordsQuad::setConstXYMinMax(), and CSPadPixCoords::PixCoordsCSPad::setConstXYMinMax().
static double PSCalib::CSPadCalibPars::getRowUmToPix | ( | ) | [inline, static] |
Returns the conversion factor of um to pixels for rows.
Definition at line 311 of file CSPadCalibPars.h.
References getRowSize_um().
Referenced by CSPadPixCoords::PixCoordsCSPad::fillArrsOfCSPadPixCoords(), CSPadPixCoords::PixCoordsCSPad::fillArrsOfCSPadPixCoordsFromCenterGlobal(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot000_pix(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot090_pix(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot180_pix(), CSPadPixCoords::PixCoordsQuad::getPixCoorRot270_pix(), and CSPadPixCoords::PixCoords2x1::PixCoords2x1().
double PSCalib::CSPadCalibPars::getShiftX | ( | ) | [inline] |
Returns x-shift between quads in the detector from calibration type marg_gap_shift.
Definition at line 231 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getShiftY | ( | ) | [inline] |
Returns y-shift between quads in the detector from calibration type marg_gap_shift.
Definition at line 234 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getShiftZ | ( | ) | [inline] |
Returns z-shift between quads in the detector from calibration type marg_gap_shift.
Definition at line 237 of file CSPadCalibPars.h.
double PSCalib::CSPadCalibPars::getTilt | ( | size_t | quad, | |
size_t | sect | |||
) | [inline] |
Returns the 2x1 tile tilt angle (in units of n*90 degrees) from calibration type tilt.
Definition at line 267 of file CSPadCalibPars.h.
void PSCalib::CSPadCalibPars::loadCalibPars | ( | ) | [protected] |
Load all known calibration parameters.
Definition at line 140 of file CSPadCalibPars.cpp.
References closeCalibFile(), fillCalibParsV1(), fillDefaultCalibParsV1(), getCalibFileName(), msgUseDefault(), openCalibFile(), and readCalibPars().
Referenced by CSPadCalibPars().
void PSCalib::CSPadCalibPars::msgUseDefault | ( | ) | [protected] |
Generate warning message in the log.
Definition at line 283 of file CSPadCalibPars.cpp.
Referenced by loadCalibPars().
void PSCalib::CSPadCalibPars::openCalibFile | ( | ) | [protected] |
Open calibration file.
Definition at line 194 of file CSPadCalibPars.cpp.
References GeometryAccess::msg.
Referenced by loadCalibPars().
void PSCalib::CSPadCalibPars::printCalibPars | ( | ) |
Prints all calibration parameters.
Definition at line 294 of file CSPadCalibPars.cpp.
References getColSize_um(), getGapRowSize_um(), getRowSize_um(), and print().
Referenced by CSPadCalibPars(), test01(), test02(), test03(), and test04().
void PSCalib::CSPadCalibPars::printCalibParsStatus | ( | ) |
Prints status for all calibration parameters: 0-default, 1-loaded from file.
Definition at line 333 of file CSPadCalibPars.cpp.
void PSCalib::CSPadCalibPars::printInputPars | ( | ) |
Prints input parameters.
Definition at line 320 of file CSPadCalibPars.cpp.
Referenced by CSPadCalibPars().
void PSCalib::CSPadCalibPars::readCalibPars | ( | ) | [protected] |
Read parameters from calibration file to vector.
Definition at line 214 of file CSPadCalibPars.cpp.
Referenced by loadCalibPars().