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

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

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

revision 1.17 by mocchiut, Fri Oct 31 15:48:58 2008 UTC revision 1.19 by mocchiut, Thu Dec 11 10:08:15 2008 UTC
# Line 5  Line 5 
5  #include <algorithm> // EMILIANO  #include <algorithm> // EMILIANO
6  #include <OrbitalInfoStruct.h>  #include <OrbitalInfoStruct.h>
7  #include <TClonesArray.h>  #include <TClonesArray.h>
8    #include <TMatrixD.h>
9    
10  class OrbitalInfoTrkVar : public TObject {  class OrbitalInfoTrkVar : public TObject {
11   private:   private:
# Line 13  class OrbitalInfoTrkVar : public TObject Line 14  class OrbitalInfoTrkVar : public TObject
14      //      //
15      Int_t trkseqno; // tof sequ. number: -1=ToF standalone, 0=first Tracker track, ...      Int_t trkseqno; // tof sequ. number: -1=ToF standalone, 0=first Tracker track, ...
16      //      //
17      Float_t pitch;      Float_t pitch; ///< Pitch angle
18        //
19        TMatrixD Eij; ///< vector of incoming particle respect to cartesian geographic coordinates
20        TMatrixD Sij; ///< vector of incoming particle respect to flight coordinates
21        //
22        Float_t cutoff; ///< Calculated cutoff for the incoming particle taking into account particle direction
23      //        //  
24      OrbitalInfoTrkVar();      OrbitalInfoTrkVar();
25        OrbitalInfoTrkVar(const OrbitalInfoTrkVar&);
26      OrbitalInfoTrkVar* GetOrbitalInfoTrkVar(){return this;};      OrbitalInfoTrkVar* GetOrbitalInfoTrkVar(){return this;};
27      //      //
28      void Clear(Option_t *t="");      void Clear(Option_t *t="");
29        void Delete(Option_t *t=""); //ELENA
30      //      //
31      ClassDef(OrbitalInfoTrkVar, 1);      ClassDef(OrbitalInfoTrkVar, 3);
32      //      //
33  };  };
34                    
# Line 55  class OrbitalInfo : public TObject { Line 63  class OrbitalInfo : public TObject {
63    
64    Float_t L; ///< McIlwain's L shell (in earth radii)    Float_t L; ///< McIlwain's L shell (in earth radii)
65    
66    // Dipolar magnetic coordinates (not used).  /*   // Dipolar magnetic coordinates (not used). */
67    Float_t londip; ///< degrees from -180 to 180  /*   Float_t londip; ///< degrees from -180 to 180 */
68    Float_t latdip; ///< degrees from -90 to 90  /*   Float_t latdip; ///< degrees from -90 to 90 */
69    Float_t altdip; ///< meters  /*   Float_t altdip; ///< meters */
70    
71    // Corrected magnetic coordinates (not used).  /*   // Corrected magnetic coordinates (not used). */
72    Float_t loncgm; ///< degrees from -180 to 180  /*   Float_t loncgm; ///< degrees from -180 to 180 */
73    Float_t latcgm; ///< degrees from -90 to 90  /*   Float_t latcgm; ///< degrees from -90 to 90 */
74    Float_t altcgm; ///< meters  /*   Float_t altcgm; ///< meters */
75    
76    // Corrected B min magnetic coordinates (not used).  /*   // Corrected B min magnetic coordinates (not used). */
77    Float_t loncbm; ///< degrees from -180 to 180  /*   Float_t loncbm; ///< degrees from -180 to 180 */
78    Float_t latcbm; ///< degrees from -90 to 90  /*   Float_t latcbm; ///< degrees from -90 to 90 */
79    Float_t altcbm; ///< meters  /*   Float_t altcbm; ///< meters */
80    
81    Float_t cutoff[17];       //  Float_t cutoff[17];
82      Float_t cutoffsvl;
83    
84    // Quaternions    // Quaternions
85    Float_t q0; ///< Quaternion 0    Float_t q0; ///< Quaternion 0
# Line 84  class OrbitalInfo : public TObject { Line 93  class OrbitalInfo : public TObject {
93    Float_t etha; ///< Euler angle etha in the velocity reference frame (roll)    Float_t etha; ///< Euler angle etha in the velocity reference frame (roll)
94    
95    // Pitch angles    // Pitch angles
96    Float_t pamzenitangle;        //  Float_t pamzenitangle;
97    Float_t pamBangle;        //  Float_t pamBangle;
98      //
99      TMatrixD Iij; ///< Angle between PAMELA Z direction and cartesian geographic coordinates
100    
101    /**    /**
102     * The variable mode means a character time distant between two quaternions, inside which stay every events       * The variable mode means a character time distant between two quaternions, inside which stay every events  
# Line 113  class OrbitalInfo : public TObject { Line 124  class OrbitalInfo : public TObject {
124       \return Returns the Stormer vertical cutoff using L shell:       \return Returns the Stormer vertical cutoff using L shell:
125       14.9/L^2 (GV/c).       14.9/L^2 (GV/c).
126    */    */
127    Float_t GetCutoffSVL() { return cutoff[0]; };    Float_t GetCutoffSVL() { return cutoffsvl; };
128    
129    void SetFromLevel2Struct(cOrbitalInfo *l2);    void SetFromLevel2Struct(cOrbitalInfo *l2);
130    void GetLevel2Struct(cOrbitalInfo *l2) const;    void GetLevel2Struct(cOrbitalInfo *l2) const;
# Line 130  class OrbitalInfo : public TObject { Line 141  class OrbitalInfo : public TObject {
141    
142    void Clear(Option_t *t=""); // emiliano    void Clear(Option_t *t=""); // emiliano
143    //    //
144    ClassDef(OrbitalInfo, 6);    ClassDef(OrbitalInfo, 7);
145  };  };
146  #endif  #endif

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.23