Changeset 3587 for trunk/MagicSoft/Mars/mastro/MAstro.cc
- Timestamp:
- 03/23/04 11:17:33 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mastro/MAstro.cc
r3568 r3587 359 359 const Double_t denom = TMath::Sqrt(v1*v1 + v2*v2); 360 360 361 cos = -cosl*sinp / denom;362 sin = (snlt-cslt*cosp) / denom;361 sin = cosl*sinp / denom; // y-component 362 cos = (snlt-cslt*cosp) / denom; // x-component 363 363 } 364 364 … … 403 403 const Double_t cosp = TMath::Cos(phi); 404 404 405 return TMath::ATan2( -cosl*sinp, snlt-cslt*cosp);406 } 405 return TMath::ATan2(cosl*sinp, snlt-cslt*cosp); 406 }
Note:
See TracChangeset
for help on using the changeset viewer.