/[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.9 - (show 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
Error occurred while calculating annotation data.
Bug related to events before first quaternions packet fixed

1 #ifndef OrbitalInfoStruct_h
2 #define OrbitalInfoStruct_h
3
4 #include <TVector3.h>
5 #include<TMatrixD.h>
6
7 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 // 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 TVector3 V; // Velocity
20
21 TMatrixD Iij;
22
23 Float_t londip;
24 Float_t latdip;
25
26 // 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 //Earth dipole moment
37
38 Float_t M;
39
40 // 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 Float_t cutoffsvl;
47
48 // Quaternions
49 Float_t q0, q1, q2, q3;
50
51 // Euler angles (nadir reference frame)
52 Float_t theta, phi, etha;
53
54 // quality of orientation information
55 Int_t mode;
56 Int_t qkind;
57 Int_t errq;
58 Int_t azim;
59 Int_t rtqual;
60
61 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