#include <CsPadPedestals.h>
Public Types | |
MaxQuads = Psana::CsPad::MaxQuadsPerSensor | |
MaxSectors = Psana::CsPad::SectorsPerQuad | |
NumColumns = Psana::CsPad::ColumnsPerASIC | |
NumRows = Psana::CsPad::MaxRowsPerASIC*2 | |
enum | { MaxQuads = Psana::CsPad::MaxQuadsPerSensor } |
enum | { MaxSectors = Psana::CsPad::SectorsPerQuad } |
enum | { NumColumns = Psana::CsPad::ColumnsPerASIC } |
enum | { NumRows = Psana::CsPad::MaxRowsPerASIC*2 } |
Public Member Functions | |
CsPadPedestals (const std::string &name) | |
virtual | ~CsPadPedestals () |
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 (unsigned qNum, const int16_t *data) |
collect statistics |
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 CsPadPedestals.h.
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
cspad_mod::CsPadPedestals::CsPadPedestals | ( | const std::string & | name | ) |
Definition at line 65 of file CsPadPedestals.cpp.
References MaxQuads, MaxSectors, NumColumns, and NumRows.
cspad_mod::CsPadPedestals::~CsPadPedestals | ( | ) | [virtual] |
Definition at line 87 of file CsPadPedestals.cpp.
void cspad_mod::CsPadPedestals::beginRun | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called at the beginning of the run.
Definition at line 93 of file CsPadPedestals.cpp.
References MaxQuads, and ex-ipython::src.
void cspad_mod::CsPadPedestals::collectStat | ( | unsigned | qNum, | |
const int16_t * | data | |||
) | [protected] |
collect statistics
Definition at line 275 of file CsPadPedestals.cpp.
References MaxSectors, NumColumns, and NumRows.
Referenced by event().
void cspad_mod::CsPadPedestals::endJob | ( | Event & | evt, | |
Env & | env | |||
) | [virtual] |
Method which is called once at the end of the job.
Definition at line 222 of file CsPadPedestals.cpp.
References MaxQuads, MaxSectors, NumColumns, NumRows, and stddev2().
void cspad_mod::CsPadPedestals::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 175 of file CsPadPedestals.cpp.
References collectStat(), and h5constants::data.