fdhwlib  2.0.25
FltHitrate Class Reference

#include <FltHitRate.h>

Inheritance diagram for FltHitrate:
FltPixRegister Pbus

List of all members.

Public Member Functions


Detailed Description

The hitrate register contains information about the actual hitrate and some control parameters.

To access them by name the class FltPixRegister has been extended. There exists a separate hitrate controller unit for every pixel.

Changes:

Definition at line 36 of file FltHitRate.h.


Constructor & Destructor Documentation

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

Member Function Documentation

int FltHitrate::get ( int  pixel,
int *  length,
bool *  overflow 
)
Returns:
Hitrate [Hz], sampling time [s] and the overflow flag. Possible values of the sampling time are 1,2,4,..32s. The flag is true if the hitrate is outside of the outer margins specified in the control parameters.
int FltHitrate::get ( unsigned long  data,
int *  length = 0,
bool *  overflow = 0 
)

Decode the hitrate using a given raw value instead of reading from the electronic.

int FltHitrate::getCountLength ( int  ch)
Returns:
The sampling time of the hitrate controller in seconds.
int FltHitrate::getHitrate ( int  ch)
Returns:
The actual hitrate in Hz
void FltHitrate::getHitrate ( int *  data)

Load the hitrate of all pixel in this column in an array.

bool FltHitrate::isOverflow ( int  ch)
Returns:
True if the hitrate has left the outer margins specified by the control parameters.

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