CFEL - ASG Software Suite  2.5.0
CASS
Public Member Functions | Protected Attributes | List of all members
cass::ACQIRIS::TofDetector Class Reference

A Time of Flight Detector. More...

#include <tof_detector.h>

+ Inheritance diagram for cass::ACQIRIS::TofDetector:
+ Collaboration diagram for cass::ACQIRIS::TofDetector:

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...
 
SignalProducermcp ()
 retrieve the mcp More...
 
DetectorType type ()
 retrieve the detector type More...
 
- Public Member Functions inherited from cass::ACQIRIS::DetectorBackend
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...
 
- Protected Attributes inherited from cass::ACQIRIS::DetectorBackend
std::string _name
 the name of the detector. More...
 

Additional Inherited Members

- Public Types inherited from cass::ACQIRIS::DetectorBackend
typedef std::tr1::shared_ptr< DetectorBackendshared_pointer
 a shared pointer of this type More...
 
- Static Public Member Functions inherited from cass::ACQIRIS::DetectorBackend
static shared_pointer instance (const DetectorType &dettype, const std::string &detname)
 create an instance of the requested dectortype More...
 
- Protected Member Functions inherited from cass::ACQIRIS::DetectorBackend
 DetectorBackend (const std::string name)
 constructor. More...
 

Detailed Description

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.

User definable Parameters:
AcqirisDetectors/%detectorname%/MCP
Name of the MCP Signal. See cass::ACQIRIS::SignalProducer
Author
Lutz Foucar

Definition at line 33 of file tof_detector.h.

Constructor & Destructor Documentation

cass::ACQIRIS::TofDetector::TofDetector ( const std::string  name)
inline

constructor.

Parameters
[in]namethe name of the detector

Definition at line 40 of file tof_detector.h.

virtual cass::ACQIRIS::TofDetector::~TofDetector ( )
inlinevirtual

virtual destructor

Definition at line 45 of file tof_detector.h.

Member Function Documentation

void cass::ACQIRIS::TofDetector::associate ( const CASSEvent evt)
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.

Parameters
evtthe 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().

void cass::ACQIRIS::TofDetector::loadSettings ( CASSSettings s)
virtual

load the values from .ini file

will just open the group named MCP and then call the member SingalProducer::loadSettings() of the _mcp.

Parameters
sthe 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().

SignalProducer& cass::ACQIRIS::TofDetector::mcp ( )
inline
DetectorType cass::ACQIRIS::TofDetector::type ( )
inlinevirtual

retrieve the detector type

Implements cass::ACQIRIS::DetectorBackend.

Definition at line 70 of file tof_detector.h.

References cass::ACQIRIS::ToF.

Member Data Documentation

SignalProducer cass::ACQIRIS::TofDetector::_mcp
protected

the mcp of the detector

Definition at line 74 of file tof_detector.h.

Referenced by associate(), and mcp().


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