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

AcdHeader.h

Go to the documentation of this file.
00001 #ifndef AcdHeader_H
00002 #define AcdHeader_H
00003 
00004 #include "SubSystemHeader.h"
00005 
00010 class AcdHeader: 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         Acd_Busy_Bit =  0x00004000
00022     } DeadTimeCause;
00023 
00024     AcdHeader();
00025 
00026     virtual ~AcdHeader();
00027 
00028     virtual void Clean(Option_t *option="");
00029 
00030     bool isL1tWait() { return (m_deadtime_and_cause & L1T_Wait_Bit); };
00031     bool isCpuBusy() { return (m_deadtime_and_cause & Cpu_Busy_Bit); };
00032     bool isFifoFullTrap() { return (m_deadtime_and_cause & Fifo_Full_Trap_Bit); };
00033     bool isFifoFull() { return (m_deadtime_and_cause & Fifo_Full_Bit); };
00034     bool isFifoHalfTrap() { return (m_deadtime_and_cause & Fifo_Half_Trap_Bit); };
00035     bool isAcdBusy() { return (m_deadtime_and_cause & Acd_Busy_Bit); };
00036 
00037 
00038 private:
00039 
00040 
00041     ClassDef(AcdHeader,1)
00042 };
00043 
00044 #endif
00045 

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