CFEL - ASG Software Suite  2.5.0
CASS
tof_detector.cpp
Go to the documentation of this file.
1 //Copyright (C) 2010 Lutz Foucar
2 
3 /**
4  * @file tof_detector.cpp file contains the definition of the class that
5  * describes a Time Of Flight Detector.
6  *
7  * @author Lutz Foucar
8  */
9 
10 #include "tof_detector.h"
11 
12 #include "cass_settings.h"
13 
15 {
16  _mcp.associate(evt);
17 }
18 
20 {
21  s.beginGroup(_name.c_str());
22  s.beginGroup("MCP");
23  _mcp.loadSettings(s);
24  s.endGroup();
25  s.endGroup();
26 }
Event to store all LCLS Data.
Definition: cass_event.h:32
Settings for CASS.
Definition: cass_settings.h:30
SignalProducer _mcp
the mcp of the detector
Definition: tof_detector.h:74
void associate(const CASSEvent &evt)
assciate the event with this signalproducer
virtual void associate(const CASSEvent &evt)
associate the event with this detector
file contains specialized class that do the settings for cass
virtual void loadSettings(CASSSettings &s)
load the values from .ini file
beginGroup(const QString &prefix)
file contains the declaration of the class that describes a Time Of Flight Detector.