OtherMonitorHk.h
1 
9 #ifndef OTHERMONITORHK_H
10 #define OTHERMONITORHK_H
11 
12 //Includes
13 #include <TObject.h>
14 #include "AnitaConventions.h"
15 #include "simpleStructs.h"
16 
18 
22 class OtherMonitorHk: public TObject
23 {
24  public:
25  OtherMonitorHk();
26  ~OtherMonitorHk();
27 
28  OtherMonitorHk(Int_t trun, Int_t trealTime, OtherMonitorStruct_t *otherPtr);
29 
30  Int_t run;
31  UInt_t realTime;
32  UInt_t payloadTime;
33  UInt_t ramDiskInodes;
34  UInt_t runStartTime;
36  UInt_t runNumber;
37  UShort_t dirFiles[3];
38  UShort_t dirLinks[3];
39 
59  UShort_t processBitMask;
60  UShort_t reserved;
61 
62  int isInProcessMask(int procInd);
63 
64  const char *getDirName(int dirInd);
65  const char *getProcName(int procInd);
66  ClassDef(OtherMonitorHk,10);
67 };
68 
69 
70 #endif //OTHERMONITORHK_H
UShort_t processBitMask
A bit mask of the flight software processes currently running.
UInt_t runStartEventNumber
Start eventNumber of the current run.
OtherMonitorHk()
Default constructor.
const char * getDirName(int dirInd)
Returns dir name.
int isInProcessMask(int procInd)
Returns 1 or 0 if process is in mask.
UShort_t reserved
Reserved.
UInt_t runStartTime
Start time of the current run.
const char * getProcName(int procInd)
Returns process name (using 0 as the index of the first bit).
UShort_t dirLinks[3]
UInt_t ramDiskInodes
Inodes remaining on ramdisk.
UInt_t runNumber
Current run number.
Int_t run
Run number, assigned offline.
UShort_t dirFiles[3]
Number of files in /tmp/anita/acqd /tmp/anita/eventd /tmp/anita/prioritizerd.
UInt_t payloadTime
Time in unixTime.
UInt_t realTime
Time in unixTime.
~OtherMonitorHk()
Destructor.
OtherMonitorHk – The other CPU Monitor data.