Changeset 4203
- Timestamp:
- 05/26/04 19:29:12 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindPix.cc
r4199 r4203 376 376 { 377 377 case MCalibrationCam::kGREEN: 378 fFluxInsidePlexiglass = fLambda *gkBlindPixelQEGreen * TMath::Power(10,gkBlindPixelAttGreen);378 fFluxInsidePlexiglass = fLambda / gkBlindPixelQEGreen * TMath::Power(10,gkBlindPixelAttGreen); 379 379 // attenuation has negligible error 380 380 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEGreenRelVar(); 381 381 break; 382 382 case MCalibrationCam::kBLUE: 383 fFluxInsidePlexiglass = fLambda *gkBlindPixelQEBlue * TMath::Power(10,gkBlindPixelAttBlue);383 fFluxInsidePlexiglass = fLambda / gkBlindPixelQEBlue * TMath::Power(10,gkBlindPixelAttBlue); 384 384 // attenuation has negligible error 385 385 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEBlueRelVar(); 386 386 break; 387 387 case MCalibrationCam::kUV: 388 fFluxInsidePlexiglass = fLambda *gkBlindPixelQEUV * TMath::Power(10,gkBlindPixelAttUV);388 fFluxInsidePlexiglass = fLambda / gkBlindPixelQEUV * TMath::Power(10,gkBlindPixelAttUV); 389 389 // attenuation has negligible error 390 390 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEUVRelVar(); … … 392 392 case MCalibrationCam::kCT1: 393 393 default: 394 fFluxInsidePlexiglass = fLambda *gkBlindPixelQECT1 * TMath::Power(10,gkBlindPixelAttCT1);394 fFluxInsidePlexiglass = fLambda / gkBlindPixelQECT1 * TMath::Power(10,gkBlindPixelAttCT1); 395 395 // attenuation has negligible error 396 396 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQECT1RelVar(); … … 398 398 } 399 399 400 fFluxInsidePlexiglass /= gkBlindPixelArea; 401 400 402 // 401 403 // Finish calculation of errors -> convert from relative variance to absolute variance -
trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.cc
r4201 r4203 238 238 { 239 239 case 0: 240 if (!pix.IsAverageQEFFactorAvailable()) 240 241 val = pix.GetQECascadesFFactor(); 241 242 break; 242 243 case 1: 244 if (!pix.IsAverageQEFFactorAvailable()) 243 245 val = pix.GetQECascadesFFactorErr(); 244 246 break;
Note:
See TracChangeset
for help on using the changeset viewer.