Changeset 8911 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 06/02/08 10:36:33 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHillas.cc
r7438 r8911 21 21 ! Author(s): Wolfgang Wittek 6/2002 <mailto:wittek@mppmu.mpg.de> 22 22 ! 23 ! Copyright: MAGIC Software Development, 2000-200 323 ! Copyright: MAGIC Software Development, 2000-2008 24 24 ! 25 25 ! … … 109 109 // -------------------------------------------------------------------------- 110 110 // 111 // return distance to center (coordinate origin) 112 // 113 Double_t MHillas::GetDist0() const 114 { 115 return TMath::Hypot(fMeanX, fMeanY); 116 } 117 118 // -------------------------------------------------------------------------- 119 // 111 120 // return the mean position as TVector2(meanx, meany) 112 121 // -
trunk/MagicSoft/Mars/mimage/MHillas.h
r7224 r8911 43 43 Float_t GetMeanX() const { return fMeanX; } 44 44 Float_t GetMeanY() const { return fMeanY; } 45 Double_t GetDist0() const { return TMath::Hypot(fMeanX, fMeanY); } // return distance to center45 Double_t GetDist0() const; 46 46 47 47 TVector2 GetMean() const;
Note:
See TracChangeset
for help on using the changeset viewer.