Changeset 4229


Ignore:
Timestamp:
05/27/04 19:51:34 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r4227 r4229  
    8484const Float_t MCalibrationChargeBlindPix::gkBlindPixelQECoatedUVErr      = 0.07;
    8585const Float_t MCalibrationChargeBlindPix::gkBlindPixelQECoatedCT1Err     = 0.07;
     86const Float_t MCalibrationChargeBlindPix::gkBlindPixelCollectionEff      = 0.90;
     87const Float_t MCalibrationChargeBlindPix::gkBlindPixelCollectionEffErr   = 0.01;
    8688// --------------------------------------------------------------------------
    8789//
     
    483485         / gkBlindPixelQEUnCoatedCT1 / gkBlindPixelQEUnCoatedCT1 ;
    484486    }
     487}
     488
     489// --------------------------------------------------------------------------
     490//
     491// Return gkBlindPixelCollectionEffErr^2 / (gkBlindPixelCollectionEff^2 )
     492//
     493const Float_t MCalibrationChargeBlindPix::GetBlindPixelCollectionEffRelVar() const
     494{
     495
     496  return gkBlindPixelCollectionEffErr * gkBlindPixelCollectionEffErr
     497    / gkBlindPixelCollectionEff / gkBlindPixelCollectionEff ;
    485498}
    486499
     
    592605
    593606  fFluxInsidePlexiglass    /= gkBlindPixelArea;
    594 
     607  fFluxInsidePlexiglass    /= gkBlindPixelCollectionEff;
    595608  //
    596609  // Finish calculation of errors -> convert from relative variance to absolute variance
    597610  //
     611  fFluxInsidePlexiglassVar += GetBlindPixelCollectionEffRelVar();
    598612  fFluxInsidePlexiglassVar *= fFluxInsidePlexiglass * fFluxInsidePlexiglass;
    599613
Note: See TracChangeset for help on using the changeset viewer.