1 |
#ifndef OrbitalInfoStruct_h |
#ifndef OrbitalInfoStruct_h |
2 |
#define OrbitalInfoStruct_h |
#define OrbitalInfoStruct_h |
3 |
|
|
4 |
|
#include <TVector3.h> |
5 |
|
#include<TMatrixD.h> |
6 |
|
|
7 |
struct cOrbitalInfo { |
struct cOrbitalInfo { |
8 |
|
|
16 |
Float_t lat; // degree from -90 to 90 |
Float_t lat; // degree from -90 to 90 |
17 |
Float_t alt; // meters |
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 |
// Magnetic field |
27 |
|
|
28 |
// components (gauss) |
// components (gauss) |
33 |
// abs value (guass) |
// abs value (guass) |
34 |
Float_t Babs; |
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) |
// Minimum along the field line (that is at the magnetic equator) |
41 |
Float_t BB0; |
Float_t BB0; |
42 |
|
|
43 |
// Distance of the magnetic equator in earth radii |
// Distance of the magnetic equator in earth radii |
44 |
Float_t L; |
Float_t L; |
45 |
|
|
|
// Dipolar magnetic coordinates |
|
|
Float_t londip; // degrees from -180 to 180 |
|
|
Float_t latdip; // degrees from -90 to 90 |
|
|
Float_t altdip; // meters |
|
|
|
|
|
// Corrected magnetic coordinates |
|
|
Float_t loncgm; // degrees from -180 to 180 |
|
|
Float_t latcgm; // degrees from -90 to 90 |
|
|
Float_t altcgm; // meters |
|
|
|
|
|
// Corrected B min magnetic coordinates |
|
|
Float_t loncbm; // degrees from -180 to 180 |
|
|
Float_t latcbm; // degrees from -90 to 90 |
|
|
Float_t altcbm; // meters |
|
|
|
|
46 |
Float_t cutoffsvl; |
Float_t cutoffsvl; |
47 |
|
|
48 |
// Quaternions |
// Quaternions |
51 |
// Euler angles (nadir reference frame) |
// Euler angles (nadir reference frame) |
52 |
Float_t theta, phi, etha; |
Float_t theta, phi, etha; |
53 |
|
|
54 |
// Euler angles (local field reference frame) |
// quality of orientation information |
55 |
// Float_t thetamag, phimag, ethamag; |
Int_t mode; |
56 |
Int_t mode; |
Int_t qkind; |
57 |
|
Int_t errq; |
58 |
// Useful? |
Int_t azim; |
59 |
// Int_t goodAttitude[5]; |
Int_t rtqual; |
60 |
|
|
61 |
void InitcOrbitalInfo(){ |
void InitcOrbitalInfo(){ |
62 |
abstime = 0; |
abstime = 0; |