/[PAMELA software]/quicklook/SatelliteInclination/src/InclinationInfo.h
ViewVC logotype

Annotation of /quicklook/SatelliteInclination/src/InclinationInfo.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Feb 8 00:49:35 2007 UTC (17 years, 10 months ago) by cafagna
Branch: MAIN
Branch point for: first
File MIME type: text/plain
Initial revision

1 cafagna 1.1 /***************************************************************************
2     * Copyright (C) 2006 by pamelaprod *
3     * pamelaprod@P1.pamela *
4     * *
5     * This program is free software; you can redistribute it and/or modify *
6     * it under the terms of the GNU General Public License as published by *
7     * the Free Software Foundation; either version 2 of the License, or *
8     * (at your option) any later version. *
9     * *
10     * This program is distributed in the hope that it will be useful, *
11     * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13     * GNU General Public License for more details. *
14     * *
15     * You should have received a copy of the GNU General Public License *
16     * along with this program; if not, write to the *
17     * Free Software Foundation, Inc., *
18     * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19     ***************************************************************************/
20     #ifndef FIRST_H
21     #define FIRST_H
22    
23     #include <TObject.h>
24     #include <iostream>
25    
26     #include "TROOT.h"
27    
28     #include "YMcmd.h"
29     //#include "OrbitalInfoStruct.h"
30     /**
31     @author pamelaprod
32     */
33     class Quaternions: public InclinationInfoItem {
34     public:
35    
36     Quaternions();
37     ~Quaternions();
38    
39     //Int_t CodeErrQua;
40    
41     };
42    
43     class InclinationInfo: public TObject {
44     //private:
45     //Double_t k1;
46     //Double_t k2;
47     //void coefplane(Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2);
48     //Double_t AngBetAxes(Double_t x1, Double_t y1, Double_t z1, Double_t x2, Double_t y2, Double_t z2);
49     //Double_t ValueT(Double_t x1,Double_t y1, Double_t z1, Double_t n1, Double_t n2);
50     //Double_t AngBetPlan(Double_t x1,Double_t y1, Double_t z1, Double_t n1, Double_t n2);
51    
52     public:
53    
54     InclinationInfo();
55     ~InclinationInfo();
56    
57     // Nico's variables //
58     //Int_t nicos1;
59     //Int_t nicos2;
60     //Int_t nicos3;
61     //Int_t nicos4;
62     // End nico's //
63    
64     // Our variables //
65     float_t A11;
66     float_t A12;
67     float_t A13;
68     // float_t A21;
69     // float_t A22;
70     // float_t A23;
71     // Angles RCS of OCS
72     // float_t AXrXo;
73     // float_t AXrYo;
74     // float_t AXrZo;
75     // float_t AYrXo;
76     // float_t AYrYo;
77     // float_t AYrZo;
78     // float_t AZrXo;
79     // float_t AZrYo;
80     // float_t AZrZo;
81    
82     // float_t AXrZXo;
83     // float_t AXrXYo;
84     // float_t AXrYZo;
85     // float_t AYrZXo;
86     // float_t AYrXYo;
87     // float_t AYrYZo;
88     // float_t AZrZXo;
89     // float_t AZrXYo;
90     // float_t AZrYZo;
91    
92     // float_t ApXrZXoZ;
93     // float_t ApXrXYoZ;
94     // float_t ApXrYZoZ;
95     // float_t ApYrZXoZ;
96     // float_t ApYrXYoZ;
97     // float_t ApYrYZoZ;
98     // float_t ApZrZXoZ;
99     // float_t ApZrXYoZ;
100     // float_t ApZrYZoZ;
101    
102     // float_t AXrZXo_2m;
103     // float_t AXrXYo_2m;
104     // float_t AXrYZo_2m;
105     // float_t AYrZXo_2m;
106     // float_t AYrXYo_2m;
107     // float_t AYrYZo_2m;
108     // float_t AZrZXo_2m;
109     // float_t AZrXYo_2m;
110     // float_t AZrYZo_2m;
111    
112     // float_t ApXrZXoZ_2m;
113     // float_t ApXrXYoZ_2m;
114     // float_t ApXrYZoZ_2m;
115     // float_t ApYrZXoZ_2m;
116     // float_t ApYrXYoZ_2m;
117     // float_t ApYrYZoZ_2m;
118     // float_t ApZrZXoZ_2m;
119     // float_t ApZrXYoZ_2m;
120     // float_t ApZrYZoZ_2m;
121    
122     Double_t XXRCS;
123     Double_t YXRCS;
124     Double_t ZXRCS;
125     Double_t XYRCS;
126     Double_t YYRCS;
127     Double_t ZYRCS;
128     Double_t XZRCS;
129     Double_t YZRCS;
130     Double_t ZZRCS;
131    
132     Double_t Tangazh;
133     Double_t Ryskanie;
134     Double_t Kren;
135    
136     bool mode;
137     Float_t dircutoff;
138    
139     short int Sign_1(double_t a, short int b){
140     if (a>0){b=1;};
141     if (a<0){b=-1;}
142     else {b=0;};
143     return b;};
144     void QuaternionstoAngle(Quaternions);
145     void TransAngle(Double_t x,Double_t y,Double_t z,Double_t Vx0,Double_t Vy0, Double_t Vz0, Double_t gamar, Double_t ksir, Double_t tetar, Double_t q0, Double_t q1, Double_t q2, Double_t q3);
146    
147     // float_t procRegidity(double_t L, double_t B, double_t R);
148    
149     // UInt_t absTime;
150     // UInt_t OBT;
151     // UInt_t pkt_num;
152    
153     void Clear();
154     };
155    
156     #endif

  ViewVC Help
Powered by ViewVC 1.1.23