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

Annotation of /DarthVader/OrbitalInfo/inc/InclinationInfo.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Fri Jan 29 17:27:55 2010 UTC (14 years, 10 months ago) by mocchiut
Branch: MAIN
CVS Tags: v10REDr01, v10RED, v9r00, v9r01, HEAD
Changes since 1.4: +15 -0 lines
File MIME type: text/plain
New inclination code, added new ToF calibration files

1 pamelaprod 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     #include <TArrayC.h>
26     #include <TROOT.h>
27 mocchiut 1.4 #include <TMath.h>
28     #include <TMatrixD.h>
29 pamelaprod 1.1
30     class InclinationInfoI : public TObject {
31     public:
32     //Quaternions Lx_y
33     // The data are organized in 5 groups according to the format
34     // time - L0 - L1 - L2 - L3
35     // time[0] - quat[0][0] - quat[0][1] - quat[0][2] - quat[0][3]
36     // time[1] - quat[1][0] - quat[1][1] - quat[1][2] - quat[1][3]
37     // time[2] - quat[2][0] - quat[2][1] - quat[2][2] - quat[2][3]
38     // time[3] - quat[3][0] - quat[3][1] - quat[3][2] - quat[3][3]
39     // time[4] - quat[4][0] - quat[4][1] - quat[4][2] - quat[4][3]
40     // time[5] - quat[5][0] - quat[5][1] - quat[5][2] - quat[5][3]
41     //
42     double time[6];
43     double quat[6][4];
44    
45     InclinationInfoI(){};
46 mocchiut 1.2 ~InclinationInfoI() {};
47 pamelaprod 1.1
48     void fill(TArrayC* data);
49 mocchiut 1.2 void clear();
50 pamelaprod 1.1 // const char* toXML(char*);
51     ClassDef(InclinationInfoI,1)
52     };
53    
54     /**
55     @author pamelaprod
56     */
57     class Quaternions: public InclinationInfoI {
58     public:
59    
60     Quaternions();
61     ~Quaternions();
62    
63 mocchiut 1.2 //Int_t CodeErrQua;
64 pamelaprod 1.1
65     ClassDef(Quaternions,1)
66     };
67    
68     class InclinationInfo: public TObject {
69     public:
70    
71     InclinationInfo();
72     ~InclinationInfo();
73    
74     Double_t Tangazh;
75     Double_t Ryskanie;
76     Double_t Kren;
77    
78     bool mode;
79 mocchiut 1.2 // Float_t dircutoff;
80 pamelaprod 1.1
81 mocchiut 1.2 void TransAngle(Double_t x,Double_t y,Double_t z,Double_t Vx0,Double_t Vy0, Double_t Vz0, Double_t q0, Double_t q1, Double_t q2, Double_t q3);
82 pamelaprod 1.1
83     // float_t procRegidity(double_t L, double_t B, double_t R);
84 mocchiut 1.2
85 mocchiut 1.3 void Clear(Option_t *t="");
86 pamelaprod 1.1 ClassDef(InclinationInfo,1)
87     };
88    
89 mocchiut 1.5 /*class Sine: public TObject{
90     public:
91     Sine();
92     ~Sine();
93    
94     Float_t A;
95     Float_t b;
96     Double_t c;
97     Double_t startPoint;
98     Double_t finishPoint;
99     Bool_t NeedFit;
100    
101     ClassDef(Sine,8)
102     };*/
103    
104 pamelaprod 1.1 #endif

  ViewVC Help
Powered by ViewVC 1.1.23