Main Page   Class Hierarchy   Compound List   File List   Compound Members  

LiveTime Class Reference

data class to store live time packet data The times in this class are actually 48 bit values. There is no guarantee that this the machine this class is run on supports 64 bit values...hence we define overflow bits in a separate UShort_t. More...

#include <LiveTime.h>

Inheritance diagram for LiveTime::

List of all members.

Public Methods

 LiveTime ()
virtual ~LiveTime ()
void Clean (Option_t *option="")
void setL1TCount (UInt_t count)
UInt_t getL1TCount ()
void setL1TTime (ULong_t count)
ULong_t getL1TTime ()
 level one trigger time in counts.

void setL1TTimeOverFlow (UShort_t over)
UShort_t getL1TTimeOverFlow ()
 returns the 16 bit overflow for the level 1 trigger time counter.

void setPPSCount (UInt_t count)
UInt_t getPPSCount ()
void setPPSTime (ULong_t time)
ULong_t getPPSTime ()
void setPPSTimeOverFlow (UShort_t over)
UShort_t getPPSTimeOverFlow ()
void setLiveTime (ULong_t time)
ULong_t getLiveTime ()
 returns the counts for the live time counter.

void setLiveTimeOverFlow (UShort_t over)
UShort_t getLiveTimeOverFlow ()
 returns the overflow bits (16 bits) for live time counter.

void setRunTime (ULong_t time)
ULong_t getRunTime ()
 returns the run time in counts.

void setRunTimeOverFlow (UShort_t over)
UShort_t getRunTimeOverFlow ()
 returns the 16 bit overflow for the run time counter.

void setRunCount (UInt_t count)
UInt_t getRunCount ()
 run number.

void setTREQCapture (UInt_t capture)
UInt_t getTREQCapture ()
void setLTCDeadWord (UInt_t deadword)
UInt_t getLTCDeadWord ()

Private Attributes

UInt_t m_l1tCount
 number of triggers since start of the run.

UInt_t m_l1tTime
 50 ns FPGA clock pulses without interruption to provide absolute uptime.

UShort_t m_l1tTimeOverFlow
UInt_t m_ppsCount
 number of GPS receiver pulse per second pulses since power on.

UInt_t m_ppsTime
 value of L1tTime latched at the rising edge of the GPS receiver PPS signal.

UShort_t m_ppsTimeOverFlow
UInt_t m_liveTime
 counts 50 ns FPGA clock pulses while L1t enable is high AND L1T is high This indicates that a run is in progress and the instrument is ready for a trigger.

UShort_t m_liveTimeOverFlow
UInt_t m_runTime
 counts 50ns FPGA close pulses continously while L1t enable is high.

UShort_t m_runTimeOverFlow
UInt_t m_runCount
 increments each time L1tCount Reset is given - at start of new run.

UInt_t m_treqCapture
UInt_t m_ltcDeadWord

Detailed Description

data class to store live time packet data The times in this class are actually 48 bit values. There is no guarantee that this the machine this class is run on supports 64 bit values...hence we define overflow bits in a separate UShort_t.


The documentation for this class was generated from the following files:
Generated on Wed Oct 31 11:20:18 2001 for digiRootData by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001