- Timestamp:
- 03/17/04 21:06:36 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3539 r3540 44 44 * mhvstime/MHPixVsTime.cc: 45 45 - fixed missing initialization of fTypeErr in constructor 46 47 * mimage/MHillas.[h,cc]: 48 - implemented member function which returns MeanX/Y as TVector2 49 50 * mimage/ImageIncl.h: 51 - added TVector2 46 52 47 53 -
trunk/MagicSoft/Mars/mimage/ImageIncl.h
r1940 r3540 1 1 #ifndef __CINT__ 2 2 3 #include <TVector2.h> 4 3 5 #endif // __CINT__ -
trunk/MagicSoft/Mars/mimage/MHillas.cc
r3183 r3540 64 64 #include <TArrayF.h> 65 65 #include <TEllipse.h> 66 #include <TVector2.h> 66 67 67 68 #include "MGeomPix.h" … … 88 89 89 90 Reset(); 90 }91 92 // --------------------------------------------------------------------------93 //94 // Destructor. Deletes the TEllipse if one exists.95 //96 MHillas::~MHillas()97 {98 91 } 99 92 … … 112 105 fMeanX = 0; 113 106 fMeanY = 0; 107 } 108 109 // -------------------------------------------------------------------------- 110 // 111 // return the mean position as TVector2(meanx, meany) 112 // 113 TVector2 MHillas::GetMean() const 114 { 115 return TVector2(fMeanX, fMeanY); 114 116 } 115 117 -
trunk/MagicSoft/Mars/mimage/MHillas.h
r2624 r3540 7 7 8 8 class TArrayF; 9 class TVector2; 9 10 10 11 class MGeomCam; … … 27 28 public: 28 29 MHillas(const char *name=NULL, const char *title=NULL); 29 ~MHillas();30 30 31 31 void Reset(); … … 44 44 Float_t GetMeanY() const { return fMeanY; } 45 45 46 TVector2 GetMean() const; 47 46 48 Float_t GetCosDelta() const { return fCosDelta; } 47 49 Float_t GetSinDelta() const { return fSinDelta; }
Note:
See TracChangeset
for help on using the changeset viewer.