Adu5Sat.h
1 
9 #ifndef ADU5SAT_H
10 #define ADU5SAT_H
11 
12 //Includes
13 #include <TObject.h>
14 #include "simpleStructs.h"
15 
16 class TPad;
17 
19 
23 class Adu5Sat: public TObject
24 {
25  public:
26  Adu5Sat();
27  ~Adu5Sat();
28 
29  Adu5Sat(Int_t trun,
30  UInt_t trealTime,
31  GpsAdu5SatStruct_t *gpsStruct);
32 
33  Int_t run;
34  UInt_t realTime;
35  UInt_t payloadTime;
36  UInt_t numSats[4];
37  UChar_t prn[4][MAX_SATS];
38  UChar_t elevation[4][MAX_SATS];
39  UChar_t snr[4][MAX_SATS];
40  UChar_t flag[4][MAX_SATS];
41  UShort_t azimuth[4][MAX_SATS];
42 
43  void getCirclePlot(TPad *padSat,const char *title=0);
44  int getNumSats(int whichAnt);
45  int getPRN(int whichAnt,int whichSat);
46  int getSNR(int whichAnt,int whichSat);
47  int getElevation(int whichAnt,int whichSat);
48  int getAzimuth(int whichAnt,int whichSat);
49  int getFlag(int whichAnt,int whichSat);
50 
51 
52 
53  ClassDef(Adu5Sat,10);
54 };
55 
56 
57 #endif //ADU5SAT_H
UShort_t azimuth[4][12]
The azimuth of each visible satellite.
Definition: Adu5Sat.h:41
Adu5Sat – The ADU5 Satellite Information.
Definition: Adu5Sat.h:23
ADU5 Satellite Info – Telemetered.
void getCirclePlot(TPad *padSat, const char *title=0)
Creates a 2D elevation-azimuth plot.
Definition: Adu5Sat.cxx:54
UChar_t flag[4][12]
The usability flag of each visible satellite.
Definition: Adu5Sat.h:40
UInt_t numSats[4]
The number of satellites each of the antennas can see.
Definition: Adu5Sat.h:36
UChar_t elevation[4][12]
The elevation of each visible satellite.
Definition: Adu5Sat.h:38
UChar_t snr[4][12]
The SNR of each visible satellite.
Definition: Adu5Sat.h:39
UChar_t prn[4][12]
The PRN of each visible satellite.
Definition: Adu5Sat.h:37