G12Sat.h
1 
9 #ifndef G12SAT_H
10 #define G12SAT_H
11 
12 //Includes
13 #include <TObject.h>
14 #include "simpleStructs.h"
15 
16 class TPad;
17 
18 
20 
24 class G12Sat: public TObject
25 {
26  public:
27  G12Sat();
28  ~G12Sat();
29 
30  G12Sat(Int_t trun,
31  UInt_t trealTime,
32  GpsG12SatStruct_t *gpsStruct);
33 
34  Int_t run;
35  UInt_t realTime;
36  UInt_t payloadTime;
37  UInt_t numSats;
38  UChar_t prn[MAX_SATS];
39  UChar_t elevation[MAX_SATS];
40  UChar_t snr[MAX_SATS];
41  UChar_t flag[MAX_SATS];
42  UShort_t azimuth[MAX_SATS];
43 
44  void getCirclePlot(TPad *padSat);
45 
46  ClassDef(G12Sat,10);
47 };
48 
49 
50 #endif //G12SAT_H
~G12Sat()
Destructor.
Definition: G12Sat.cxx:29
UChar_t snr[12]
SNR of visible satellites.
Definition: G12Sat.h:40
UInt_t numSats
Number of satellites visible.
Definition: G12Sat.h:37
G12Sat – The satellite data from the G12.
Definition: G12Sat.h:24
G12 Satellite Info – Telemetered.
Int_t run
Run number assigned offline.
Definition: G12Sat.h:34
UInt_t realTime
Time in unixtime.
Definition: G12Sat.h:35
G12Sat()
Default constructor.
Definition: G12Sat.cxx:24
UInt_t payloadTime
Time in unixtime.
Definition: G12Sat.h:36
void getCirclePlot(TPad *padSat)
Fills the TPad with a 2D azimuth-elevation plot.
Definition: G12Sat.cxx:53
UChar_t elevation[12]
Elevation of visible satellites.
Definition: G12Sat.h:39
UChar_t prn[12]
PRN of visible satellites.
Definition: G12Sat.h:38
UShort_t azimuth[12]
Azimuth of visible satellites.
Definition: G12Sat.h:42
UChar_t flag[12]
Usability flag of satellites.
Definition: G12Sat.h:41