#include <CSPad2x2NDArrReshape.h>
Public Member Functions | |
CSPad2x2NDArrReshape (const std::string &name) | |
virtual | ~CSPad2x2NDArrReshape () |
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. | |
bool | procEvent (Event &evt) |
bool | procCalib (Env &env) |
void | put_keys_in_vectors () |
void | print_in_out_keys () |
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 76 of file CSPad2x2NDArrReshape.h.
CSPadPixCoords::CSPad2x2NDArrReshape::CSPad2x2NDArrReshape | ( | const std::string & | name | ) |
CSPadPixCoords::CSPad2x2NDArrReshape::~CSPad2x2NDArrReshape | ( | ) | [virtual] |
Definition at line 75 of file CSPad2x2NDArrReshape.cpp.
void CSPadPixCoords::CSPad2x2NDArrReshape::beginCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the calibration cycle.
Definition at line 131 of file CSPad2x2NDArrReshape.cpp.
void CSPadPixCoords::CSPad2x2NDArrReshape::beginJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the beginning of the job.
Definition at line 99 of file CSPad2x2NDArrReshape.cpp.
References print_in_out_keys(), printInputParameters(), and CSPadPixCoords::printSizeOfTypes().
void CSPadPixCoords::CSPad2x2NDArrReshape::beginRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the run.
Definition at line 124 of file CSPad2x2NDArrReshape.cpp.
void CSPadPixCoords::CSPad2x2NDArrReshape::endCalibCycle | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the end of the calibration cycle.
Definition at line 132 of file CSPad2x2NDArrReshape.cpp.
void CSPadPixCoords::CSPad2x2NDArrReshape::endJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the end of the job.
Definition at line 134 of file CSPad2x2NDArrReshape.cpp.
void CSPadPixCoords::CSPad2x2NDArrReshape::endRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the end of the run.
Definition at line 133 of file CSPad2x2NDArrReshape.cpp.
void CSPadPixCoords::CSPad2x2NDArrReshape::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 111 of file CSPad2x2NDArrReshape.cpp.
References procCalib(), and procEvent().
void CSPadPixCoords::CSPad2x2NDArrReshape::print_in_out_keys | ( | ) | [protected] |
void CSPadPixCoords::CSPad2x2NDArrReshape::printInputParameters | ( | ) | [protected] |
Print input parameters.
Definition at line 83 of file CSPad2x2NDArrReshape.cpp.
Referenced by beginJob().
bool CSPadPixCoords::CSPad2x2NDArrReshape::procCalib | ( | Env & | env | ) | [protected] |
bool CSPadPixCoords::CSPad2x2NDArrReshape::procEvent | ( | Event & | evt | ) | [protected] |
void CSPadPixCoords::CSPad2x2NDArrReshape::put_keys_in_vectors | ( | ) | [protected] |
const uint32_t CSPadPixCoords::CSPad2x2NDArrReshape::N2x1 = 2 [static] |
Definition at line 83 of file CSPad2x2NDArrReshape.h.
const uint32_t CSPadPixCoords::CSPad2x2NDArrReshape::NCols2x1 = 388 [static] |
Definition at line 82 of file CSPad2x2NDArrReshape.h.
const uint32_t CSPadPixCoords::CSPad2x2NDArrReshape::NRows2x1 = 185 [static] |
Definition at line 81 of file CSPad2x2NDArrReshape.h.