| 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 |
|
|
| 9 |
ULong64_t abstime; //< Absolute Time |
ULong64_t abstime; //< Absolute Time |
| 11 |
ULong64_t obt; //< On Board Time |
ULong64_t obt; //< On Board Time |
| 12 |
ULong64_t pkt_num; //< CPU packet number |
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(){ |
void InitcOrbitalInfo(){ |
| 62 |
abstime = 0; |
abstime = 0; |
| 63 |
obt = 0; |
obt = 0; |