Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File 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:

TObject 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. More...

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

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. More...

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

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

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

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

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. More...

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

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

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

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. More...

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

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

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.

Definition at line 14 of file LiveTime.h.


Constructor & Destructor Documentation

LiveTime::LiveTime ( )
 

LiveTime::~LiveTime ( ) [virtual]
 

Definition at line 11 of file LiveTime.cxx.


Member Function Documentation

void LiveTime::Clean ( Option_t * option = "" )
 

Definition at line 15 of file LiveTime.cxx.

Referenced by DigiEvent::Clean().

UInt_t LiveTime::getL1TCount ( ) [inline]
 

Definition at line 54 of file LiveTime.h.

ULong_t LiveTime::getL1TTime ( ) [inline]
 

level one trigger time in counts.

Definition at line 58 of file LiveTime.h.

UShort_t LiveTime::getL1TTimeOverFlow ( ) [inline]
 

returns the 16 bit overflow for the level 1 trigger time counter.

Definition at line 62 of file LiveTime.h.

UInt_t LiveTime::getLTCDeadWord ( ) [inline]
 

Definition at line 97 of file LiveTime.h.

ULong_t LiveTime::getLiveTime ( ) [inline]
 

returns the counts for the live time counter.

Definition at line 75 of file LiveTime.h.

UShort_t LiveTime::getLiveTimeOverFlow ( ) [inline]
 

returns the overflow bits (16 bits) for live time counter.

Definition at line 79 of file LiveTime.h.

UInt_t LiveTime::getPPSCount ( ) [inline]
 

Definition at line 65 of file LiveTime.h.

ULong_t LiveTime::getPPSTime ( ) [inline]
 

Definition at line 68 of file LiveTime.h.

UShort_t LiveTime::getPPSTimeOverFlow ( ) [inline]
 

Definition at line 71 of file LiveTime.h.

UInt_t LiveTime::getRunCount ( ) [inline]
 

run number.

Definition at line 91 of file LiveTime.h.

ULong_t LiveTime::getRunTime ( ) [inline]
 

returns the run time in counts.

Definition at line 83 of file LiveTime.h.

UShort_t LiveTime::getRunTimeOverFlow ( ) [inline]
 

returns the 16 bit overflow for the run time counter.

Definition at line 87 of file LiveTime.h.

UInt_t LiveTime::getTREQCapture ( ) [inline]
 

Definition at line 94 of file LiveTime.h.

void LiveTime::setL1TCount ( UInt_t count ) [inline]
 

Definition at line 53 of file LiveTime.h.

void LiveTime::setL1TTime ( ULong_t count ) [inline]
 

Definition at line 56 of file LiveTime.h.

void LiveTime::setL1TTimeOverFlow ( UShort_t over ) [inline]
 

Definition at line 60 of file LiveTime.h.

void LiveTime::setLTCDeadWord ( UInt_t deadword ) [inline]
 

Definition at line 96 of file LiveTime.h.

void LiveTime::setLiveTime ( ULong_t time ) [inline]
 

Definition at line 73 of file LiveTime.h.

void LiveTime::setLiveTimeOverFlow ( UShort_t over ) [inline]
 

Definition at line 77 of file LiveTime.h.

void LiveTime::setPPSCount ( UInt_t count ) [inline]
 

Definition at line 64 of file LiveTime.h.

void LiveTime::setPPSTime ( ULong_t time ) [inline]
 

Definition at line 67 of file LiveTime.h.

void LiveTime::setPPSTimeOverFlow ( UShort_t over ) [inline]
 

Definition at line 70 of file LiveTime.h.

void LiveTime::setRunCount ( UInt_t count ) [inline]
 

Definition at line 89 of file LiveTime.h.

void LiveTime::setRunTime ( ULong_t time ) [inline]
 

Definition at line 81 of file LiveTime.h.

void LiveTime::setRunTimeOverFlow ( UShort_t over ) [inline]
 

Definition at line 85 of file LiveTime.h.

void LiveTime::setTREQCapture ( UInt_t capture ) [inline]
 

Definition at line 93 of file LiveTime.h.


Member Data Documentation

UInt_t LiveTime::m_l1tCount [private]
 

number of triggers since start of the run.

Definition at line 17 of file LiveTime.h.

UInt_t LiveTime::m_l1tTime [private]
 

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

Definition at line 20 of file LiveTime.h.

UShort_t LiveTime::m_l1tTimeOverFlow [private]
 

Definition at line 21 of file LiveTime.h.

UInt_t LiveTime::m_liveTime [private]
 

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.

Definition at line 32 of file LiveTime.h.

UShort_t LiveTime::m_liveTimeOverFlow [private]
 

Definition at line 33 of file LiveTime.h.

UInt_t LiveTime::m_ltcDeadWord [private]
 

Definition at line 44 of file LiveTime.h.

UInt_t LiveTime::m_ppsCount [private]
 

number of GPS receiver pulse per second pulses since power on.

Definition at line 24 of file LiveTime.h.

UInt_t LiveTime::m_ppsTime [private]
 

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

Definition at line 27 of file LiveTime.h.

UShort_t LiveTime::m_ppsTimeOverFlow [private]
 

Definition at line 28 of file LiveTime.h.

UInt_t LiveTime::m_runCount [private]
 

increments each time L1tCount Reset is given - at start of new run.

Definition at line 40 of file LiveTime.h.

UInt_t LiveTime::m_runTime [private]
 

counts 50ns FPGA close pulses continously while L1t enable is high.

Definition at line 36 of file LiveTime.h.

UShort_t LiveTime::m_runTimeOverFlow [private]
 

Definition at line 37 of file LiveTime.h.

UInt_t LiveTime::m_treqCapture [private]
 

Definition at line 42 of file LiveTime.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:22:46 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000