fdhwlib  2.0.25
FltSum Class Reference

#include <FltSum.h>

Inheritance diagram for FltSum:
FltPixRegister Pbus

List of all members.

Public Member Functions


Detailed Description

The class contains the functions for the first order statistical functions.

Changes:

  • 10.7.01 ak: Calculate of the statistics over now 2^16 samples (elongation by 6bit) The information about the number of samples will be no longer available in this register.

Definition at line 30 of file FltSum.h.


Constructor & Destructor Documentation

FltSum::FltSum ( const char *  name,
int  slotID,
int  regID,
int  r,
int  w,
int  len 
)
FltSum::~FltSum ( )

Member Function Documentation

float FltSum::getMean ( int  ch)

Calculates the mean ADC value.

The algorithm will consider the specified offset and therefore the mean value may be negative.

Returns:
Mean value
long FltSum::read ( int  ch)
Returns:
The sum over n ADC values. The sum will consider the specified offset and therefore may also be negative. (
See also:
FltStatistic)

Reimplemented from FltPixRegister.

void FltSum::read ( long *  data,
int  allPixel = 0 
)

Read all pixel of a column / crate.

Parameters:
dataPointer to the field that should take the data
allPixel0 column, 1 crate
void FltSum::read ( int  ch,
long *  sum,
int *  n 
)
Returns:
The sum over n ADC values The sum will consider the specified offset and therefore may also be negative. (
See also:
FltStatistic)

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