--- DarthVader/OrbitalInfo/inc/OrbitalInfoStruct.h 2007/04/18 14:06:35 1.3 +++ DarthVader/OrbitalInfo/inc/OrbitalInfoStruct.h 2015/11/17 10:10:00 1.9 @@ -1,6 +1,9 @@ #ifndef OrbitalInfoStruct_h #define OrbitalInfoStruct_h +#include +#include + struct cOrbitalInfo { ULong64_t abstime; //< Absolute Time @@ -13,6 +16,13 @@ Float_t lat; // degree from -90 to 90 Float_t alt; // meters + TVector3 V; // Velocity + + TMatrixD Iij; + + Float_t londip; + Float_t latdip; + // Magnetic field // components (gauss) @@ -23,28 +33,17 @@ // abs value (guass) Float_t Babs; + //Earth dipole moment + + Float_t M; + // Minimum along the field line (that is at the magnetic equator) Float_t BB0; // Distance of the magnetic equator in earth radii Float_t L; - // 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 - - Float_t cutoff[20]; + Float_t cutoffsvl; // Quaternions Float_t q0, q1, q2, q3; @@ -52,12 +51,12 @@ // Euler angles (nadir reference frame) Float_t theta, phi, etha; - // Euler angles (local field reference frame) - // Float_t thetamag, phimag, ethamag; - Int_t mode; - - // Useful? - // Int_t goodAttitude[5]; + // quality of orientation information + Int_t mode; + Int_t qkind; + Int_t errq; + Int_t azim; + Int_t rtqual; void InitcOrbitalInfo(){ abstime = 0;