Ignore:
Timestamp:
07/25/05 10:35:31 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mastro/MAstroSky2Local.cc

    r3568 r7217  
    129129// seen with an Alt/Az telescope.
    130130//
     131// dzd and daz is a pointing offset, which is subtracted from the
     132// calculated local coordinates correspoding to time, observatory
     133// and ra/dec.
     134//
    131135// For more information see MAstro::RotationAngle
    132136//
    133 Double_t MAstroSky2Local::RotationAngle(Double_t ra, Double_t dec) const
     137Double_t MAstroSky2Local::RotationAngle(Double_t ra, Double_t dec, Double_t dzd, Double_t daz) const
    134138{
    135139    TVector3 v;
     
    137141    v *= *this;
    138142
    139     return MAstro::RotationAngle(ZZ(), XZ(), v.Theta(), v.Phi());
     143    return MAstro::RotationAngle(ZZ(), XZ(), v.Theta()-dzd, v.Phi()-daz);
    140144}
Note: See TracChangeset for help on using the changeset viewer.