/[PAMELA software]/DarthVader/OrbitalInfo/inc/OrientationInfo.h
ViewVC logotype

Diff of /DarthVader/OrbitalInfo/inc/OrientationInfo.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mocchiut, Wed Oct 1 15:26:32 2008 UTC revision 1.3 by pam-mep, Fri Mar 28 20:47:15 2014 UTC
# Line 5  Line 5 
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    
# Line 17  class OrientationInfo : public TObject { Line 18  class OrientationInfo : public TObject {
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    
# Line 29  class OrientationInfo : public TObject { Line 28  class OrientationInfo : public TObject {
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);}
# Line 45  class OrientationInfo : public TObject { Line 51  class OrientationInfo : public TObject {
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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23