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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Apr 18 14:06:35 2007 UTC (17 years, 7 months ago) by mocchiut
Branch: MAIN
CVS Tags: v3r04, v3r05, v5r00, v3r03, v4r00, v3r06
Changes since 1.2: +3 -2 lines
File MIME type: text/plain
Inclination variables added

1 pam-fi 1.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 pam-rm2 1.2 // 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 cutoff[20];
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 mocchiut 1.3 // Float_t thetamag, phimag, ethamag;
57     Int_t mode;
58 pam-rm2 1.2
59     // Useful?
60 mocchiut 1.3 // Int_t goodAttitude[5];
61 pam-rm2 1.2
62 pam-fi 1.1 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