Ignore:
Timestamp:
06/02/08 10:36:33 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mimage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mimage/MHillas.cc

    r7438 r8911  
    2121!   Author(s): Wolfgang Wittek  6/2002 <mailto:wittek@mppmu.mpg.de>
    2222!
    23 !   Copyright: MAGIC Software Development, 2000-2003
     23!   Copyright: MAGIC Software Development, 2000-2008
    2424!
    2525!
     
    109109// --------------------------------------------------------------------------
    110110//
     111//  return distance to center (coordinate origin)
     112//
     113Double_t MHillas::GetDist0() const
     114{
     115    return TMath::Hypot(fMeanX, fMeanY);
     116}
     117
     118// --------------------------------------------------------------------------
     119//
    111120//  return the mean position as TVector2(meanx, meany)
    112121//
  • trunk/MagicSoft/Mars/mimage/MHillas.h

    r7224 r8911  
    4343    Float_t  GetMeanX() const  { return fMeanX; }
    4444    Float_t  GetMeanY() const  { return fMeanY; }
    45     Double_t GetDist0() const  { return TMath::Hypot(fMeanX, fMeanY); } // return distance to center
     45    Double_t GetDist0() const;
    4646
    4747    TVector2 GetMean() const;
Note: See TracChangeset for help on using the changeset viewer.