Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

HvStatus.h

Go to the documentation of this file.
00001 
00002 // $Id: HvStatus.h,v 1.1 2006/11/21 21:46:37 habig Exp $
00003 //
00004 // HvStatus
00005 //
00006 // HvStatus defines HvStatus_t which is an enumeration of the hv stati.
00007 //
00008 // Author:  A. Blake 2006.11.05
00009 //
00011 
00012 #ifndef HVSTATUS_H
00013 #define HVSTATUS_H
00014 
00015 #ifndef ROOT_Rtypes
00016 #if !defined(__CINT__) || defined(__MAKECINT__)
00017 #include "Rtypes.h"
00018 #endif
00019 #endif
00020 
00021 namespace HvStatus {
00022   typedef enum EHvStatus {
00023     kUnknown    = 0x00,  // unknown
00024     kOK         = 0x01,  // okay
00025     kBad        = 0x02,  // bad 
00026     kSM1Unknown = 0x10,  // SM1 unknown
00027     kSM1OK      = 0x20,  // SM1 okay
00028     kSM1Bad     = 0x40,  // SM1 bad 
00029     kSM2Unknown = 0x100, // SM2 unknown
00030     kSM2OK      = 0x200, // SM2 okay
00031     kSM2Bad     = 0x400  // SM2 bad
00032   } HvStatus_t;
00033 
00034   // no ctor or dtor's - this class consists of only static members
00035 
00036   Bool_t Good(HvStatus_t hvstatus);
00037 
00038   // Translation enum to character string
00039 
00040   const Char_t*  AsString(HvStatus_t hvstatus);
00041 
00042 }
00043 
00044 #endif // HVSTATUS_H

Generated on Mon Feb 15 11:06:47 2010 for loon by  doxygen 1.3.9.1