/[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.8 - (hide annotations) (download)
Tue Mar 3 10:58:03 2015 UTC (9 years, 9 months ago) by malakhov
Branch: MAIN
Changes since 1.7: +1 -0 lines
File MIME type: text/plain
New Rotation Table; small code correction

1 pam-fi 1.1 #ifndef OrbitalInfoStruct_h
2     #define OrbitalInfoStruct_h
3    
4 pam-mep 1.7 #include <TVector3.h>
5 mocchiut 1.5
6 pam-fi 1.1 struct cOrbitalInfo {
7    
8     ULong64_t abstime; //< Absolute Time
9     // EM: added On Board Time and CPU Packet Number
10     ULong64_t obt; //< On Board Time
11     ULong64_t pkt_num; //< CPU packet number
12    
13 pam-rm2 1.2 // Position
14     Float_t lon; // degree from -180 to 180
15     Float_t lat; // degree from -90 to 90
16     Float_t alt; // meters
17    
18 pam-mep 1.7 TVector3 V; // Velocity
19    
20     Float_t londip;
21     Float_t latdip;
22    
23 pam-rm2 1.2 // Magnetic field
24    
25     // components (gauss)
26     Float_t Bnorth;
27     Float_t Beast;
28     Float_t Bdown;
29    
30     // abs value (guass)
31     Float_t Babs;
32    
33 pam-mep 1.6 //Earth dipole moment
34    
35     Float_t M;
36    
37 pam-rm2 1.2 // Minimum along the field line (that is at the magnetic equator)
38     Float_t BB0;
39    
40     // Distance of the magnetic equator in earth radii
41     Float_t L;
42    
43 mocchiut 1.4 Float_t cutoffsvl;
44 pam-rm2 1.2
45     // Quaternions
46     Float_t q0, q1, q2, q3;
47    
48     // Euler angles (nadir reference frame)
49     Float_t theta, phi, etha;
50    
51 pam-mep 1.7 // quality of orientation information
52     Int_t mode;
53     Int_t qkind;
54     Int_t errq;
55     Int_t azim;
56 malakhov 1.8 Int_t rtqual;
57 pam-rm2 1.2
58 pam-fi 1.1 void InitcOrbitalInfo(){
59     abstime = 0;
60     obt = 0;
61     pkt_num = 0;
62     }
63     };
64    
65     #endif

  ViewVC Help
Powered by ViewVC 1.1.23