fdhwlib
2.0.25
|
#include <FltSum.h>
The class contains the functions for the first order statistical functions.
Changes:
FltSum::FltSum | ( | const char * | name, |
int | slotID, | ||
int | regID, | ||
int | r, | ||
int | w, | ||
int | len | ||
) |
FltSum::~FltSum | ( | ) |
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.
long FltSum::read | ( | int | ch | ) |
Reimplemented from FltPixRegister.
void FltSum::read | ( | long * | data, |
int | allPixel = 0 |
||
) |
Read all pixel of a column / crate.
data | Pointer to the field that should take the data |
allPixel | 0 column, 1 crate |
void FltSum::read | ( | int | ch, |
long * | sum, | ||
int * | n | ||
) |