Ignore:
Timestamp:
03/18/04 13:45:41 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpointing
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MPointingPos.h

    r2601 r3544  
    1212    Double_t fAz;  // [deg] Azimuth
    1313
    14     Double_t fRa;  // [deg] Right ascension
    15     Double_t fHa;  // [deg] Houre angle
    16     Double_t fDec; // [deg] Declination
     14    Double_t fRa;  // [rad] Right ascension
     15    Double_t fHa;  // [rad] Hour angle
     16    Double_t fDec; // [rad] Declination
    1717
    1818public:
     
    2626    void SetSkyPosition(Double_t ra, Double_t dec, Double_t ha=0) { fRa=ra; fDec=dec; fHa=ha; }
    2727
    28     Double_t GetZd() const { return fZd; }
    29     Double_t GetAz() const { return fAz; }
     28    Double_t GetZd() const  { return fZd; }
     29    Double_t GetAz() const  { return fAz; }
     30
     31    Double_t GetRa() const  { return fRa; }
     32    Double_t GetDec() const { return fDec; }
    3033
    3134    ClassDef(MPointingPos, 1) //Container storing the (corrected) telescope pointing position
  • trunk/MagicSoft/Mars/mpointing/MPointingPosCalc.cc

    r3374 r3544  
    134134    case MRawRunHeader::kRTData:
    135135        fPosition->SetLocalPosition(fReport->GetNominalZd(), fReport->GetNominalAz());
     136        fPosition->SetSkyPosition(fReport->GetRa()*TMath::DegToRad()/15, fReport->GetDec()*TMath::DegToRad());
    136137        return kTRUE;
    137138
Note: See TracChangeset for help on using the changeset viewer.