Changeset 10025 for trunk


Ignore:
Timestamp:
10/21/10 11:25:16 (14 years ago)
Author:
tbretz
Message:
Increased the valid range for cos^2+sin^2 in MMoonPointing
Location:
trunk/Cosy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosy/Changelog

    r10024 r10025  
    2626       Thread fails
    2727
     28   * main/MMonnPointing.cc:
     29     - increased the valid range for cos^2+sin^2
    2830
    2931
  • trunk/Cosy/main/MMoonPointing.cc

    r10008 r10025  
    140140    // This is a sanity check for the case the Interpolation failed
    141141    const Double_t norm = TMath::Hypot(fcos, fsin);
    142     if (TMath::Abs(norm-1)>0.001)
     142    if (norm<0.996 || norm>1.001)
    143143    {
    144144        gLog << warn << "WARNING - Local moon position Zd/Az=";
Note: See TracChangeset for help on using the changeset viewer.