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

Legend:

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

    r1218 r1353  
    281281    // -------------------------------------------------------------------
    282282    //
    283     const float d = corryy - corrxx;
    284 
    285     fDelta = atan2(d + sqrt(d*d + corrxy*corrxy*4), corrxy*2);
     283    const float d = (corryy - corrxx)/(corrxy*2);
     284
     285    fDelta = atan(d + sqrt(d*d + 1));
    286286
    287287    fCosDelta = cos(fDelta);   // need these in derived classes
Note: See TracChangeset for help on using the changeset viewer.