- Timestamp:
- 10/29/08 11:41:41 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9144 r9145 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2008/10/29 Thomas Bretz 22 23 * mpointing/MSrcPosCalc.cc: 24 - return kERROR instead of kFALSE if source position is too far 25 away from the camera center 26 - DeltaPhi replaced by Angle to take declination into account 27 28 20 29 21 30 2008/10/23 Daniel Hoehne-Moench -
trunk/MagicSoft/Mars/NEWS
r9143 r9145 44 44 quite weak. Now sum events pass the calculation if and only if they 45 45 have also a level 1 trigger. 46 47 ;ganymed 48 49 * If the source position is more than 1deg away from the camera 50 center an error is raised now. 46 51 47 52 -
trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.cc
r9070 r9145 439 439 // source position given by the user. (Checking every individual 440 440 // event is not the fastest, but the safest) 441 if (pos.DeltaPhi(pos0)*TMath::RadToDeg()>1) 442 { 443 *fLog << err << "ERROR - Defined source position deviates from pointing-ra/dec by more than 1deg!" << endl; 441 if (pos.Angle(pos0)*TMath::RadToDeg()>1) 442 { 443 *fLog << err << "ERROR - Defined source position deviates from pointing-ra/dec by more than 1deg ("; 444 *fLog << pos.Angle(pos0) << ")!" << endl; 444 445 *fLog << "User defined source pos: "; 445 446 fSourcePos->Print(); … … 447 448 fPointPos->Print(); 448 449 449 return k FALSE;450 return kERROR; 450 451 } 451 452
Note:
See TracChangeset
for help on using the changeset viewer.