1 |
#ifndef OrbitalInfoStruct_h |
#ifndef OrbitalInfoStruct_h |
2 |
#define OrbitalInfoStruct_h |
#define OrbitalInfoStruct_h |
3 |
|
|
4 |
|
#include <TVector3.h> |
5 |
|
|
6 |
struct cOrbitalInfo { |
struct cOrbitalInfo { |
7 |
|
|
8 |
ULong64_t abstime; //< Absolute Time |
ULong64_t abstime; //< Absolute Time |
10 |
ULong64_t obt; //< On Board Time |
ULong64_t obt; //< On Board Time |
11 |
ULong64_t pkt_num; //< CPU packet number |
ULong64_t pkt_num; //< CPU packet number |
12 |
|
|
13 |
|
// Position |
14 |
|
Float_t lon; // degree from -180 to 180 |
15 |
|
Float_t lat; // degree from -90 to 90 |
16 |
|
Float_t alt; // meters |
17 |
|
|
18 |
|
TVector3 V; // Velocity |
19 |
|
|
20 |
|
Float_t londip; |
21 |
|
Float_t latdip; |
22 |
|
|
23 |
|
// Magnetic field |
24 |
|
|
25 |
|
// components (gauss) |
26 |
|
Float_t Bnorth; |
27 |
|
Float_t Beast; |
28 |
|
Float_t Bdown; |
29 |
|
|
30 |
|
// abs value (guass) |
31 |
|
Float_t Babs; |
32 |
|
|
33 |
|
//Earth dipole moment |
34 |
|
|
35 |
|
Float_t M; |
36 |
|
|
37 |
|
// Minimum along the field line (that is at the magnetic equator) |
38 |
|
Float_t BB0; |
39 |
|
|
40 |
|
// Distance of the magnetic equator in earth radii |
41 |
|
Float_t L; |
42 |
|
|
43 |
|
Float_t cutoffsvl; |
44 |
|
|
45 |
|
// Quaternions |
46 |
|
Float_t q0, q1, q2, q3; |
47 |
|
|
48 |
|
// Euler angles (nadir reference frame) |
49 |
|
Float_t theta, phi, etha; |
50 |
|
|
51 |
|
// quality of orientation information |
52 |
|
Int_t mode; |
53 |
|
Int_t qkind; |
54 |
|
Int_t errq; |
55 |
|
Int_t azim; |
56 |
|
Int_t rtqual; |
57 |
|
|
58 |
void InitcOrbitalInfo(){ |
void InitcOrbitalInfo(){ |
59 |
abstime = 0; |
abstime = 0; |
60 |
obt = 0; |
obt = 0; |