| 1 |
#ifndef OrbitalInfoStruct_h |
#ifndef OrbitalInfoStruct_h |
| 2 |
#define OrbitalInfoStruct_h |
#define OrbitalInfoStruct_h |
| 3 |
|
|
| 4 |
|
#include <TVector3.h> |
| 5 |
|
|
| 6 |
struct cOrbitalInfo { |
struct cOrbitalInfo { |
| 7 |
|
|
| 8 |
ULong64_t abstime; //< Absolute Time |
ULong64_t abstime; //< Absolute Time |
| 15 |
Float_t lat; // degree from -90 to 90 |
Float_t lat; // degree from -90 to 90 |
| 16 |
Float_t alt; // meters |
Float_t alt; // meters |
| 17 |
|
|
| 18 |
|
TVector3 V; // Velocity |
| 19 |
|
|
| 20 |
|
Float_t londip; |
| 21 |
|
Float_t latdip; |
| 22 |
|
|
| 23 |
// Magnetic field |
// Magnetic field |
| 24 |
|
|
| 25 |
// components (gauss) |
// components (gauss) |
| 30 |
// abs value (guass) |
// abs value (guass) |
| 31 |
Float_t Babs; |
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) |
// Minimum along the field line (that is at the magnetic equator) |
| 38 |
Float_t BB0; |
Float_t BB0; |
| 39 |
|
|
| 40 |
// Distance of the magnetic equator in earth radii |
// Distance of the magnetic equator in earth radii |
| 41 |
Float_t L; |
Float_t L; |
| 42 |
|
|
| 43 |
// Dipolar magnetic coordinates |
Float_t cutoffsvl; |
|
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 |
|
|
|
|
|
Float_t cutoff[20]; |
|
| 44 |
|
|
| 45 |
// Quaternions |
// Quaternions |
| 46 |
Float_t q0, q1, q2, q3; |
Float_t q0, q1, q2, q3; |
| 48 |
// Euler angles (nadir reference frame) |
// Euler angles (nadir reference frame) |
| 49 |
Float_t theta, phi, etha; |
Float_t theta, phi, etha; |
| 50 |
|
|
| 51 |
// Euler angles (local field reference frame) |
// quality of orientation information |
| 52 |
// Float_t thetamag, phimag, ethamag; |
Int_t mode; |
| 53 |
Int_t mode; |
Int_t qkind; |
| 54 |
|
Int_t errq; |
| 55 |
// Useful? |
Int_t azim; |
|
// Int_t goodAttitude[5]; |
|
| 56 |
|
|
| 57 |
void InitcOrbitalInfo(){ |
void InitcOrbitalInfo(){ |
| 58 |
abstime = 0; |
abstime = 0; |