Changeset 3451 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
03/09/04 19:59:31 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc

    r3446 r3451  
    440440      pix.CheckTimeValidity(&bad);
    441441     
    442       if (!bad.IsCalibrationSignalOK())
     442      if (bad.IsUnsuitableRun())
    443443        continue;
    444444
     
    446446
    447447      if (!pix.CalcReducedSigma())
     448        {
     449          bad.SetUnsuitableRun();
    448450          continue;
    449 
     451        }
     452     
    450453      pix.CalcFFactorMethod();
    451 
    452454    }
    453455
     
    459461  if (nvalid == 0)
    460462  {
    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;
    463468    return kFALSE;
    464469  }
     
    519524  if (!fBlindPixel->CheckChargeFitValidity())
    520525  {
    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;
    522528      fCam->SetBlindPixelMethodValid(kFALSE);
    523529  }
     
    526532      if (!fBlindPixel->CalcFluxInsidePlexiglass())
    527533      {
    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;
    529536          fCam->SetBlindPixelMethodValid(kFALSE);
    530537      }
     
    538545  if (!fPINDiode->CheckChargeFitValidity() || !fPINDiode->CheckTimeFitValidity())
    539546  {
    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;
    541549      fCam->SetPINDiodeMethodValid(kFALSE);
    542550  }
     
    545553      if (!fPINDiode->CalcFluxOutsidePlexiglass())
    546554      {
    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;
    548557          fCam->SetPINDiodeMethodValid(kFALSE);
    549558      }
Note: See TracChangeset for help on using the changeset viewer.