#include <PixCoordsTest.h>
Public Member Functions | |
PixCoordsTest (const std::string &name) | |
virtual | ~PixCoordsTest () |
virtual void | beginJob (Event &evt, Env &env) |
Method which is called once at the beginning of the job. | |
virtual void | beginRun (Event &evt, Env &env) |
Method which is called at the beginning of the run. | |
virtual void | beginCalibCycle (Event &evt, Env &env) |
Method which is called at the beginning of the calibration cycle. | |
virtual void | event (Event &evt, Env &env) |
virtual void | endCalibCycle (Event &evt, Env &env) |
Method which is called at the end of the calibration cycle. | |
virtual void | endRun (Event &evt, Env &env) |
Method which is called at the end of the run. | |
virtual void | endJob (Event &evt, Env &env) |
Method which is called once at the end of the job. | |
void | getQuadConfigPars (Env &env) |
void | test_2x1 (const int16_t *data, QuadParameters *quadpars, PSCalib::CSPadCalibPars *cspad_calibpar) |
Group of methods which do actual tests. | |
void | test_quad (const int16_t *data, QuadParameters *quadpars, PSCalib::CSPadCalibPars *cspad_calibpar) |
void | test_cspad (const int16_t *data, QuadParameters *quadpars, PSCalib::CSPadCalibPars *cspad_calibpar) |
void | test_cspad_init () |
void | test_cspad_save () |
PixCoordsTest class is a test of PixCoords2x1, PixCoordsQuad, and PixCoordsCSPad classes in psana framework. In this test the data image from the event is combined with pixel coordinates for 2x1, quad, and CSPad. Relevant images are saved in the files, which can be viewed with rendering script.
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 65 of file PixCoordsTest.h.
CSPadPixCoords::PixCoordsTest::PixCoordsTest | ( | const std::string & | name | ) |
Definition at line 55 of file PixCoordsTest.cpp.
CSPadPixCoords::PixCoordsTest::~PixCoordsTest | ( | ) | [virtual] |
Definition at line 80 of file PixCoordsTest.cpp.
void CSPadPixCoords::PixCoordsTest::beginCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the calibration cycle.
Definition at line 139 of file PixCoordsTest.cpp.
void CSPadPixCoords::PixCoordsTest::beginJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the beginning of the job.
Definition at line 88 of file PixCoordsTest.cpp.
void CSPadPixCoords::PixCoordsTest::beginRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the run.
Definition at line 96 of file PixCoordsTest.cpp.
References getQuadConfigPars(), SegGeometryCspad2x1V1::print_member_data(), and CalibPars::printCalibPars().
void CSPadPixCoords::PixCoordsTest::endCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the end of the calibration cycle.
Definition at line 192 of file PixCoordsTest.cpp.
void CSPadPixCoords::PixCoordsTest::endJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the end of the job.
Definition at line 208 of file PixCoordsTest.cpp.
void CSPadPixCoords::PixCoordsTest::endRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
void CSPadPixCoords::PixCoordsTest::event | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called with event data, this is the only required method, all other methods are optional
Definition at line 148 of file PixCoordsTest.cpp.
References h5constants::data, CalibPars::status(), test_2x1(), test_cspad(), test_cspad_init(), test_cspad_save(), and test_quad().
void CSPadPixCoords::PixCoordsTest::getQuadConfigPars | ( | Env & | env | ) |
Definition at line 115 of file PixCoordsTest.cpp.
References CSPadPixCoords::PixCoords2x1::X, CSPadPixCoords::PixCoords2x1::Y, and CSPadPixCoords::PixCoords2x1::Z.
Referenced by beginRun().
void CSPadPixCoords::PixCoordsTest::test_2x1 | ( | const int16_t * | data, | |
QuadParameters * | quadpars, | |||
PSCalib::CSPadCalibPars * | cspad_calibpar | |||
) |
Group of methods which do actual tests.
Definition at line 215 of file PixCoordsTest.cpp.
References CSPadPixCoords::PixCoords2x1::R000.
Referenced by event().
void CSPadPixCoords::PixCoordsTest::test_cspad | ( | const int16_t * | data, | |
QuadParameters * | quadpars, | |||
PSCalib::CSPadCalibPars * | cspad_calibpar | |||
) |
void CSPadPixCoords::PixCoordsTest::test_cspad_init | ( | ) |
void CSPadPixCoords::PixCoordsTest::test_cspad_save | ( | ) |
void CSPadPixCoords::PixCoordsTest::test_quad | ( | const int16_t * | data, | |
QuadParameters * | quadpars, | |||
PSCalib::CSPadCalibPars * | cspad_calibpar | |||
) |