Typedefs | |
| typedef enum RunStatus::ERunStatus | RunStatus_t |
Enumerations | |
| enum | ERunStatus { kUnknown = 0x00, kOK = 0x01, kBad = 0x02, kBadRunType = 0x10, kBadReadout = 0x20, kShort = 0x100, kLowRate = 0x200, kHighRate = 0x400, kLIRate = 0x800, kColdReadout = 0x1000, kHotReadout = 0x2000, kBadReadoutErrors = 0x4000, kBadSpillWindow = 0x10000, kHighADC = 0x20000 } |
Functions | |
| Bool_t | IsOK (RunStatus_t runstatus) |
| Bool_t | GoodRun (RunStatus_t runstatus) |
| const Char_t * | AsString (RunStatus_t runstatus) |
|
|
|
|
|
Definition at line 11 of file RunStatus.h. 00011 {
00012 kUnknown = 0x00, // unknown (no run)
00013 kOK = 0x01, // okay
00014 kBad = 0x02, // bad
00015 kBadRunType = 0x10, // incorrect run type
00016 kBadReadout = 0x20, // incorrect readout
00017 kShort = 0x100, // too short
00018 kLowRate = 0x200, // too low event rate
00019 kHighRate = 0x400, // too high event rate
00020 kLIRate = 0x800, // too high LI rate
00021 kColdReadout = 0x1000, // cold readout
00022 kHotReadout = 0x2000, // hot readout
00023 kBadReadoutErrors = 0x4000, // bad readout errors
00024 kBadSpillWindow = 0x10000, // bad timing window
00025 kHighADC = 0x20000 // high adc values
00026
00027 } RunStatus_t;
|
|
|
Definition at line 17 of file RunStatus.cxx. 00018 {
00019 if( runstatus & kOK ) return "OK";
00020 else if( runstatus & kBad ) return "Bad";
00021 else return "Unknown";
00022 }
|
|
|
Definition at line 11 of file RunStatus.cxx. 00012 {
00013 if( runstatus & kOK ) return true;
00014 else return false;
00015 }
|
|
|
Definition at line 5 of file RunStatus.cxx. Referenced by DbiBinaryFile::IsReading(), and DbiBinaryFile::IsWriting(). 00006 {
00007 if( runstatus & kOK ) return true;
00008 else return false;
00009 }
|
1.3.9.1