Changeset 9884
- Timestamp:
- 08/19/10 22:48:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosy/main/MMoonPointing.cc
r9561 r9884 138 138 // This is a sanity check for the case the Interpolation failed 139 139 const Double_t norm = TMath::Hypot(fcos, fsin); 140 if (TMath::Abs(norm-1) <0.001)140 if (TMath::Abs(norm-1)>0.001) 141 141 { 142 142 gLog << warn << "WARNING - Local moon position Zd/Az="; 143 143 gLog << moon.Zd()*TMath::RadToDeg() << "/" << moon.Az()*TMath::RadToDeg(); 144 144 gLog << " out of range of table for interpolation." << endl; 145 gLog << " fcos=" << fcos << endl; 146 gLog << " fsin=" << fsin << endl; 147 gLog << " norm=" << norm << endl; 145 148 return kFALSE; 146 149 }
Note:
See TracChangeset
for help on using the changeset viewer.