CFEL - ASG Software Suite
2.5.0
CASS
|
base class for all coalescing functors More...
#include <coalescing_base.h>
Public Types | |
typedef std::tr1::shared_ptr< CoalescingBase > | shared_pointer |
typedef the shared pointer of this More... | |
typedef std::vector< Hit > | hits_t |
define the list of coalesced pixels More... | |
typedef std::vector< Pixel > | pixels_t |
Public Member Functions | |
virtual | ~CoalescingBase () |
virtual destructor More... | |
virtual hits_t & | operator() (const Frame &frame, pixels_t &pixels, hits_t &hits)=0 |
coalesce the pixels More... | |
virtual void | loadSettings (CASSSettings &s)=0 |
load the settings of this 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 coalescing functors
coalscing function should coalesce pixels found in an analysis to form hits on a pixel detector.
Definition at line 34 of file coalescing_base.h.
typedef std::vector<Hit> cass::pixeldetector::CoalescingBase::hits_t |
define the list of coalesced pixels
Definition at line 41 of file coalescing_base.h.
typedef std::vector<Pixel> cass::pixeldetector::CoalescingBase::pixels_t |
Definition at line 43 of file coalescing_base.h.
typedef std::tr1::shared_ptr<CoalescingBase> cass::pixeldetector::CoalescingBase::shared_pointer |
typedef the shared pointer of this
Definition at line 38 of file coalescing_base.h.
|
inlinevirtual |
virtual destructor
Definition at line 46 of file coalescing_base.h.
|
static |
create an instance of the requested functor
type | the reqested type |
Definition at line 20 of file coalescing_base.cpp.
Referenced by cass::pixeldetector::AdvancedDetector::loadSettings().
|
pure virtual |
load the settings of this
s | the CASSSettings object to read the information from |
Implemented in cass::pixeldetector::SimpleCoalesce.
|
pure virtual |
coalesce the pixels
take the input pixel list and coalesce it to hits on the detector.
frame | the frame containing the pixels of interest |
pixels | the list of pixels that should be coalesced |
hits | The list where the pixels that were coalesced to hits go in |
Implemented in cass::pixeldetector::SimpleCoalesce.