CSPadPixCoords::CSPadImageGetTest Class Reference
[CSPadPixCoords package]

CSPadImageGetTest is a test/example module for psana framework. More...

#include <CSPadImageGetTest.h>

List of all members.

Public Member Functions

 CSPadImageGetTest (const std::string &name)
virtual ~CSPadImageGetTest ()
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.
std::string strTimeStamp (Event &evt)
std::string strRunNumber (Event &evt)
std::string strEventCounter ()
void saveImageInFile (Event &evt)


Detailed Description

CSPadImageGetTest is a test/example module for psana framework.

CSPadImageGetTest psana module class works after CSPadImageProducer. It gets the Image2D object from the event. This image object may be used in data processing. For the test purpose, the image of particular event is saved in the text file. This event number is defined in the psana.cfg configuration file.

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

See also:
CSPadImageProducer
Version:
$Id: CSPadImageGetTest.h 8040 2014-04-19 01:00:36Z dubrovin@SLAC.STANFORD.EDU $
Author:
Mikhail S. Dubrovin

Definition at line 62 of file CSPadImageGetTest.h.


Constructor & Destructor Documentation

CSPadPixCoords::CSPadImageGetTest::CSPadImageGetTest ( const std::string &  name  ) 

Definition at line 53 of file CSPadImageGetTest.cpp.

CSPadPixCoords::CSPadImageGetTest::~CSPadImageGetTest (  )  [virtual]

Definition at line 75 of file CSPadImageGetTest.cpp.


Member Function Documentation

void CSPadPixCoords::CSPadImageGetTest::beginCalibCycle ( Event &  evt,
Env &  env 
) [virtual]

Method which is called at the beginning of the calibration cycle.

Definition at line 99 of file CSPadImageGetTest.cpp.

void CSPadPixCoords::CSPadImageGetTest::beginJob ( Event &  evt,
Env &  env 
) [virtual]

Method which is called once at the beginning of the job.

Definition at line 83 of file CSPadImageGetTest.cpp.

void CSPadPixCoords::CSPadImageGetTest::beginRun ( Event &  evt,
Env &  env 
) [virtual]

Method which is called at the beginning of the run.

Definition at line 91 of file CSPadImageGetTest.cpp.

void CSPadPixCoords::CSPadImageGetTest::endCalibCycle ( Event &  evt,
Env &  env 
) [virtual]

Method which is called at the end of the calibration cycle.

Definition at line 121 of file CSPadImageGetTest.cpp.

void CSPadPixCoords::CSPadImageGetTest::endJob ( Event &  evt,
Env &  env 
) [virtual]

Method which is called once at the end of the job.

Definition at line 137 of file CSPadImageGetTest.cpp.

void CSPadPixCoords::CSPadImageGetTest::endRun ( Event &  evt,
Env &  env 
) [virtual]

Method which is called at the end of the run.

Definition at line 129 of file CSPadImageGetTest.cpp.

void CSPadPixCoords::CSPadImageGetTest::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 108 of file CSPadImageGetTest.cpp.

References saveImageInFile().

void CSPadPixCoords::CSPadImageGetTest::saveImageInFile ( Event &  evt  ) 

Definition at line 189 of file CSPadImageGetTest.cpp.

References strRunNumber(), and strTimeStamp().

Referenced by event().

std::string CSPadPixCoords::CSPadImageGetTest::strEventCounter (  ) 

Definition at line 180 of file CSPadImageGetTest.cpp.

std::string CSPadPixCoords::CSPadImageGetTest::strRunNumber ( Event &  evt  ) 

Definition at line 166 of file CSPadImageGetTest.cpp.

Referenced by saveImageInFile().

std::string CSPadPixCoords::CSPadImageGetTest::strTimeStamp ( Event &  evt  ) 

Definition at line 147 of file CSPadImageGetTest.cpp.

Referenced by saveImageInFile().


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