Changeset 1350 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
06/06/02 08:45:07 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/manalysis/MHillasSrc.cc

    r1237 r1350  
    7575    fHeadTail = cd*sx + sd*sy;                     // [mm]
    7676    fDist     = sqrt(sx*sx + sy*sy);               // [mm]
    77     fAlpha    = atan2(cd*sy - sd*sx, fHeadTail);   // [rad]
     77    fAlpha    = atan((cd*sy - sd*sx)/fHeadTail);   // [rad]
    7878    fAlpha   *= kRad2Deg;                          // [deg]
    7979
Note: See TracChangeset for help on using the changeset viewer.