/[PAMELA software]/DarthVader/OrbitalInfo/inc/OrbitalInfoStruct.h
ViewVC logotype

Contents of /DarthVader/OrbitalInfo/inc/OrbitalInfoStruct.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Thu Jun 7 14:04:00 2012 UTC (12 years, 5 months ago) by pam-mep
Branch: MAIN
Changes since 1.5: +4 -0 lines
File MIME type: text/plain
Earth magnetic dipole

1 #ifndef OrbitalInfoStruct_h
2 #define OrbitalInfoStruct_h
3
4
5 struct cOrbitalInfo {
6
7 ULong64_t abstime; //< Absolute Time
8 // EM: added On Board Time and CPU Packet Number
9 ULong64_t obt; //< On Board Time
10 ULong64_t pkt_num; //< CPU packet number
11
12 // Position
13 Float_t lon; // degree from -180 to 180
14 Float_t lat; // degree from -90 to 90
15 Float_t alt; // meters
16
17 // Magnetic field
18
19 // components (gauss)
20 Float_t Bnorth;
21 Float_t Beast;
22 Float_t Bdown;
23
24 // abs value (guass)
25 Float_t Babs;
26
27 //Earth dipole moment
28
29 Float_t M;
30
31 // Minimum along the field line (that is at the magnetic equator)
32 Float_t BB0;
33
34 // Distance of the magnetic equator in earth radii
35 Float_t L;
36
37 // Dipolar magnetic coordinates
38 Float_t londip; // degrees from -180 to 180
39 Float_t latdip; // degrees from -90 to 90
40 Float_t altdip; // meters
41
42 // Corrected magnetic coordinates
43 Float_t loncgm; // degrees from -180 to 180
44 Float_t latcgm; // degrees from -90 to 90
45 Float_t altcgm; // meters
46
47 // Corrected B min magnetic coordinates
48 Float_t loncbm; // degrees from -180 to 180
49 Float_t latcbm; // degrees from -90 to 90
50 Float_t altcbm; // meters
51
52 Float_t cutoffsvl;
53
54 // Quaternions
55 Float_t q0, q1, q2, q3;
56
57 // Euler angles (nadir reference frame)
58 Float_t theta, phi, etha;
59
60 // Euler angles (local field reference frame)
61 // Float_t thetamag, phimag, ethamag;
62 Int_t mode;
63
64 // Useful?
65 // Int_t goodAttitude[5];
66
67 void InitcOrbitalInfo(){
68 abstime = 0;
69 obt = 0;
70 pkt_num = 0;
71 }
72 };
73
74 #endif

  ViewVC Help
Powered by ViewVC 1.1.23