/[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.7 - (hide annotations) (download)
Fri Mar 28 20:47:14 2014 UTC (10 years, 8 months ago) by pam-mep
Branch: MAIN
CVS Tags: v10REDr01, v10RED
Changes since 1.6: +11 -21 lines
File MIME type: text/plain
new OrbitalInfo code

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 pam-rm2 1.2
57 pam-fi 1.1 void InitcOrbitalInfo(){
58     abstime = 0;
59     obt = 0;
60     pkt_num = 0;
61     }
62     };
63    
64     #endif

  ViewVC Help
Powered by ViewVC 1.1.23