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

Finds Signals in a waveform. More...

#include <cfd.h>

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

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

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

User definable Parameters:

.../ConstantFraction/{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

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

  • 1: Positive Polarity
  • 2: Negative Polarity

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

Author
Lutz Foucar

Definition at line 94 of file cfd.h.

Member Function Documentation

void CFD8Bit::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 247 of file cfd.cpp.

void CFD8Bit::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 242 of file cfd.cpp.

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

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

extract signals form the CASSEvent

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

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

Implements cass::ACQIRIS::SignalExtractor.

Definition at line 236 of file cfd.cpp.

Member Data Documentation

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

pointer to the channel we are extracting the signals from

Definition at line 136 of file cfd.h.

size_t cass::ACQIRIS::CFD8Bit::_chNbr
private

the channelnumber of the channel we extracting the signals from

Definition at line 133 of file cfd.h.

uint32_t cass::ACQIRIS::CFD8Bit::_instrument
private

the instrument that the channel is in

Definition at line 130 of file cfd.h.

CFDParameters cass::ACQIRIS::CFD8Bit::_parameters
private

parameters for extracting the signals from the channels waveform

Definition at line 127 of file cfd.h.


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