Changeset 4203


Ignore:
Timestamp:
05/26/04 19:29:12 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

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

    r4199 r4203  
    376376    {
    377377    case MCalibrationCam::kGREEN:
    378       fFluxInsidePlexiglass    = fLambda * gkBlindPixelQEGreen * TMath::Power(10,gkBlindPixelAttGreen);   
     378      fFluxInsidePlexiglass    = fLambda / gkBlindPixelQEGreen * TMath::Power(10,gkBlindPixelAttGreen);   
    379379      // attenuation has negligible error
    380380      fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEGreenRelVar();
    381381      break;
    382382    case MCalibrationCam::kBLUE:
    383       fFluxInsidePlexiglass    = fLambda * gkBlindPixelQEBlue * TMath::Power(10,gkBlindPixelAttBlue);   
     383      fFluxInsidePlexiglass    = fLambda / gkBlindPixelQEBlue * TMath::Power(10,gkBlindPixelAttBlue);   
    384384      // attenuation has negligible error
    385385      fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEBlueRelVar();
    386386      break;
    387387    case MCalibrationCam::kUV:
    388       fFluxInsidePlexiglass    = fLambda * gkBlindPixelQEUV * TMath::Power(10,gkBlindPixelAttUV);   
     388      fFluxInsidePlexiglass    = fLambda / gkBlindPixelQEUV * TMath::Power(10,gkBlindPixelAttUV);   
    389389      // attenuation has negligible error
    390390      fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEUVRelVar();
     
    392392    case MCalibrationCam::kCT1:
    393393    default:
    394       fFluxInsidePlexiglass    = fLambda * gkBlindPixelQECT1 * TMath::Power(10,gkBlindPixelAttCT1);   
     394      fFluxInsidePlexiglass    = fLambda / gkBlindPixelQECT1 * TMath::Power(10,gkBlindPixelAttCT1);   
    395395      // attenuation has negligible error
    396396      fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQECT1RelVar();
     
    398398    }
    399399
     400  fFluxInsidePlexiglass    /= gkBlindPixelArea;
     401
    400402  //
    401403  // Finish calculation of errors -> convert from relative variance to absolute variance
  • trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.cc

    r4201 r4203  
    238238    {
    239239    case 0:
     240      if (!pix.IsAverageQEFFactorAvailable())
    240241      val = pix.GetQECascadesFFactor();
    241242      break;
    242243    case 1:
     244      if (!pix.IsAverageQEFFactorAvailable())
    243245      val = pix.GetQECascadesFFactorErr();
    244246      break;
Note: See TracChangeset for help on using the changeset viewer.