Ignore:
Timestamp:
06/02/08 10:43:07 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpointing
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MPointingDev.cc

    r8911 r8912  
    3232#include "MPointingDev.h"
    3333
     34#include <TMath.h>
     35
    3436ClassImp(MPointingDev);
    3537
  • trunk/MagicSoft/Mars/mpointing/MPointingDev.h

    r8725 r8912  
    3737    TVector2 GetDevXY() const { return TVector2(fDevX, fDevY); }
    3838
    39     Double_t GetDevZdRad() const  { return fDevZd*TMath::DegToRad(); }
    40     Double_t GetDevAzRad() const  { return fDevAz*TMath::DegToRad(); }
     39    Double_t GetDevZdRad() const;//  { return fDevZd*TMath::DegToRad(); }
     40    Double_t GetDevAzRad() const;//  { return fDevAz*TMath::DegToRad(); }
    4141
    4242    ClassDef(MPointingDev, 1) //Container storing the telescope mispointing
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCam.cc

    r8801 r8912  
    115115// -----------------------------------------------------------------------
    116116//
     117//    return TMath::Hypot(fX, fY);
     118//
     119Float_t MSrcPosCam::GetDist() const
     120{
     121    return TMath::Hypot(fX, fY);
     122}
     123
     124// -----------------------------------------------------------------------
     125//
    117126// Get TVector2(fX, fY)
    118127//
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCam.h

    r8802 r8912  
    55#include "MParContainer.h"
    66#endif
     7
     8#include <TMath.h>
    79
    810class TVector2;
     
    2729    void Add(const TVector2 &v);
    2830
    29     Float_t GetDist() const { return TMath::Hypot(fX, fY); }
     31    Float_t GetDist() const;
    3032
    3133    Float_t GetX() const             { return fX; }
Note: See TracChangeset for help on using the changeset viewer.