fdhwlib  2.0.25
hw4::FltThreshold Class Reference

#include <fltthreshold.h>

Inheritance diagram for hw4::FltThreshold:
hw4::BaseRegister Pbus

List of all members.

Public Member Functions

Public Attributes


Detailed Description

The class provides access to the threshold register.

The representation of the registers has changed with the versions of the FPGA design.

  • Version 2: The threshold register contains both actual and previous threshold.
  • Version 1: The threshold registers transmits the data in the higher or lower word depending on the pixel number. Numbering the pixel from 0..21 the even numbers use the lower word and the odd numbers use the higher word. In oposite to the ADC memory there is no reading of the two pixel with one read.

The access to the thresholds is restricted to PBUS single access mode. Therefore the block commands have to be emulated.

Definition at line 48 of file fltthreshold.h.


Constructor & Destructor Documentation

hw4::FltThreshold::FltThreshold ( const char *  name,
int  slotID,
int  regID,
int  r,
int  w,
int  len,
int  addrShift 
)
hw4::FltThreshold::~FltThreshold ( )

Member Function Documentation

int hw4::FltThreshold::getActual ( int  ch)

Get the actual threshold.

int hw4::FltThreshold::getPrevious ( int  ch)

Get the previous threshold.


Member Data Documentation

Actual threshold.

Definition at line 55 of file fltthreshold.h.

Change of threshold with respect to the last sampling interval of the hitrate controller.

Definition at line 60 of file fltthreshold.h.

Sign of threshold change.

Definition at line 63 of file fltthreshold.h.


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