Changeset 3681


Ignore:
Timestamp:
04/08/04 19:30:39 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3678 r3681  
    3737     - full implementation of the QE-calibration from MCalibrationQEPix
    3838
     39   * msignal/MExtractBlindPixel.cc
     40     - removed warning about low-gain saturation of Blind pixel
    3941
    4042 2004/04/07: Markus Gaug
  • trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCalc.cc

    r3679 r3681  
    10311031        }
    10321032     
    1033       const Float_t photons    = avphotonflux / fGeom->GetPixRatio(i);
    1034       const Float_t conv       = photons      / pix.GetPheFFactorMethod();
     1033      const Float_t photons = avphotonflux / fGeom->GetPixRatio(i);
     1034      const Float_t qe      = pix.GetPheFFactorMethod() / photons ;
    10351035
    10361036      if (!pix.CalcMeanFFactor( photons , avfluxrelvar ))
     
    10411041        }
    10421042
    1043       const Float_t convrelvar = avfluxrelvar +  pix.GetPheFFactorMethodRelVar();
    1044 
    1045       qepix.SetQEFFactor    ( conv                    , fPulserColor );
    1046       qepix.SetQEFFactorVar ( convrelvar * conv * conv, fPulserColor );     
     1043      const Float_t qerelvar = avfluxrelvar +  pix.GetPheFFactorMethodRelVar();
     1044
     1045      qepix.SetQEFFactor    ( qe            , fPulserColor );
     1046      qepix.SetQEFFactorVar ( qerelvar*qe*qe, fPulserColor );     
    10471047      qepix.UpdateFFactorMethod();
    10481048    }
  • trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.cc

    r3678 r3681  
    3030// Storage container for the calibrated Quantum Efficiency of the whole camera.
    3131//
     32// For a complete description of the quantum efficiency calibration process,
     33// see MCalibrationQEPix.
     34//
    3235// Individual pixels have to be cast when retrieved e.g.:
    3336// MCalibrationQEPix &avpix = (MCalibrationQEPix&)(*fQECam)[i]
    3437//
    35 // The following "calibration" constants can be retrieved from each pixel:
    36 // - GetQE   ( const PulserColor_t color ): The mean quantum
    37 //   efficiency obtained with the calibration pulser color (e.g. kGREEN, kBLUE, kUV)
    38 // - GetQEErr( const PulserColor_t color ): The uncertainty
    39 //   of the mean quantum efficiency.
    40 //
    4138// Averaged values over one whole area index (e.g. inner or outer pixels for
    4239// the MAGIC camera), can be retrieved via:
    43 // MCalibrationRelTimePix &avpix = (MCalibrationRelTimePix&)fRelCam->GetAverageArea(i)
     40// MCalibrationQEPix &avpix = (MCalibrationQEPix&)fRelCam->GetAverageArea(i)
    4441//
    4542// Averaged values over one whole camera sector can be retrieved via:
    46 // MCalibrationRelTimePix &avpix = (MCalibrationRelTimePix&)fRelCam->GetAverageSector(i)
    47 //
    48 // Note the averageing has been done at the end of the calculation and NOT on an
    49 // event-by-event basis (like in other classes deriving from MCalibrationCam).
    50 //
    51 // See also: MHCalibrationChargePix, MHCalibrationChargeCam, MCalibrationChargeCalc
     43// MCalibrationQEPix &avpix = (MCalibrationQEPix&)fRelCam->GetAverageSector(i)
     44//
     45// The following "calibration" constants can be retrieved from each pixel:
     46// - GetQEBlindPixel ( const PulserColor_t color ): The mean quantum
     47//   efficiency obtained with the calibration pulser color (e.g. kGREEN, kBLUE, kUV)
     48//   after the Blind Pixel Method
     49// - GetQEFFactor ( const PulserColor_t color ): The mean quantum
     50//   efficiency obtained with the calibration pulser color (e.g. kGREEN, kBLUE, kUV)
     51//   after the F-Factor Method
     52// - GetQEPINDiode ( const PulserColor_t color ): The mean quantum
     53//   efficiency obtained with the calibration pulser color (e.g. kGREEN, kBLUE, kUV)
     54//   after the PIN Diode Method
     55// - GetQECombined ( const PulserColor_t color ): The mean quantum
     56//   efficiency obtained with the calibration pulser color (e.g. kGREEN, kBLUE, kUV)
     57//   after the combination of the three methods
     58//
     59// See also: MCalibrationQEPix, MCalibrationChargeCam, MCalibrationChargeCalc
     60//           MCalibrationChargeBlindPix, MCalibrationChargePINDiode, MCalibrationChargePix
     61//
    5262//                                                                         
    5363// The calculated values (types of GetPixelContent) are:
     
    375385    {
    376386    case 0:
    377       val = pix.GetQEBlindPixel(kCT1);
     387      val = pix.GetQECascadesFFactor();
    378388      break;
    379389    case 1:
    380       val = pix.GetQEBlindPixelErr(kCT1);
     390      val = pix.GetQECascadesFFactorErr();
    381391      break;
    382392    case 2:
    383       val = pix.GetQEBlindPixel(kGREEN);
     393      val = pix.GetQECascadesBlindPixel();
    384394      break;
    385395    case 3:
    386       val = pix.GetQEBlindPixelErr(kGREEN);
     396      val = pix.GetQECascadesBlindPixelErr();
    387397      break;
    388398    case 4:
    389       val = pix.GetQEBlindPixel(kBLUE);
     399      val = pix.GetQECascadesPINDiode();
    390400      break;
    391401    case 5:
    392       val = pix.GetQEBlindPixelErr(kBLUE);
     402      val = pix.GetQECascadesPINDiodeErr();
    393403      break;
    394404    case 6:
    395       val = pix.GetQEBlindPixel(kUV);
     405      val = pix.GetQECascadesCombined();
    396406      break;
    397407    case 7:
    398       val = pix.GetQEBlindPixelErr(kUV);
     408      val = pix.GetQECascadesCombinedErr();
     409      break;
     410    case 8:
     411      val = pix.GetQEFFactor(kCT1);
     412      break;
     413    case 9:
     414      val = pix.GetQEFFactorErr(kCT1);
     415      break;
     416    case 10:
     417      val = pix.GetQEFFactor(kGREEN);
     418      break;
     419    case 11:
     420      val = pix.GetQEFFactorErr(kGREEN);
     421      break;
     422    case 12:
     423      val = pix.GetQEFFactor(kBLUE);
     424      break;
     425    case 13:
     426      val = pix.GetQEFFactorErr(kBLUE);
     427      break;
     428    case 14:
     429      val = pix.GetQEFFactor(kUV);
     430      break;
     431    case 15:
     432      val = pix.GetQEFFactorErr(kUV);
    399433      break;
    400434    default:
  • trunk/MagicSoft/Mars/msignal/MExtractBlindPixel.cc

    r3322 r3681  
    184184    fBlindPixel->SetExtractedSignal(sum);
    185185    fBlindPixel->SetNumSaturated(sat);
    186 
    187     if (sat)
    188       *fLog << warn << "WARNING - saturation occurred in the Blind Pixel " << endl;
    189 
    190 
    191186    fBlindPixel->SetReadyToSave();
    192187
Note: See TracChangeset for help on using the changeset viewer.