27 class SignalExtractor;
107 double firstGood(
const std::pair<double,double>& range);
Event to store all LCLS Data.
std::vector< signal_t > signals_t
bool _goodHitExtracted
flag to show whether the first good hit has been extracted
double firstGood()
returns the time of the first peak in the time range
bool _newEventAssociated
flag to show whether there is a new event associated whith this signal producer
std::tr1::shared_ptr< SignalExtractor > _signalextractor
the extractor of the produced signals
std::vector< double > signal_t
void loadSettings(CASSSettings &s)
loads the settings.
signals_t _signals
the signals produces by this producer
void associate(const CASSEvent &evt)
assciate the event with this signalproducer
std::pair< double, double > _range
the range in which the good hits will appear
double _goodHit
time of the first peak in the "good" range
signals_t & output()
return the signals
SignalProducer()
default constructor