CFEL - ASG Software Suite
2.5.0
CASS
|
Base class for all detector analyzers. More...
#include <detector_analyzer_backend.h>
Public Types | |
typedef std::tr1::shared_ptr< DetectorAnalyzerBackend > | shared_pointer |
typedef this as a shared pointer More... | |
Public Member Functions | |
virtual | ~DetectorAnalyzerBackend () |
virtual destructor More... | |
virtual detectorHits_t & | operator() (detectorHits_t &hits)=0 |
retrieve detector hits from signals More... | |
virtual void | loadSettings (CASSSettings &, DelaylineDetector &)=0 |
load the settings of the analyzer More... | |
Static Public Member Functions | |
static shared_pointer | instance (const DetectorAnalyzerType &type) |
create an instance of the right analyzer type More... | |
Base class for all detector analyzers.
Definition at line 33 of file detector_analyzer_backend.h.
typedef std::tr1::shared_ptr<DetectorAnalyzerBackend> cass::ACQIRIS::DetectorAnalyzerBackend::shared_pointer |
typedef this as a shared pointer
Definition at line 37 of file detector_analyzer_backend.h.
|
inlinevirtual |
virtual destructor
Definition at line 40 of file detector_analyzer_backend.h.
|
static |
create an instance of the right analyzer type
this static member will create a instance of the requested type. If the requested type is unknown an invalid_argument exception will be thrown.
type | the requested analyzer type |
Definition at line 24 of file detector_analyzer_backend.cpp.
References cass::ACQIRIS::AchimsRoutine, cass::ACQIRIS::DelaylineSimple, cass::ACQIRIS::NonSorting, and cass::toString().
Referenced by cass::ACQIRIS::DelaylineDetector::loadSettings().
|
pure virtual |
load the settings of the analyzer
load the settings from the .ini file. Needs to be implemented by the detector that inherits from this.
s | reference to the CASSSettings object |
d | the detector object that we the analyzer belongs to |
Implemented in cass::ACQIRIS::HexSorter, cass::ACQIRIS::DelaylineDetectorAnalyzerSimple, and cass::ACQIRIS::DelaylineNonSorting.
|
pure virtual |
retrieve detector hits from signals
check the combination of signals to whether they belong together, since the orign from the same detectorhit. Needs to be implemented by the detectorhit finder (sorters?)
[out] | hits | the container where the found hits will go |
Implemented in cass::ACQIRIS::HexSorter, cass::ACQIRIS::DelaylineDetectorAnalyzerSimple, and cass::ACQIRIS::DelaylineNonSorting.