CFEL - ASG Software Suite
2.5.0
CASS
|
base class for all correction map creators More...
#include <mapcreator_base.h>
Public Types | |
typedef std::tr1::shared_ptr< MapCreatorBase > | shared_pointer |
typedef the shared pointer of this More... | |
typedef std::vector< Detector::frame_t > | storage_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... | |
base class for all correction map creators
a map creator will take the frame data that it gets to create correction maps.
Definition at line 35 of file mapcreator_base.h.
typedef std::tr1::shared_ptr<MapCreatorBase> cass::pixeldetector::MapCreatorBase::shared_pointer |
typedef the shared pointer of this
Definition at line 39 of file mapcreator_base.h.
typedef std::vector<Detector::frame_t> cass::pixeldetector::MapCreatorBase::storage_t |
the type of storage used
Definition at line 42 of file mapcreator_base.h.
|
virtual |
virtual destructor
Definition at line 46 of file mapcreator_base.cpp.
|
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.
|
static |
create an instance of the requested functor
type | the reqested type |
Definition at line 23 of file mapcreator_base.cpp.
Referenced by cass::pixeldetector::CommonData::loadSettings().
|
virtual |
load the settings of this creator
s | the CASSSettings object to read the information 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 56 of file mapcreator_base.cpp.
|
virtual |
build map from frame
take the input frame and use its data to build up the correction maps.
frame | the 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.