Changeset 5156 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 10/01/04 16:41:51 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r5133 r5156 1 1 2 /* ======================================================================== *\ 2 3 ! … … 955 956 if (cal.GetMean() < fChargeLimit*cal.GetPedRms()) 956 957 { 957 *fLog << warn << GetDescriptor()958 << Form(" : Fitted Charge: %5.2f is smaller than%2.1f",cal.GetMean(),fChargeLimit)959 << Form(" Pedestal RMS: %5.2f in %s%4i",cal.GetPedRms(),what,cal.GetPixId()) << endl;958 *fLog << warn 959 << Form("Fitted Charge: %5.2f < %2.1f",cal.GetMean(),fChargeLimit) 960 << Form(" * Pedestal RMS %5.2f in %s%3i",cal.GetPedRms(),what,cal.GetPixId()) << endl; 960 961 bad.SetUncalibrated( MBadPixelsPix::kChargeIsPedestal); 961 962 } … … 963 964 if (cal.GetMean() < fChargeRelErrLimit*cal.GetMeanErr()) 964 965 { 965 *fLog << warn << GetDescriptor()966 << Form(" : Fitted Charge: %4.2f is smaller than %2.1f",cal.GetMean(),fChargeRelErrLimit)967 << Form(" times its error: %4.2f in %s%4i",cal.GetMeanErr(),what,cal.GetPixId()) << endl;966 *fLog << warn 967 << Form("Fitted Charge: %4.2f < %2.1f",cal.GetMean(),fChargeRelErrLimit) 968 << Form(" * its error %4.2f in %s%3i",cal.GetMeanErr(),what,cal.GetPixId()) << endl; 968 969 bad.SetUncalibrated( MBadPixelsPix::kChargeRelErrNotValid ); 969 970 } … … 971 972 if (cal.GetSigma() < cal.GetPedRms()) 972 973 { 973 *fLog << warn << GetDescriptor()974 << Form(" : Sigma of Fitted Charge: %6.2f is smaller than",cal.GetSigma())975 << Form(" Ped. RMS : %5.2f in %s%4i",cal.GetPedRms(),what,cal.GetPixId()) << endl;974 *fLog << warn 975 << Form("Sigma of Fitted Charge: %6.2f <",cal.GetSigma()) 976 << Form(" Ped. RMS=%5.2f in %s%3i",cal.GetPedRms(),what,cal.GetPixId()) << endl; 976 977 bad.SetUncalibrated( MBadPixelsPix::kChargeSigmaNotValid ); 977 978 return kFALSE; … … 980 981 if (!cal.CalcReducedSigma()) 981 982 { 982 *fLog << warn << GetDescriptor()983 << Form(" :Could not calculate the reduced sigma in %s: ",what)983 *fLog << warn 984 << Form("Could not calculate the reduced sigma in %s: ",what) 984 985 << Form(" %4i",cal.GetPixId()) 985 986 << endl; … … 990 991 if (!cal.CalcFFactor()) 991 992 { 992 *fLog << warn << GetDescriptor()993 << Form(" :Could not calculate the F-Factor in %s: ",what)993 *fLog << warn 994 << Form("Could not calculate the F-Factor in %s: ",what) 994 995 << Form(" %4i",cal.GetPixId()) 995 996 << endl; … … 1000 1001 if (!cal.CalcConvFFactor()) 1001 1002 { 1002 *fLog << warn << GetDescriptor()1003 << Form(" :Could not calculate the Conv. FADC counts to Phes in %s: ",what)1003 *fLog << warn 1004 << Form("Could not calculate the Conv. FADC counts to Phes in %s: ",what) 1004 1005 << Form(" %4i",cal.GetPixId()) 1005 1006 << endl; -
trunk/MagicSoft/Mars/mcalib/MCalibrationRelTimeCalc.cc
r5134 r5156 418 418 if ( res < lowlim[aidx] || res > upplim[aidx] ) 419 419 { 420 *fLog << warn << GetDescriptor() << ": Deviating time resolution: "421 << Form("%4.2f",res) << " out of accepted limits : ["422 << Form("%4.2f %s%4.2f",lowlim[aidx],",",upplim[aidx]) << "] in pixel " << i << endl;420 *fLog << warn << "Deviating time resolution: " 421 << Form("%4.2f",res) << " out of accepted limits [" 422 << Form("%4.2f,%4.2f",lowlim[aidx],upplim[aidx]) << "] in pixel " << i << endl; 423 423 bad.SetUncalibrated( MBadPixelsPix::kDeviatingTimeResolution); 424 424 pix.SetExcluded();
Note:
See TracChangeset
for help on using the changeset viewer.