GpuPowerSpectra.h
1 
9 #ifndef GPUPOWERSPECTRA_H
10 #define GPUPOWERSPECTRA_H
11 
12 //Includes
13 #include <TObject.h>
14 #include "AnitaConventions.h"
15 #include "simpleStructs.h"
16 #include "TGraph.h"
17 
18 #define NUM_BINS_GPU_POW_SPEC 99
19 
21 
25 class GpuPowerSpectra: public TObject
26 {
27  public:
28  GpuPowerSpectra();
30 
31  GpuPowerSpectra(Int_t run, Int_t trealTime, GpuPhiSectorPowerSpectrumStruct_t *gpuPtr);
32  TGraph* getGraph(Int_t phi);
33 
34 
35  Int_t run;
36  UInt_t realTime;
37  UChar_t powerSpectra[NUM_PHI][NUM_BINS_GPU_POW_SPEC];
38  unsigned int unixTimeFirstEvent;
39  unsigned int unixTimeLastEvent;
40  unsigned int numEventsAveraged;
41  unsigned int firstEventInAverage;
42  unsigned char pol;
43  unsigned char ring;
44 
45 
46 
47  ClassDef(GpuPowerSpectra,11);
48 };
49 
50 
51 #endif //GPUPOWERSPECTRA_H
~GpuPowerSpectra()
Destructor.
GpuPowerSpectra()
Default constructor.
UInt_t realTime
Time in unixTime.
Int_t run
Run number from offline.
GpuPowerSpectra – The GPU Power Specta Data.