/[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.5 - (hide annotations) (download)
Tue Aug 4 14:01:25 2009 UTC (15 years, 4 months ago) by mocchiut
Branch: MAIN
CVS Tags: v9r00, v9r01
Changes since 1.4: +1 -0 lines
File MIME type: text/plain
Changed to work with GCC 4.x (gfortran) + ROOT >= 5.24

1 pam-fi 1.1 #ifndef OrbitalInfoStruct_h
2     #define OrbitalInfoStruct_h
3    
4 mocchiut 1.5
5 pam-fi 1.1 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 pam-rm2 1.2 // 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     // Minimum along the field line (that is at the magnetic equator)
28     Float_t BB0;
29    
30     // Distance of the magnetic equator in earth radii
31     Float_t L;
32    
33     // Dipolar magnetic coordinates
34     Float_t londip; // degrees from -180 to 180
35     Float_t latdip; // degrees from -90 to 90
36     Float_t altdip; // meters
37    
38     // Corrected magnetic coordinates
39     Float_t loncgm; // degrees from -180 to 180
40     Float_t latcgm; // degrees from -90 to 90
41     Float_t altcgm; // meters
42    
43     // Corrected B min magnetic coordinates
44     Float_t loncbm; // degrees from -180 to 180
45     Float_t latcbm; // degrees from -90 to 90
46     Float_t altcbm; // meters
47    
48 mocchiut 1.4 Float_t cutoffsvl;
49 pam-rm2 1.2
50     // Quaternions
51     Float_t q0, q1, q2, q3;
52    
53     // Euler angles (nadir reference frame)
54     Float_t theta, phi, etha;
55    
56     // Euler angles (local field reference frame)
57 mocchiut 1.3 // Float_t thetamag, phimag, ethamag;
58     Int_t mode;
59 pam-rm2 1.2
60     // Useful?
61 mocchiut 1.3 // Int_t goodAttitude[5];
62 pam-rm2 1.2
63 pam-fi 1.1 void InitcOrbitalInfo(){
64     abstime = 0;
65     obt = 0;
66     pkt_num = 0;
67     }
68     };
69    
70     #endif

  ViewVC Help
Powered by ViewVC 1.1.23