CSPadPixCoords::PixCoordsTest Class Reference
[CSPadPixCoords package]

PixCoordsTest class is a test/example module for psana. More...

#include <PixCoordsTest.h>

List of all members.

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 ()


Detailed Description

PixCoordsTest class is a test/example module for psana.

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.

See also:
PixCoords2x1, PixCoordsQuad, and PixCoordsCSPad
Version:
$Id: PixCoordsTest.h 8040 2014-04-19 01:00:36Z dubrovin@SLAC.STANFORD.EDU $
Author:
Mikhail S. Dubrovin

Definition at line 65 of file PixCoordsTest.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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]

Method which is called at the end of the run.

Definition at line 200 of file PixCoordsTest.cpp.

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 
)

Definition at line 339 of file PixCoordsTest.cpp.

Referenced by event().

void CSPadPixCoords::PixCoordsTest::test_cspad_init (  ) 

Definition at line 321 of file PixCoordsTest.cpp.

Referenced by event().

void CSPadPixCoords::PixCoordsTest::test_cspad_save (  ) 

Definition at line 383 of file PixCoordsTest.cpp.

Referenced by event().

void CSPadPixCoords::PixCoordsTest::test_quad ( const int16_t *  data,
QuadParameters quadpars,
PSCalib::CSPadCalibPars cspad_calibpar 
)

Definition at line 272 of file PixCoordsTest.cpp.

Referenced by event().


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7