Changeset 8013
- Timestamp:
- 10/07/06 15:15:18 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8011 r8013 52 52 * mbase/BaseLinkDef.h: 53 53 - added namespace MAGIC.cc 54 55 * mhcalib/MHGausEvent.cc: 56 - disallow also non finite results 54 57 55 58 -
trunk/MagicSoft/Mars/mhcalib/MHGausEvents.cc
r7188 r8013 754 754 fSigmaErr = fFGausFit->GetParError(2); 755 755 fProb = fFGausFit->GetProb(); 756 756 757 // 757 758 // The fit result is accepted under condition: 758 // 1) The results are not nan's 759 // 2) The NDF is not smaller than fNDFLimit (default: fgNDFLimit) 760 // 3) The Probability is greater than fProbLimit (default: fgProbLimit) 761 // 762 if ( TMath::IsNaN(fMean) 763 || TMath::IsNaN(fMeanErr) 764 || TMath::IsNaN(fProb) 765 || TMath::IsNaN(fSigma) 766 || TMath::IsNaN(fSigmaErr) 759 // 1) The results are not NaN's (not a number) 760 // 2) The results are all finite 761 // 3) The NDF is not smaller than fNDFLimit (default: fgNDFLimit) 762 // 4) The Probability is greater than fProbLimit (default: fgProbLimit) 763 // 764 if ( TMath::IsNaN(fMean) || !TMath::Finite(fMean) 765 || TMath::IsNaN(fMeanErr) || !TMath::Finite(fMeanErr) 766 || TMath::IsNaN(fProb) || !TMath::Finite(fProb) 767 || TMath::IsNaN(fSigma) || !TMath::Finite(fSigma) 768 || TMath::IsNaN(fSigmaErr) || !TMath::Finite(fSigmaErr) 767 769 || fFGausFit->GetNDF() < fNDFLimit 768 770 || fProb < fProbLimit ) 769 771 return kFALSE; 770 772 771 773 SetGausFitOK(kTRUE); 772 774 return kTRUE; -
trunk/MagicSoft/Mars/sponde.cc
r7432 r8013 30 30 gLog << " Sponde - MARS V" << MARSVER << endl; 31 31 gLog << " MARS -- SPectrum ON DEmand" << endl; 32 gLog << " Compiled with ROOT v" << ROOT VER<< " on <" << __DATE__ << ">" << endl;32 gLog << " Compiled with ROOT v" << ROOT_RELEASE << " on <" << __DATE__ << ">" << endl; 33 33 gLog << "========================================================" << endl; 34 34 gLog << endl; … … 88 88 int main(int argc, char **argv) 89 89 { 90 if (!MARS::CheckRootVer()) 91 return 0xff; 92 90 93 // 91 94 // Evaluate arguments
Note:
See TracChangeset
for help on using the changeset viewer.