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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pam-fi, Fri Jul 21 10:59:13 2006 UTC revision 1.5 by mocchiut, Tue Aug 4 14:01:25 2009 UTC
# Line 1  Line 1 
1  #ifndef OrbitalInfoStruct_h  #ifndef OrbitalInfoStruct_h
2  #define OrbitalInfoStruct_h  #define OrbitalInfoStruct_h
3    
4    
5  struct cOrbitalInfo {  struct cOrbitalInfo {
6    
7    ULong64_t abstime; //< Absolute Time    ULong64_t abstime; //< Absolute Time
# Line 8  struct cOrbitalInfo { Line 9  struct cOrbitalInfo {
9    ULong64_t obt; //< On Board Time    ULong64_t obt; //< On Board Time
10    ULong64_t pkt_num; //< CPU packet number    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      // 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      Float_t cutoffsvl;
49    
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        //  Float_t thetamag, phimag, ethamag;
58        Int_t mode;
59    
60      // Useful?
61        //  Int_t goodAttitude[5];
62    
63    void InitcOrbitalInfo(){    void InitcOrbitalInfo(){
64      abstime = 0;      abstime = 0;
65      obt     = 0;      obt     = 0;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23