Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

LiveTime.h

Go to the documentation of this file.
00001 #ifndef LiveTime_H
00002 #define LiveTime_H
00003 
00004 #include "TObject.h"
00005 
00014 class LiveTime: public TObject {
00015 private:
00017     UInt_t m_l1tCount;  
00018 
00020     UInt_t m_l1tTime;
00021     UShort_t m_l1tTimeOverFlow;
00022 
00024     UInt_t m_ppsCount;  
00025 
00027     UInt_t m_ppsTime;
00028     UShort_t m_ppsTimeOverFlow;
00029     
00032     UInt_t m_liveTime;
00033     UShort_t m_liveTimeOverFlow;
00034 
00036     UInt_t m_runTime;
00037     UShort_t m_runTimeOverFlow;
00038 
00040     UInt_t m_runCount;
00041 
00042     UInt_t m_treqCapture;
00043 
00044     UInt_t m_ltcDeadWord;
00045 
00046 public:
00047 
00048     LiveTime();
00049     virtual ~LiveTime();
00050 
00051     void Clean(Option_t *option="");
00052    
00053     void setL1TCount(UInt_t count) { m_l1tCount = count; };
00054     UInt_t getL1TCount() { return m_l1tCount; };
00055 
00056     void setL1TTime(ULong_t count) { m_l1tTime = count; };
00058     ULong_t getL1TTime() { return m_l1tTime; };
00059 
00060     void setL1TTimeOverFlow(UShort_t over) { m_l1tTimeOverFlow = over; };
00062     UShort_t getL1TTimeOverFlow() { return m_l1tTimeOverFlow; };
00063 
00064     void setPPSCount(UInt_t count) { m_ppsCount = count; };
00065     UInt_t getPPSCount() { return m_ppsCount; };
00066 
00067     void setPPSTime(ULong_t time) { m_ppsTime = time; };
00068     ULong_t getPPSTime() { return m_ppsTime; };
00069 
00070     void setPPSTimeOverFlow(UShort_t over) { m_ppsTimeOverFlow = over; };
00071     UShort_t getPPSTimeOverFlow() { return m_ppsTimeOverFlow; };
00072 
00073     void setLiveTime(ULong_t time) { m_liveTime = time; };
00075     ULong_t getLiveTime() { return m_liveTime; };
00076      
00077     void setLiveTimeOverFlow(UShort_t over) { m_liveTimeOverFlow = over; };
00079     UShort_t getLiveTimeOverFlow() { return m_liveTimeOverFlow; };
00080 
00081     void setRunTime(ULong_t time) { m_runTime = time; };
00083     ULong_t getRunTime() { return m_runTime; };
00084 
00085     void setRunTimeOverFlow(UShort_t over) { m_runTimeOverFlow = over; };
00087     UShort_t getRunTimeOverFlow() { return m_runTimeOverFlow; };
00088 
00089     void setRunCount(UInt_t count) { m_runCount = count; };
00091     UInt_t getRunCount() { return m_runCount; };
00092 
00093     void setTREQCapture(UInt_t capture) { m_treqCapture = capture; };
00094     UInt_t getTREQCapture() { return m_treqCapture; };
00095 
00096     void setLTCDeadWord(UInt_t deadword) { m_ltcDeadWord = deadword; };
00097     UInt_t getLTCDeadWord() { return m_ltcDeadWord; };
00098 
00099     //ULong_t getLiveTimeFraction();
00100 
00101 
00102     
00103     ClassDef(LiveTime,1)       // Storage for live time data
00104 }; 
00105 
00106 #endif
00107 
00108 
00109 
00110 
00111 

Generated at Wed Nov 21 12:22:45 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000