Ignore:
Timestamp:
03/23/04 11:17:33 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3568 r3587  
    359359    const Double_t denom = TMath::Sqrt(v1*v1 + v2*v2);
    360360
    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
    363363}
    364364
     
    403403    const Double_t cosp = TMath::Cos(phi);
    404404
    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.