00001 // 00002 // Body for HvStatus namespace so that CINT recognizes its existence 00003 // 00004 #include "HvStatus.h" 00005 #include "TString.h" 00006 00007 //_____________________________________________________________________________ 00008 Bool_t HvStatus::Good(HvStatus_t hvstatus) 00009 { 00010 if( hvstatus & kOK ) return true; 00011 else return false; 00012 } 00013 //_____________________________________________________________________________ 00014 const Char_t* HvStatus::AsString(HvStatus_t hvstatus) 00015 { 00016 if( hvstatus & kOK ) return "OK"; 00017 else if( hvstatus & kBad ) return "Bad"; 00018 else return "Unknown"; 00019 }
1.3.9.1