#include <CsPad2x2Pedestals.h>
Public Types | |
MaxSectors = Psana::CsPad2x2::SectorsPerQuad | |
NumColumns = Psana::CsPad2x2::ColumnsPerASIC | |
NumRows = Psana::CsPad2x2::MaxRowsPerASIC*2 | |
enum | { MaxSectors = Psana::CsPad2x2::SectorsPerQuad } |
enum | { NumColumns = Psana::CsPad2x2::ColumnsPerASIC } |
enum | { NumRows = Psana::CsPad2x2::MaxRowsPerASIC*2 } |
Public Member Functions | |
CsPad2x2Pedestals (const std::string &name) | |
virtual | ~CsPad2x2Pedestals () |
virtual void | beginRun (Event &evt, Env &env) |
Method which is called at the beginning of the run. | |
virtual void | event (Event &evt, Env &env) |
virtual void | endJob (Event &evt, Env &env) |
Method which is called once at the end of the job. | |
Protected Member Functions | |
void | collectStat (const int16_t *data) |
collect statistics for 2x2 |
This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.
Definition at line 48 of file CsPad2x2Pedestals.h.
anonymous enum |
anonymous enum |
anonymous enum |
cspad_mod::CsPad2x2Pedestals::CsPad2x2Pedestals | ( | const std::string & | name | ) |
Definition at line 49 of file CsPad2x2Pedestals.cpp.
References MaxSectors, NumColumns, and NumRows.
cspad_mod::CsPad2x2Pedestals::~CsPad2x2Pedestals | ( | ) | [virtual] |
Definition at line 69 of file CsPad2x2Pedestals.cpp.
void cspad_mod::CsPad2x2Pedestals::beginRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the run.
Definition at line 75 of file CsPad2x2Pedestals.cpp.
References ex-ipython::src.
void cspad_mod::CsPad2x2Pedestals::collectStat | ( | const int16_t * | data | ) | [protected] |
collect statistics for 2x2
Definition at line 198 of file CsPad2x2Pedestals.cpp.
References NumColumns, NumRows, and CalibPars::size.
Referenced by event().
void cspad_mod::CsPad2x2Pedestals::endJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the end of the job.
Definition at line 154 of file CsPad2x2Pedestals.cpp.
References NumColumns, NumRows, and CalibPars::size.
void cspad_mod::CsPad2x2Pedestals::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 133 of file CsPad2x2Pedestals.cpp.
References collectStat(), and h5constants::data.