| 2 |
#define OrbitalInfo_h |
#define OrbitalInfo_h |
| 3 |
|
|
| 4 |
#include <TObject.h> |
#include <TObject.h> |
| 5 |
|
#include <algorithm> // EMILIANO |
| 6 |
#include <OrbitalInfoStruct.h> |
#include <OrbitalInfoStruct.h> |
| 7 |
|
|
| 8 |
/** |
/** |
| 33 |
|
|
| 34 |
Float_t L; ///< McIlwain's L shell (in earth radii) |
Float_t L; ///< McIlwain's L shell (in earth radii) |
| 35 |
|
|
| 36 |
//! Dipolar magnetic coordinates (not used). |
// Dipolar magnetic coordinates (not used). |
| 37 |
Float_t londip; ///< degrees from -180 to 180 |
Float_t londip; ///< degrees from -180 to 180 |
| 38 |
Float_t latdip; ///< degrees from -90 to 90 |
Float_t latdip; ///< degrees from -90 to 90 |
| 39 |
Float_t altdip; ///< meters |
Float_t altdip; ///< meters |
| 40 |
|
|
| 41 |
//! Corrected magnetic coordinates (not used). |
// Corrected magnetic coordinates (not used). |
| 42 |
Float_t loncgm; ///< degrees from -180 to 180 |
Float_t loncgm; ///< degrees from -180 to 180 |
| 43 |
Float_t latcgm; ///< degrees from -90 to 90 |
Float_t latcgm; ///< degrees from -90 to 90 |
| 44 |
Float_t altcgm; ///< meters |
Float_t altcgm; ///< meters |
| 45 |
|
|
| 46 |
//! Corrected B min magnetic coordinates (not used). |
// Corrected B min magnetic coordinates (not used). |
| 47 |
Float_t loncbm; ///< degrees from -180 to 180 |
Float_t loncbm; ///< degrees from -180 to 180 |
| 48 |
Float_t latcbm; ///< degrees from -90 to 90 |
Float_t latcbm; ///< degrees from -90 to 90 |
| 49 |
Float_t altcbm; ///< meters |
Float_t altcbm; ///< meters |
| 50 |
|
|
| 51 |
Float_t cutoff[20]; |
Float_t cutoff[20]; |
| 52 |
|
|
| 53 |
//! Quaternions |
// Quaternions |
| 54 |
Float_t q0, q1, q2, q3; |
Float_t q0; ///< Quaternion 0 |
| 55 |
|
Float_t q1; ///< Quaternion 1 |
| 56 |
//! Euler angles (nadir reference frame) (not used) |
Float_t q2; ///< Quaternion 2 |
| 57 |
// Float_t theta, phi, etha; |
Float_t q3; ///< Quaternion 3 |
| 58 |
|
|
| 59 |
//! Euler angles (local field reference frame) (not used) |
// Euler angles (Resurs velocity reference frame) |
| 60 |
// Float_t thetamag, phimag, ethamag; |
Float_t theta; ///< Euler angle theta in the velocity reference frame (pitch) |
| 61 |
|
Float_t phi; ///< Euler angle phi in the velocity reference frame (yaw) |
| 62 |
Float_t roll; |
Float_t etha; ///< Euler angle etha in the velocity reference frame (roll) |
|
Float_t pitch; |
|
|
Float_t yaw; |
|
|
|
|
|
Int_t mode; |
|
|
|
|
|
// Useful? |
|
|
Int_t goodAttitude[5]; |
|
| 63 |
|
|
| 64 |
/** |
/** |
| 65 |
|
* The variable mode means a character time distant between two quaternions, inside which stay every events |
| 66 |
|
*/ |
| 67 |
|
Int_t mode; // 0 - means that time different pair of quaternions exuals to 0.25 seconds in R10 mode |
| 68 |
|
// (it mean that all quaternions in array is correct) |
| 69 |
|
// 1 - means that we have R10 mode and use just first value of quaternions array |
| 70 |
|
// 2 - means that we have non R10 mode and use every quaternions from array. |
| 71 |
|
// 3 - means normal transition from R10 to non R10 or from non R10 to R10. |
| 72 |
|
// 4 - means that we have eliminable hole between R10 and non R10 or between non R10 and R10 |
| 73 |
|
// 5 - means that we have uneliminable hole between R10 and non R10 or between non R10 and R10 |
| 74 |
|
// 6 - means that we have eliminable hole inside R10 (in such keys eliminable depends from other factors also) |
| 75 |
|
// 7 - means that we have uneliminable hole inside R10 |
| 76 |
|
// 8 - means that we have eliminable hole inside non R10 |
| 77 |
|
// 9 - means that we have uneliminable hole inside non R10 |
| 78 |
|
|
| 79 |
|
/** |
| 80 |
\return Returns the B minimum along the field line. |
\return Returns the B minimum along the field line. |
| 81 |
*/ |
*/ |
| 82 |
Float_t GetB0() { return Babs/BB0; }; |
Float_t GetB0() { return Babs/BB0; }; |
| 92 |
|
|
| 93 |
void Clear(); // emiliano |
void Clear(); // emiliano |
| 94 |
// |
// |
| 95 |
ClassDef(OrbitalInfo, 2) |
ClassDef(OrbitalInfo, 3) |
| 96 |
}; |
}; |
| 97 |
#endif |
#endif |