cspad_mod::CsPad2x2Pedestals Class Reference

Psana module which calculates 2x2 pedestals from dark CsPad2x2 run. More...

#include <CsPad2x2Pedestals.h>

List of all members.

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


Detailed Description

Psana module which calculates 2x2 pedestals from dark CsPad2x2 run.

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

Version:
$Id: CsPad2x2Pedestals.h 2995 2012-02-28 20:11:09Z salnikov@SLAC.STANFORD.EDU $
Author:
Andy Salnikov

Definition at line 48 of file CsPad2x2Pedestals.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
MaxSectors 

Definition at line 51 of file CsPad2x2Pedestals.h.

anonymous enum

Enumerator:
NumColumns 

Definition at line 52 of file CsPad2x2Pedestals.h.

anonymous enum

Enumerator:
NumRows 

Definition at line 53 of file CsPad2x2Pedestals.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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