#include <CSPadImageGetTest.h>
Public Member Functions | |
CSPadImageGetTest (const std::string &name) | |
virtual | ~CSPadImageGetTest () |
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. | |
std::string | strTimeStamp (Event &evt) |
std::string | strRunNumber (Event &evt) |
std::string | strEventCounter () |
void | saveImageInFile (Event &evt) |
CSPadImageGetTest psana module class works after CSPadImageProducer. It gets the Image2D object from the event. This image object may be used in data processing. For the test purpose, the image of particular event is saved in the text file. This event number is defined in the psana.cfg configuration file.
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 62 of file CSPadImageGetTest.h.
CSPadPixCoords::CSPadImageGetTest::CSPadImageGetTest | ( | const std::string & | name | ) |
Definition at line 53 of file CSPadImageGetTest.cpp.
CSPadPixCoords::CSPadImageGetTest::~CSPadImageGetTest | ( | ) | [virtual] |
Definition at line 75 of file CSPadImageGetTest.cpp.
void CSPadPixCoords::CSPadImageGetTest::beginCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the calibration cycle.
Definition at line 99 of file CSPadImageGetTest.cpp.
void CSPadPixCoords::CSPadImageGetTest::beginJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the beginning of the job.
Definition at line 83 of file CSPadImageGetTest.cpp.
void CSPadPixCoords::CSPadImageGetTest::beginRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the run.
Definition at line 91 of file CSPadImageGetTest.cpp.
void CSPadPixCoords::CSPadImageGetTest::endCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the end of the calibration cycle.
Definition at line 121 of file CSPadImageGetTest.cpp.
void CSPadPixCoords::CSPadImageGetTest::endJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the end of the job.
Definition at line 137 of file CSPadImageGetTest.cpp.
void CSPadPixCoords::CSPadImageGetTest::endRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
void CSPadPixCoords::CSPadImageGetTest::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 108 of file CSPadImageGetTest.cpp.
References saveImageInFile().
void CSPadPixCoords::CSPadImageGetTest::saveImageInFile | ( | Event & | evt | ) |
Definition at line 189 of file CSPadImageGetTest.cpp.
References strRunNumber(), and strTimeStamp().
Referenced by event().
std::string CSPadPixCoords::CSPadImageGetTest::strEventCounter | ( | ) |
Definition at line 180 of file CSPadImageGetTest.cpp.
std::string CSPadPixCoords::CSPadImageGetTest::strRunNumber | ( | Event & | evt | ) |
std::string CSPadPixCoords::CSPadImageGetTest::strTimeStamp | ( | Event & | evt | ) |