CFEL - ASG Software Suite  2.5.0
CASS
Public Types | Public Member Functions | Static Public Member Functions | List of all members
cass::pixeldetector::MapCreatorBase Class Reference

base class for all correction map creators More...

#include <mapcreator_base.h>

+ Inheritance diagram for cass::pixeldetector::MapCreatorBase:

Public Types

typedef std::tr1::shared_ptr< MapCreatorBaseshared_pointer
 typedef the shared pointer of this More...
 
typedef std::vector< Detector::frame_tstorage_t
 the type of storage used More...
 

Public Member Functions

virtual ~MapCreatorBase ()
 virtual destructor More...
 
virtual void operator() (const Frame &frame)
 build map from frame More...
 
virtual void loadSettings (CASSSettings &s)
 load the settings of this creator More...
 
virtual void controlCalibration (const std::string &command)
 control the calibration process More...
 

Static Public Member Functions

static shared_pointer instance (const std::string &type)
 create an instance of the requested functor More...
 

Detailed Description

base class for all correction map creators

User definable Map Creator List:
"none": does nothing to the maps.
User definable Gain-map Creator List:
"none": does nothing to the maps.

a map creator will take the frame data that it gets to create correction maps.

Author
Lutz Foucar

Definition at line 35 of file mapcreator_base.h.

Member Typedef Documentation

typedef the shared pointer of this

Definition at line 39 of file mapcreator_base.h.

the type of storage used

Definition at line 42 of file mapcreator_base.h.

Constructor & Destructor Documentation

MapCreatorBase::~MapCreatorBase ( )
virtual

virtual destructor

Definition at line 46 of file mapcreator_base.cpp.

Member Function Documentation

void MapCreatorBase::controlCalibration ( const std::string &  command)
virtual

control the calibration process

used by the gui to tell the map creators to start the calibration

Reimplemented in cass::pixeldetector::OnlineFixedCreatorCommonMode, cass::pixeldetector::MovingMaps, cass::pixeldetector::GainCalibration, cass::pixeldetector::FixedMaps, and cass::pixeldetector::OnlineFixedCreator.

Definition at line 61 of file mapcreator_base.cpp.

MapCreatorBase::shared_pointer MapCreatorBase::instance ( const std::string &  type)
static

create an instance of the requested functor

Returns
a shared pointer to the requested type
Parameters
typethe reqested type

Definition at line 23 of file mapcreator_base.cpp.

Referenced by cass::pixeldetector::CommonData::loadSettings().

void MapCreatorBase::loadSettings ( CASSSettings s)
virtual
void MapCreatorBase::operator() ( const Frame frame)
virtual

build map from frame

take the input frame and use its data to build up the correction maps.

Parameters
framethe frame containing the data to build the maps from

Reimplemented in cass::pixeldetector::HotPixelsFinder, cass::pixeldetector::OnlineFixedCreatorCommonMode, cass::pixeldetector::MovingMaps, cass::pixeldetector::GainCalibration, cass::pixeldetector::FixedMaps, and cass::pixeldetector::OnlineFixedCreator.

Definition at line 51 of file mapcreator_base.cpp.


The documentation for this class was generated from the following files: