cspad_mod::CsPadPedestals Class Reference

Psana module which calculates pedestals from dark CsPad run. More...

#include <CsPadPedestals.h>

List of all members.

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


Detailed Description

Psana module which calculates pedestals from dark CsPad run.

This software was developed for the LCLS project. If you use all or part of it, please give an appropriate acknowledgment.

Version:
$Id: CsPadPedestals.h 7243 2013-11-28 07:35:37Z salnikov@SLAC.STANFORD.EDU $
Author:
Andy Salnikov

Definition at line 48 of file CsPadPedestals.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
MaxQuads 

Definition at line 51 of file CsPadPedestals.h.

anonymous enum

Enumerator:
MaxSectors 

Definition at line 52 of file CsPadPedestals.h.

anonymous enum

Enumerator:
NumColumns 

Definition at line 53 of file CsPadPedestals.h.

anonymous enum

Enumerator:
NumRows 

Definition at line 54 of file CsPadPedestals.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
Generated on 19 Dec 2016 for PSANAmodules by  doxygen 1.4.7