#ifndef OrbitalInfo_h #define OrbitalInfo_h #include #include /** * Class that stores position, time, inclination, magnetic field and * cutoff informations. */ class OrbitalInfo : public TObject { public: OrbitalInfo(); OrbitalInfo* GetOrbitalInfo(){return this;}; // Elena UInt_t absTime; //!< Absolute Time (seconds) UInt_t OBT; //!< On Board Time (ms) UInt_t pkt_num; //!< CPU packet number Float_t lon; //!< degrees from -180 to 180 Float_t lat; //!< degrees from -90 to 90 Float_t alt; //!< meters asl // B components. Float_t Bnorth; //!< gauss Float_t Beast; //!< gauss Float_t Bdown; //!< gauss Float_t Babs; //!< abs value (guass) Float_t BB0; //!< B abs over the B minimum on this field line Float_t L; //!< McIlwain's L shell (in earth radii) //! Dipolar magnetic coordinates (not used). Float_t londip; //!< degrees from -180 to 180 Float_t latdip; //!< degrees from -90 to 90 Float_t altdip; //!< meters //! Corrected magnetic coordinates (not used). 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 (not used). Float_t loncbm; //!< degrees from -180 to 180 Float_t latcbm; //!< degrees from -90 to 90 Float_t altcbm; //!< meters Float_t cutoff[20]; //! Quaternions (not used) Float_t q0, q1, q2, q3; //! Euler angles (nadir reference frame) (not used) Float_t theta, phi, etha; //! Euler angles (local field reference frame) (not used) Float_t thetamag, phimag, ethamag; // Useful? Int_t goodAttitude[5]; /** \return Returns the B minimum along the field line. */ Float_t GetB0() { return Babs/BB0; }; /** \return Returns the Stormer vertical cutoff using L shell: 14.9/L^2 (GV/c). */ Float_t GetCutoffSVL() { return cutoff[0]; }; void SetFromLevel2Struct(cOrbitalInfo *l2); void GetLevel2Struct(cOrbitalInfo *l2) const; void Clear(); // emiliano // ClassDef(OrbitalInfo, 2) }; #endif