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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show 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 #ifndef OrbitalInfoStruct_h
2 #define OrbitalInfoStruct_h
3
4 #include <TVector3.h>
5
6 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 // 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 TVector3 V; // Velocity
19
20 Float_t londip;
21 Float_t latdip;
22
23 // 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 //Earth dipole moment
34
35 Float_t M;
36
37 // 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 Float_t cutoffsvl;
44
45 // Quaternions
46 Float_t q0, q1, q2, q3;
47
48 // Euler angles (nadir reference frame)
49 Float_t theta, phi, etha;
50
51 // quality of orientation information
52 Int_t mode;
53 Int_t qkind;
54 Int_t errq;
55 Int_t azim;
56
57 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