Changeset 3451 for trunk/MagicSoft/Mars
- Timestamp:
- 03/09/04 19:59:31 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc
r3446 r3451 440 440 pix.CheckTimeValidity(&bad); 441 441 442 if ( !bad.IsCalibrationSignalOK())442 if (bad.IsUnsuitableRun()) 443 443 continue; 444 444 … … 446 446 447 447 if (!pix.CalcReducedSigma()) 448 { 449 bad.SetUnsuitableRun(); 448 450 continue; 449 451 } 452 450 453 pix.CalcFFactorMethod(); 451 452 454 } 453 455 … … 459 461 if (nvalid == 0) 460 462 { 461 *fLog << err << GetDescriptor() << ": Dear Michele! All pixels have non-valid calibration. " 462 << "Did you forget to fill the histograms (filling MHCalibrationChargeCam from MExtractedSignalCam using MFillH) ? " << endl; 463 *fLog << err << GetDescriptor() << ": All pixels have non-valid calibration. " 464 << "Did you forget to fill the histograms " 465 << "(filling MHCalibrationChargeCam from MExtractedSignalCam using MFillH) ? " << endl; 466 *fLog << err << GetDescriptor() << ": Or, maybe, you have used a pedestal run " 467 << "instead of a calibration run " << endl; 463 468 return kFALSE; 464 469 } … … 519 524 if (!fBlindPixel->CheckChargeFitValidity()) 520 525 { 521 *fLog << warn << "Could not calculate the flux of photons from the PIN Diode, charge fit not valid " << endl; 526 *fLog << warn << "Could not calculate the flux of photons from the Blind Pixel, " 527 << "charge fit not valid " << endl; 522 528 fCam->SetBlindPixelMethodValid(kFALSE); 523 529 } … … 526 532 if (!fBlindPixel->CalcFluxInsidePlexiglass()) 527 533 { 528 *fLog << warn << "Could not calculate the flux of photons from the PIN Diode, will skip PIN Diode Calibration " << endl; 534 *fLog << warn << "Could not calculate the flux of photons from the Blind Pixel, " 535 << "will skip PIN Diode Calibration " << endl; 529 536 fCam->SetBlindPixelMethodValid(kFALSE); 530 537 } … … 538 545 if (!fPINDiode->CheckChargeFitValidity() || !fPINDiode->CheckTimeFitValidity()) 539 546 { 540 *fLog << warn << "Could not calculate the flux of photons from the PIN Diode, charge fit not valid " << endl; 547 *fLog << warn << "Could not calculate the flux of photons from the PIN Diode, " 548 << "charge fit not valid " << endl; 541 549 fCam->SetPINDiodeMethodValid(kFALSE); 542 550 } … … 545 553 if (!fPINDiode->CalcFluxOutsidePlexiglass()) 546 554 { 547 *fLog << warn << "Could not calculate the flux of photons from the PIN Diode, will skip PIN Diode Calibration " << endl; 555 *fLog << warn << "Could not calculate the flux of photons from the PIN Diode, " 556 << "will skip PIN Diode Calibration " << endl; 548 557 fCam->SetPINDiodeMethodValid(kFALSE); 549 558 }
Note:
See TracChangeset
for help on using the changeset viewer.