| 5 |
#include <TMatrixD.h> |
#include <TMatrixD.h> |
| 6 |
#include <TString.h> |
#include <TString.h> |
| 7 |
#include <TMath.h> |
#include <TMath.h> |
| 8 |
|
#include <TVector3.h> |
| 9 |
|
|
| 10 |
class OrientationInfo : public TObject { |
class OrientationInfo : public TObject { |
| 11 |
|
|
| 18 |
TMatrixD DirAxisGEO; |
TMatrixD DirAxisGEO; |
| 19 |
void SetDirAxisGreenwich(TMatrixD Aij){DirAxisGreenwich = Aij;} |
void SetDirAxisGreenwich(TMatrixD Aij){DirAxisGreenwich = Aij;} |
| 20 |
void SetDirAxisGEO(TMatrixD Aij){DirAxisGEO = Aij;} |
void SetDirAxisGEO(TMatrixD Aij){DirAxisGEO = Aij;} |
|
//Double_t a = 360/(2*TMath::Pi()); |
|
|
//Re = 6000000.0; |
|
| 21 |
|
|
| 22 |
public: |
public: |
| 23 |
|
|
| 28 |
|
|
| 29 |
TMatrixD QuatoECI(Float_t q0, Float_t q1, Float_t q2, Float_t q3); |
TMatrixD QuatoECI(Float_t q0, Float_t q1, Float_t q2, Float_t q3); |
| 30 |
TMatrixD ECItoGreenwich(TMatrixD Aij, UInt_t t); |
TMatrixD ECItoGreenwich(TMatrixD Aij, UInt_t t); |
| 31 |
|
TMatrixD ECItoGEO(TMatrixD Aij, UInt_t t, Double_t lat, Double_t lon); |
| 32 |
|
TMatrixD GEOtoECI(TMatrixD Aij, UInt_t t, Double_t lat, Double_t lon); |
| 33 |
TMatrixD GreenwichtoGEO(Double_t lat, Double_t lon, TMatrixD Aij); |
TMatrixD GreenwichtoGEO(Double_t lat, Double_t lon, TMatrixD Aij); |
| 34 |
|
TMatrixD EulertoEci(Double_t x0, Double_t y0, Double_t z0, Double_t Vx0, Double_t Vy0, Double_t Vz0, Double_t Bank, Double_t Yaw, Double_t SPitch); |
| 35 |
|
TMatrixD GEOtoGeomag(TMatrixD Aij, Double_t B1, Double_t B2, Double_t B3); |
| 36 |
TMatrixD PamelatoGEO(TMatrixD Aij, Double_t B1, Double_t B2, Double_t B3); |
TMatrixD PamelatoGEO(TMatrixD Aij, Double_t B1, Double_t B2, Double_t B3); |
| 37 |
TMatrixD ColPermutation(TMatrixD Aij); |
TMatrixD ColPermutation(TMatrixD Aij); |
| 38 |
|
TVector3 GetSunPosition(UInt_t atime); |
| 39 |
|
Float_t Larmor(Float_t Ek,Float_t Bm,Int_t iZ,Float_t xA); |
| 40 |
|
TMatrixD GetDirectiontoGirocenter(Float_t R, Float_t Px, Float_t Py); |
| 41 |
Double_t GetPitchAngle(Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2); |
Double_t GetPitchAngle(Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2); |
| 42 |
|
|
| 43 |
Double_t GetPamMainGwX(){return DirAxisGreenwich(0,1);} |
Double_t GetPamMainGwX(){return DirAxisGreenwich(0,1);} |
| 51 |
TMatrixD GetGw(){return DirAxisGreenwich;} |
TMatrixD GetGw(){return DirAxisGreenwich;} |
| 52 |
TMatrixD GetGEO(){return DirAxisGEO;} |
TMatrixD GetGEO(){return DirAxisGEO;} |
| 53 |
|
|
| 54 |
ClassDef(OrientationInfo,1); |
ClassDef(OrientationInfo,2); |
| 55 |
}; |
}; |
| 56 |
|
|
| 57 |
#endif |
#endif |