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

TkrHeader.h

Go to the documentation of this file.
00001 #ifndef TkrHeader_H
00002 #define TkrHeader_H
00003 
00004 #include "SubSystemHeader.h"
00005 
00010 class TkrHeader: public SubSystemHeader {
00011 
00012 public:
00013 
00014    enum {
00015         L1T_Wait_Bit = 0x00100000,
00016         Cpu_Busy_Bit = 0x00080000,
00017         Fifo_Full_Trap_Bit = 0x00040000,
00018         Fifo_Full_Bit = 0x00020000,
00019         Fifo_Half_Trap_Bit = 0x00010000,
00020         Fifo_Half_Bit = 0x00008000,
00021         Tkr_Busy_Bit =  0x00004000
00022    } DeadTimeCause;
00023 
00024 
00025     
00026     TkrHeader();
00027 
00028     virtual ~TkrHeader();
00029 
00030     virtual void Clean(Option_t *option="");
00031 
00032     bool isL1tWait() { return (m_deadtime_and_cause & L1T_Wait_Bit); };
00033     bool isCpuBusy() { return (m_deadtime_and_cause & Cpu_Busy_Bit); };
00034     bool isFifoFullTrap() { return (m_deadtime_and_cause & Fifo_Full_Trap_Bit); };
00035     bool isFifoFull() { return (m_deadtime_and_cause & Fifo_Full_Bit); };
00036     bool isFifoHalfTrap() { return (m_deadtime_and_cause & Fifo_Half_Trap_Bit); };
00037     bool isTkrBusy() { return (m_deadtime_and_cause & Tkr_Busy_Bit); };
00038 
00039 private:
00040 
00041     ClassDef(TkrHeader,1)
00042 };
00043 
00044 #endif
00045 

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