CFEL - ASG Software Suite
2.5.0
CASS
|
Finds Signals in a waveform. More...
#include <cfd.h>
Public Member Functions | |
SignalProducer::signals_t & | operator() (SignalProducer::signals_t &sig) |
extract signals form the CASSEvent More... | |
void | associate (const CASSEvent &evt) |
associate the event with this analyzer More... | |
void | loadSettings (CASSSettings &) |
load the settings of the extractor More... | |
![]() | |
virtual | ~SignalExtractor () |
virtual destructor More... | |
Private Attributes | |
CFDParameters | _parameters |
parameters for extracting the signals from the channels waveform More... | |
uint32_t | _instrument |
the instrument that the channel is in More... | |
size_t | _chNbr |
the channelnumber of the channel we extracting the signals from More... | |
const Channel * | _chan |
pointer to the channel we are extracting the signals from More... | |
Additional Inherited Members | |
![]() | |
static std::tr1::shared_ptr< SignalExtractor > | instance (SignalExtractorType type) |
creates an instance of the requested extractor type More... | |
Finds Signals in a waveform.
Analyzes a waveform and find signals using a constant fraction algorithm. It then does all the further analysis of the identified Signal.
This class will work on waveforms with a depth of 8 Bits.
User settable parameters via CASS.ini:
One can set these parameters for each SignalProducer of the Detectortype. Therefore the settings will be for the the following signal producers:
.../ConstantFraction/{AcqirisInstrument}
Acqiris Instrument that this channel is in:
.../ConstantFraction/{ChannelNumber}
Channel within the instrument (starts counting from 0)
.../ConstantFraction/Timeranges/(0,1,...)/{LowerLimit|UpperLimit}
set of timeranges. One can set more than one range of interest. Default is no timerange, which will result in no signal will be found.
.../ConstantFraction/{Polarity}
the polarity of the signals that we are interested in:
.../ConstantFraction/{Threshold}
the theshold for the signals in Volts:
.../ConstantFraction/{Delay}
delay in ns used by the constant fraction method:
.../ConstantFraction/{Fraction}
fraction used by the constant fraction method:
.../ConstantFraction/{Walk}
walk of the Constant Fraction Discriminator in Volts
|
virtual |
associate the event with this analyzer
Extracts a pointer the channel for which we are there for from the event with the help of extractRightChannel.
evt | The event from which we get the pointer to the channel. |
Implements cass::ACQIRIS::SignalExtractor.
|
virtual |
load the settings of the extractor
Calls the loadSettings implementation to retrieve all information to be able extract the signals from _channel. And to be able to extract the right channel from the events in associate().
s | the CASSSettings object to retrieve the information from |
Implements cass::ACQIRIS::SignalExtractor.
Definition at line 242 of file cfd.cpp.
References cass::ACQIRIS::ConstantFraction::loadSettings().
|
virtual |
extract signals form the CASSEvent
Calls cfd to extract the Signal from _chan. For details how see cfd.
[in] | sig | this is the container for the results |
Implements cass::ACQIRIS::SignalExtractor.
|
private |
|
private |
|
private |
|
private |