Changeset 3189 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 02/16/04 13:47:10 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
r3180 r3189 682 682 683 683 if (TESTBIT(fFlags,kUseBlindPixelFit) && fCalibrations->IsBlindPixelMethodValid()) 684 684 { 685 685 if (!fCalibrations->CalcFluxInsidePlexiglass()) 686 { 687 *fLog << err 688 << "Could not calculate the number of photons from the blind pixel " << endl; 689 *fLog << err 690 << "You can try to calibrate using the MCalibrationCalc::SkipBlindPixelFit()" << endl; 686 { 687 *fLog << warn << "Could not calculate the number of photons from the blind pixel " << endl; 688 *fLog << "You can try to calibrate using the MCalibrationCalc::SkipBlindPixelFit()" << endl; 691 689 fCalibrations->SetBlindPixelMethodValid(kFALSE); 692 693 690 } 691 } 694 692 else 695 693 *fLog << inf << GetDescriptor() << ": Skipping Blind Pixel Calibration! " << endl; … … 697 695 698 696 if (fCalibrations->IsPINDiodeMethodValid()) 699 697 { 700 698 if (!fCalibrations->CalcFluxOutsidePlexiglass()) 701 { 702 *fLog << err 703 << "Could not calculate the number of photons from the PIN Diode " << endl; 699 { 700 *fLog << warn << "Could not calculate the number of photons from the PIN Diode " << endl; 704 701 fCalibrations->SetPINDiodeMethodValid(kFALSE); 705 706 702 } 703 } 707 704 else 708 *fLog << inf << GetDescriptor() << ": Skipping PIN Diode Calibration! " << endl;705 *fLog << inf << GetDescriptor() << ": Skipping PIN Diode Calibration! " << endl; 709 706 710 707 fCalibrations->SetReadyToSave(); … … 734 731 735 732 if (sat) 736 733 { 737 734 *fLog << err << "HI Gain Saturation occurred in the blind pixel! " 738 735 << " Do not know yet how to treat this ... aborting " << endl; 739 *fLog << err << "If you need absolutely any other kind of calibration, "736 *fLog << "If you need absolutely any other kind of calibration, " 740 737 << " use SkipBlindPixelFit() " << endl; 741 738 return kFALSE; 742 739 } 743 740 744 741 signal = (Float_t)sum; -
trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.cc
r3186 r3189 687 687 { 688 688 689 *fLog << err<< "min: " << min << endl;690 *fLog << err << "max: " << max << endl;689 *fLog << inf << "min: " << min << endl; 690 *fLog << "max: " << max << endl; 691 691 692 692 // … … 743 743 const Double_t electronicAmp_limit = fgBlindPixelElectronicAmpError; 744 744 745 *fLog << err<< "pedestal: " << fMeanPedestal << endl;746 *fLog << err << "sigma: " << fSigmaPedestal << endl;745 *fLog << inf << "pedestal: " << fMeanPedestal << endl; 746 *fLog << "sigma: " << fSigmaPedestal << endl; 747 747 748 748 // … … 923 923 924 924 *fLog << inf << "Results of the Blind Pixel Fit: " << endl; 925 *fLog << inf <<"Chisquare: " << fChisquare << endl;926 *fLog << inf <<"DoF: " << fNdf << endl;927 *fLog << inf <<"Probability: " << fProb << endl;925 *fLog << "Chisquare: " << fChisquare << endl; 926 *fLog << "DoF: " << fNdf << endl; 927 *fLog << "Probability: " << fProb << endl; 928 928 929 929 // … … 1001 1001 1002 1002 *fLog << inf << "Results of the Times Fit: " << endl; 1003 *fLog << inf <<"Chisquare: " << fTimeGausFit->GetChisquare() << endl;1004 *fLog << inf <<"Ndf: " << fTimeGausFit->GetNDF() << endl;1003 *fLog << "Chisquare: " << fTimeGausFit->GetChisquare() << endl; 1004 *fLog << "Ndf: " << fTimeGausFit->GetNDF() << endl; 1005 1005 1006 1006 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.