#include <CSPad2x2NDArrProducer.h>
Public Types | |
typedef CSPadPixCoords::CSPad2x2ConfigPars | CONFIG |
Public Member Functions | |
CSPad2x2NDArrProducer (const std::string &name) | |
virtual | ~CSPad2x2NDArrProducer () |
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. | |
Static Public Attributes | |
static const uint32_t | NRows2x1 = 185 |
static const uint32_t | NCols2x1 = 388 |
static const uint32_t | N2x1 = 2 |
Protected Member Functions | |
void | printInputParameters () |
Print input parameters. | |
void | procEvent (Event &evt, Env &env) |
void | checkTypeImplementation () |
1) get cspad configuration and data from the event, 2) produce the CSPad data ndarray<T,3> array, 3) save array in the event for further modules.
This class should not be used directly in the code of users modules. Instead, it should be added as a module in the psana.cfg file with appropriate parameters. Then, the produced Image2D object can be extracted from event and used in other modules.
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 68 of file CSPad2x2NDArrProducer.h.
Definition at line 71 of file CSPad2x2NDArrProducer.h.
CSPadPixCoords::CSPad2x2NDArrProducer::CSPad2x2NDArrProducer | ( | const std::string & | name | ) |
CSPadPixCoords::CSPad2x2NDArrProducer::~CSPad2x2NDArrProducer | ( | ) | [virtual] |
Definition at line 76 of file CSPad2x2NDArrProducer.cpp.
void CSPadPixCoords::CSPad2x2NDArrProducer::beginCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the calibration cycle.
Definition at line 137 of file CSPad2x2NDArrProducer.cpp.
void CSPadPixCoords::CSPad2x2NDArrProducer::beginJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the beginning of the job.
Definition at line 103 of file CSPad2x2NDArrProducer.cpp.
References printInputParameters(), and CSPadPixCoords::printSizeOfTypes().
void CSPadPixCoords::CSPad2x2NDArrProducer::beginRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the run.
Definition at line 136 of file CSPad2x2NDArrProducer.cpp.
void CSPadPixCoords::CSPad2x2NDArrProducer::checkTypeImplementation | ( | ) | [protected] |
Definition at line 157 of file CSPad2x2NDArrProducer.cpp.
References CSPadPixCoords::DOUBLE, CSPadPixCoords::FLOAT, CSPadPixCoords::INT, CSPadPixCoords::INT16, and GeometryAccess::msg.
Referenced by CSPad2x2NDArrProducer().
void CSPadPixCoords::CSPad2x2NDArrProducer::endCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the end of the calibration cycle.
Definition at line 138 of file CSPad2x2NDArrProducer.cpp.
void CSPadPixCoords::CSPad2x2NDArrProducer::endJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the end of the job.
Definition at line 140 of file CSPad2x2NDArrProducer.cpp.
void CSPadPixCoords::CSPad2x2NDArrProducer::endRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the end of the run.
Definition at line 139 of file CSPad2x2NDArrProducer.cpp.
void CSPadPixCoords::CSPad2x2NDArrProducer::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 114 of file CSPad2x2NDArrProducer.cpp.
References procEvent(), and CalibPars::status().
void CSPadPixCoords::CSPad2x2NDArrProducer::printInputParameters | ( | ) | [protected] |
Print input parameters.
Definition at line 84 of file CSPad2x2NDArrProducer.cpp.
Referenced by beginJob().
void CSPadPixCoords::CSPad2x2NDArrProducer::procEvent | ( | Event & | evt, | |
Env & | env | |||
) | [protected] |
Definition at line 145 of file CSPad2x2NDArrProducer.cpp.
References CSPadPixCoords::DOUBLE, CSPadPixCoords::FLOAT, CSPadPixCoords::INT, and CSPadPixCoords::INT16.
Referenced by event().
const uint32_t CSPadPixCoords::CSPad2x2NDArrProducer::N2x1 = 2 [static] |
Definition at line 75 of file CSPad2x2NDArrProducer.h.
const uint32_t CSPadPixCoords::CSPad2x2NDArrProducer::NCols2x1 = 388 [static] |
Definition at line 74 of file CSPad2x2NDArrProducer.h.
const uint32_t CSPadPixCoords::CSPad2x2NDArrProducer::NRows2x1 = 185 [static] |
Definition at line 73 of file CSPad2x2NDArrProducer.h.