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

Finds Signals in a waveform. More...

#include <com.h>

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

Public Member Functions

SignalProducer::signals_toperator() (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...
 
- Public Member Functions inherited from cass::ACQIRIS::SignalExtractor
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 Public Member Functions inherited from cass::ACQIRIS::SignalExtractor
static std::tr1::shared_ptr< SignalExtractorinstance (SignalExtractorType type)
 creates an instance of the requested extractor type More...
 

Detailed Description

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:

User definable Parameters:

.../CenterOfMass/{AcqirisInstrument}
Acqiris Instrument that this channel is in:

  • 8: Camp (Acqiris Multiinstrument with 5 Cards (20 Channels))
  • 4: AMO I-ToF
  • 5: AMO Magnetic Bottle
  • 2: AMO Gas Detector

.../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:

  • 1: Positive Polarity
  • 2: Negative Polarity

.../CenterOfMass/{Threshold}
the theshold for the signals in Volts:

Note
we should let this class only identify the Signals and create the Signal list. The further analysis of the Signal should be done, when the user requests a property.
Author
Lutz Foucar

Definition at line 87 of file com.h.

Member Function Documentation

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

Parameters
evtThe event from which we get the pointer to the channel.

Implements cass::ACQIRIS::SignalExtractor.

Definition at line 199 of file com.cpp.

void CoM8Bit::loadSettings ( CASSSettings s)
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().

Parameters
sthe CASSSettings object to retrieve the information from

Implements cass::ACQIRIS::SignalExtractor.

Definition at line 194 of file com.cpp.

References cass::ACQIRIS::CenterOfMass::loadSettings().

SignalProducer::signals_t & CoM8Bit::operator() ( SignalProducer::signals_t sig)
virtual

extract signals form the CASSEvent

Calls com to extract the Signal from _chan. For details how see com.

Returns
reference of the input result container
Parameters
[in]sigthis is the container for the results

Implements cass::ACQIRIS::SignalExtractor.

Definition at line 188 of file com.cpp.

Member Data Documentation

const Channel* cass::ACQIRIS::CoM8Bit::_chan
private

pointer to the channel we are extracting the signals from

Definition at line 129 of file com.h.

size_t cass::ACQIRIS::CoM8Bit::_chNbr
private

the channelnumber of the channel we extracting the signals from

Definition at line 126 of file com.h.

uint32_t cass::ACQIRIS::CoM8Bit::_instrument
private

the instrument that the channel is in

Definition at line 123 of file com.h.

CoMParameters cass::ACQIRIS::CoM8Bit::_parameters
private

parameters for extracting the signals from the channels waveform

Definition at line 120 of file com.h.


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