CFEL - ASG Software Suite
2.5.0
CASS
|
A Time of Flight Detector. More...
#include <tof_detector.h>
Public Member Functions | |
TofDetector (const std::string name) | |
constructor. More... | |
virtual | ~TofDetector () |
virtual destructor More... | |
virtual void | associate (const CASSEvent &evt) |
associate the event with this detector More... | |
virtual void | loadSettings (CASSSettings &s) |
load the values from .ini file More... | |
SignalProducer & | mcp () |
retrieve the mcp More... | |
DetectorType | type () |
retrieve the detector type More... | |
![]() | |
virtual | ~DetectorBackend () |
virtual destructor More... | |
const std::string | name () const |
return the detector name More... | |
Protected Attributes | |
SignalProducer | _mcp |
the mcp of the detector More... | |
![]() | |
std::string | _name |
the name of the detector. More... | |
Additional Inherited Members | |
![]() | |
typedef std::tr1::shared_ptr< DetectorBackend > | shared_pointer |
a shared pointer of this type More... | |
![]() | |
static shared_pointer | instance (const DetectorType &dettype, const std::string &detname) |
create an instance of the requested dectortype More... | |
![]() | |
DetectorBackend (const std::string name) | |
constructor. More... | |
A Time of Flight Detector.
A Time of Flight Detector has only one component that produces signals that are recorded, the mcp. The SignalProducer (_mcp) does know how to extract the singals from the recoreded data. The function can be set up in the signal producers CASSSettings settings. Please refer to SignalProducer class describtion for further details.
Definition at line 33 of file tof_detector.h.
|
inline |
constructor.
[in] | name | the name of the detector |
Definition at line 40 of file tof_detector.h.
|
inlinevirtual |
virtual destructor
Definition at line 45 of file tof_detector.h.
|
virtual |
associate the event with this detector
Since all the data in just enclosed in the mcp, this function will just call the mcp associate member. Please refer to SignalProducer::associate() for further details.
evt | the event to whos data we associated to this detector |
Implements cass::ACQIRIS::DetectorBackend.
Reimplemented in cass::ACQIRIS::DelaylineDetector.
Definition at line 14 of file tof_detector.cpp.
References _mcp, and cass::ACQIRIS::SignalProducer::associate().
|
virtual |
load the values from .ini file
will just open the group named MCP and then call the member SingalProducer::loadSettings() of the _mcp.
s | the CASSSettings object to read the information from |
Implements cass::ACQIRIS::DetectorBackend.
Reimplemented in cass::ACQIRIS::DelaylineDetector.
Definition at line 19 of file tof_detector.cpp.
References QSettings::beginGroup(), and QSettings::endGroup().
|
inline |
retrieve the mcp
Definition at line 67 of file tof_detector.h.
References _mcp.
Referenced by cass::ACQIRIS::DelaylineDetectorAnalyzerSimple::loadSettings(), cass::ACQIRIS::HexSorter::loadSettings(), cass::pp150::process(), cass::HexCalibrator::process(), cass::pp5001::process(), cass::pp151::process(), cass::pp152::process(), cass::pp153::process(), cass::pp162::process(), cass::pp163::process(), cass::pp164::process(), and cass::pp220::process().
|
inlinevirtual |
retrieve the detector type
Implements cass::ACQIRIS::DetectorBackend.
Definition at line 70 of file tof_detector.h.
References cass::ACQIRIS::ToF.
|
protected |
the mcp of the detector
Definition at line 74 of file tof_detector.h.
Referenced by associate(), and mcp().