Changeset 7217 for trunk/MagicSoft/Mars/mastro/MAstroSky2Local.cc
- Timestamp:
- 07/25/05 10:35:31 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstroSky2Local.cc
r3568 r7217 129 129 // seen with an Alt/Az telescope. 130 130 // 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 // 131 135 // For more information see MAstro::RotationAngle 132 136 // 133 Double_t MAstroSky2Local::RotationAngle(Double_t ra, Double_t dec ) const137 Double_t MAstroSky2Local::RotationAngle(Double_t ra, Double_t dec, Double_t dzd, Double_t daz) const 134 138 { 135 139 TVector3 v; … … 137 141 v *= *this; 138 142 139 return MAstro::RotationAngle(ZZ(), XZ(), v.Theta() , v.Phi());143 return MAstro::RotationAngle(ZZ(), XZ(), v.Theta()-dzd, v.Phi()-daz); 140 144 }
Note:
See TracChangeset
for help on using the changeset viewer.