/[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.4 - (show annotations) (download)
Tue Nov 11 10:46:42 2008 UTC (16 years ago) by mocchiut
Branch: MAIN
CVS Tags: v6r01, v6r00
Changes since 1.3: +1 -1 lines
File MIME type: text/plain
New cutoff calculation, important changes to the class

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

  ViewVC Help
Powered by ViewVC 1.1.23