Changeset 3544 for trunk/MagicSoft/Mars/mpointing
- Timestamp:
- 03/18/04 13:45:41 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mpointing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mpointing/MPointingPos.h
r2601 r3544 12 12 Double_t fAz; // [deg] Azimuth 13 13 14 Double_t fRa; // [ deg] Right ascension15 Double_t fHa; // [ deg] Houreangle16 Double_t fDec; // [ deg] Declination14 Double_t fRa; // [rad] Right ascension 15 Double_t fHa; // [rad] Hour angle 16 Double_t fDec; // [rad] Declination 17 17 18 18 public: … … 26 26 void SetSkyPosition(Double_t ra, Double_t dec, Double_t ha=0) { fRa=ra; fDec=dec; fHa=ha; } 27 27 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; } 30 33 31 34 ClassDef(MPointingPos, 1) //Container storing the (corrected) telescope pointing position -
trunk/MagicSoft/Mars/mpointing/MPointingPosCalc.cc
r3374 r3544 134 134 case MRawRunHeader::kRTData: 135 135 fPosition->SetLocalPosition(fReport->GetNominalZd(), fReport->GetNominalAz()); 136 fPosition->SetSkyPosition(fReport->GetRa()*TMath::DegToRad()/15, fReport->GetDec()*TMath::DegToRad()); 136 137 return kTRUE; 137 138
Note:
See TracChangeset
for help on using the changeset viewer.