/[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.9 - (hide annotations) (download)
Tue Nov 17 10:10:00 2015 UTC (9 years ago) by pamela
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -0 lines
File MIME type: text/plain
Bug related to events before first quaternions packet fixed

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

  ViewVC Help
Powered by ViewVC 1.1.23