Public Member Functions | Public Attributes | List of all members
TurfRate Class Reference

TurfRate – The Turf Rate data. More...

#include <TurfRate.h>

Public Member Functions

 TurfRate ()
 Default constructor.
 
 ~TurfRate ()
 Destructor.
 
 TurfRate (Int_t trun, Int_t trealTime, TurfRateStruct_t *ratePtr)
 Assignment constructor.
 
 TurfRate (Int_t trun, Int_t trealTime, TurfRateStructVer41_t *ratePtr)
 Version 41 constructor.
 
 TurfRate (Int_t trun, Int_t trealTime, TurfRateStructVer40_t *ratePtr)
 Version 40 constructor.
 
 TurfRate (Int_t trun, Int_t trealTime, TurfRateStructVer35_t *ratePtr)
 Version 34 constructor.
 
Int_t isPhiMasked (int phi)
 Is the Phi Sector masked.
 
Int_t isL2Masked (int phi)
 Returns 1 if given phi is masked.
 
Float_t getDeadTimeFrac ()
 Returns the deadtime as a fraction of a second (by dividing by 61305)
 
Int_t getL2Rate (int phi)
 
Int_t getL3Rate (int phi)
 Returns l3 rate in phi sector.
 
Int_t getL1Rate (int phi, int ring)
 Deprecated.
 
Int_t getL2Rate (int phi, int ring)
 Deprecated.
 
Int_t getNadirL12Rate (int phi)
 Deprecated.
 
Int_t isAntMasked (int phi, int ring)
 Deprecated.
 
Int_t isPhiMaskedHPol (int phi)
 Deprecated.
 
Int_t isL1Masked (int phi)
 Deprecated.
 
Int_t isL1MaskedHPol (int phi)
 Deprecated.
 
 ClassDef (TurfRate, 43)
 

Public Attributes

Int_t run
 Run number, assigned offline.
 
UInt_t realTime
 Time in unixTime.
 
UInt_t payloadTime
 Time in unixTime.
 
UShort_t ppsNum
 ppsNum of data
 
UShort_t deadTime
 Dead Time. More...
 
UShort_t l2Rates [16]
 L2 rates (or VPol A3 rates)
 
UShort_t l2RatesH [16]
 HPol l2 rates (called l1rates in A3) for A3 compatibility. 0 for A4.
 
UChar_t l3Rates [16]
 l3 rates (or VPol A3 rates)
 
UChar_t l3RatesH [16]
 HPol l3 rates, for A3 compatibility. 0 for A4.
 
UShort_t l2TrigMask
 Which L2 were masked off in A4 (VPol only in A3)
 
UShort_t l2TrigMaskH
 Which HPol L2 were masked off in A3 (== l2TrigMask in A4)
 
UShort_t phiTrigMask
 Which phi sectors are masked off (VPol only in A3)?
 
UShort_t phiTrigMaskH
 Which phi sectors are masked off (Hpol, == phiTrigMask in A4)?
 
UChar_t errorFlag
 Error flag (who knows)?
 
UInt_t c3poNum
 Number of clock cycles per second.
 
Int_t intFlag
 Interpolation flag, zero for raw data.
 
UChar_t l3RatesGated [16]
 l3 gated rates
 
UShort_t rfScaler
 
UChar_t refPulses
 
UChar_t reserved [3]
 Reserved???
 

Detailed Description

TurfRate – The Turf Rate data.

The ROOT implementation of the TURF rate data

Definition at line 21 of file TurfRate.h.

Inheritance diagram for TurfRate:
Inheritance graph
[legend]
Collaboration diagram for TurfRate:
Collaboration graph
[legend]

Member Data Documentation

UShort_t TurfRate::deadTime

Dead Time.

The deadtime counter uses 16.384 us ticks ( 256 ns * 2^6) to keep track of the deadtime within a second. Maximum deadtime would then be 61035 in a second.

Users are encouraged to use the getDeadTimeFrac function where available. A differential dead time number is available in the RawAnitaHeader, which only includes the fraction of the current second before the event trigger in the count.

Definition at line 49 of file TurfRate.h.


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