CFEL - ASG Software Suite
2.5.0
CASS
|
Finds Signals in a waveform. More...
#include <com.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 | |
CoMParameters | _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 when they have three consecutive points above the defined threshold. It then does all the further analysis of the identified Signal.
This class will work on waveforms when a datapoint depth of 8 bit is chosen
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:
.../CenterOfMass/{AcqirisInstrument}
Acqiris Instrument that this channel is in:
.../CenterOfMass/{ChannelNumber}
Channel within the instrument (starts counting from 0)
.../CenterOfMass/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.
.../CenterOfMass/{Polarity}
the polarity of the signals that we are interested in:
.../CenterOfMass/{Threshold}
the theshold for the signals 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 194 of file com.cpp.
References cass::ACQIRIS::CenterOfMass::loadSettings().
|
virtual |
extract signals form the CASSEvent
Calls com to extract the Signal from _chan. For details how see com.
[in] | sig | this is the container for the results |
Implements cass::ACQIRIS::SignalExtractor.
|
private |
|
private |
|
private |
|
private |