AtriEventHkData Class Reference
Part of AraEvent library. The ATRI Housekeeping data class. More...
#include <AtriEventHkData.h>
Inheritance diagram for AtriEventHkData:

Public Member Functions | |
| AtriEventHkData (AraEventHk2_7_t *theHk) | |
| Assignment constructor.   | |
| AtriEventHkData (AraEventHk_t *theHk) | |
| Assignment constructor.   | |
| AtriEventHkData () | |
| Default constructor.  | |
| ClassDef (AtriEventHkData, 3) | |
| UInt_t | getClockCounter () | 
| Double_t | getL4RateHz (Int_t index) | 
| Double_t | getOneOfFourRateHz (Int_t tda) | 
| Gets the rate in Hz of one of four channels on tda.  | |
| UInt_t | getPpsCounter () | 
| Double_t | getSingleChannelRateHz (Int_t tda, Int_t channel) | 
| Gets the single channel rate in Hz for tda channel.  | |
| UInt_t | getSingleChannelThreshold (Int_t tda, Int_t channel) | 
| Gets the single channel rate in Hz for tda channel.   | |
| Double_t | getThreeOfEightRateHz (Int_t tda_pair) | 
| Gets the rate in Hz of three of eight channels on tda_pair (0 is stack 1 and 2, 0 is stack 3 and 4).  | |
| Double_t | getThreeOfFourRateHz (Int_t tda) | 
| Gets the rate in Hz of three of four channels on tda.  | |
| Double_t | getTwoOfFourRateHz (Int_t tda) | 
| Gets the rate in Hz of two of four channels on tda.  | |
| UShort_t | getVadjDac (Int_t dda) | 
| UShort_t | getVdlyDac (Int_t dda) | 
| Double_t | getWilkinsonCounterNs (Int_t dda) | 
| Convert wilkinsonCounter to ns.  | |
| UShort_t | getWilkinsonDelay (Int_t dda) | 
| Don't know what this is even?  | |
| Double_t | wilkinsonCounterNs (Int_t dda) | 
| Convert wilkinsonCounter to ns.  | |
| ~AtriEventHkData () | |
| Destructor.  | |
Public Attributes | |
| uint16_t | blockBuffCountAvg | 
| Average number of blocks available in block buffer.  | |
| uint16_t | blockBuffCountMax | 
| Maximum number of blocks available in block buffer.  | |
| uint16_t | buffDeadTime | 
| Deadtime originating from buffer full in us, prescale 16.  | |
| UInt_t | clockCounter | 
| Clock counter (which clock?).  | |
| uint16_t | digDeadTime | 
| Deadtime originating from digitisation in us, prescale 16.  | |
| uint16_t | evReadoutCountAvg | 
| Average number of Bytes available in event count fifo.  | |
| uint16_t | evReadoutCountMin | 
| Minimum number of Bytes available in event count fifo.  | |
| uint8_t | evReadoutError | 
| Error code from event readout processor.  | |
| UInt_t | firmwareVersion | 
| Firmware version [31:28] ATRI version [27:24] month [23:16] day [15:12] vMajor [11:8] vMiddle [7:0] vMinor.  | |
| uint8_t | firmwareVersionMaj | 
| Split up the firmware version into more inteligable parts.  | |
| uint8_t | firmwareVersionMid | 
| Split up the firmware version into more inteligable parts.  | |
| uint8_t | firmwareVersionMin | 
| Split up the firmware version into more inteligable parts.  | |
| uint16_t | l1Scaler [NUM_L1_SCALERS] | 
| L1 scaler, pre-scale depends on revision of firmware -- check helper functions.  | |
| uint16_t | l1ScalerSurface [ANTS_PER_TDA] | 
| The Surface L1 scaler.  | |
| uint16_t | l2Scaler [NUM_L2_SCALERS] | 
| L2 scaler not prescaled.  | |
| uint16_t | l3Scaler [NUM_L3_SCALERS] | 
| L3 scaler not prescaled.  | |
| uint16_t | l4Scaler [NUM_L4_SCALERS] | 
| L4 scaler not prescaled.  | |
| UInt_t | ppsCounter | 
| Pulse per second counter.  | |
| uint16_t | surfaceThresholdDac [ANTS_PER_TDA] | 
| The surface thresholds.  | |
| uint16_t | t1Scaler [NUM_T1_SCALERS] | 
| T1 scaler not prescaled.  | |
| uint16_t | thresholdDac [NUM_L1_SCALERS] | 
| Value the thresholds are set to.  | |
| uint16_t | totalDeadTime | 
| Total deadtime in us, prescale 16.  | |
| ULong64_t | unixTime | 
| Time in seconds (64-bits for future proofing).  | |
| UInt_t | unixTimeUs | 
| Time in microseconds (32-bits).  | |
| UShort_t | vadjDac [DDA_PER_ATRI] | 
| Value the vdly is set to.  | |
| UShort_t | vdlyDac [DDA_PER_ATRI] | 
| Value the vdly is set to.  | |
| UShort_t | wilkinsonCounter [DDA_PER_ATRI] | 
| Wilkinson counter one per DDA.  | |
| UShort_t | wilkinsonDelay [DDA_PER_ATRI] | 
| Wilkinson delay?? one per DDA.  | |
Detailed Description
Part of AraEvent library. The ATRI Housekeeping data class.The ROOT implementation of the HK data
Definition at line 23 of file AtriEventHkData.h.
Constructor & Destructor Documentation
| AtriEventHkData::AtriEventHkData | ( | AraEventHk_t * | theHk | ) | 
Assignment constructor.
< Time in seconds (64-bits for future proofing)
< Time in microseconds (32-bits)
< Firmware version
< Wilkinson counter one per DDA
< Wilkinson delay?? one per DDA
< Pulse per second counter
< Clock counter (which clock?)
< L1 surface scaler
< L1 scaler, am I correct in decoding this need to check mapping
< L2 scaler
< L2 scaler
< L2 scaler
< L2 scaler
Definition at line 26 of file AtriEventHkData.cxx.
| AtriEventHkData::AtriEventHkData | ( | AraEventHk2_7_t * | theHk | ) | 
Assignment constructor.
< Time in seconds (64-bits for future proofing)
< Time in microseconds (32-bits)
< Firmware version
< Firmware version
< Wilkinson counter one per DDA
< Wilkinson delay?? one per DDA
< Pulse per second counter
< Clock counter (which clock?)
Definition at line 76 of file AtriEventHkData.cxx.
Member Function Documentation
| UInt_t AtriEventHkData::getSingleChannelThreshold | ( | Int_t | tda, | |
| Int_t | channel | |||
| ) | 
Gets the single channel rate in Hz for tda channel.
< Gets the single channel rate in Hz for tda channel
Definition at line 149 of file AtriEventHkData.cxx.
The documentation for this class was generated from the following files:
- AraEvent/AtriEventHkData.h
 - AraEvent/AtriEventHkData.cxx
 
Generated on Tue Jul 16 16:58:05 2013 for ARA ROOT v3.10 Software by
 1.4.7