- Timestamp:
- 04/08/04 17:58:54 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindPix.cc
r3672 r3678 53 53 ///////////////////////////////////////////////////////////////////////////// 54 54 #include "MCalibrationChargeBlindPix.h" 55 #include "MCalibrationCam.h" 55 56 56 57 #include <TH1.h> … … 184 185 // -------------------------------------------------------------------------- 185 186 // 187 // Return -1 if fFluxInsidePlexiglassVar is smaller than 0. 188 // Return -1 if fFluxInsidePlexiglass is 0. 189 // Return fFluxInsidePlexiglassVar / fFluxInsidePlexiglass^2 190 // 191 Float_t MCalibrationChargeBlindPix::GetFluxInsidePlexiglassRelVar() const 192 { 193 if (fFluxInsidePlexiglassVar < 0.) 194 return -1.; 195 196 if (fFluxInsidePlexiglass == 0.) 197 return -1.; 198 199 return fFluxInsidePlexiglassVar / (fFluxInsidePlexiglass * fFluxInsidePlexiglass) ; 200 } 201 202 // -------------------------------------------------------------------------- 203 // 186 204 // Return -1 if fLambdaVar is smaller than 0. 187 205 // Return square root of fLambdaVar … … 279 297 return gkBlindPixelQECT1Err * gkBlindPixelQECT1Err / gkBlindPixelQECT1 / gkBlindPixelQECT1 ; 280 298 } 281 282 299 283 300 // -------------------------------------------------------------------------- … … 355 372 switch (fColor) 356 373 { 357 case kGREEN:374 case MCalibrationCam::kGREEN: 358 375 fFluxInsidePlexiglass = fLambda * gkBlindPixelQEGreen * TMath::Power(10,gkBlindPixelAttGreen); 359 376 // attenuation has negligible error 360 377 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEGreenRelVar(); 361 378 break; 362 case kBLUE:379 case MCalibrationCam::kBLUE: 363 380 fFluxInsidePlexiglass = fLambda * gkBlindPixelQEBlue * TMath::Power(10,gkBlindPixelAttBlue); 364 381 // attenuation has negligible error 365 382 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEBlueRelVar(); 366 383 break; 367 case kUV:384 case MCalibrationCam::kUV: 368 385 fFluxInsidePlexiglass = fLambda * gkBlindPixelQEUV * TMath::Power(10,gkBlindPixelAttUV); 369 386 // attenuation has negligible error 370 387 fFluxInsidePlexiglassVar = GetLambdaRelVar() + GetBlindPixelQEUVRelVar(); 371 388 break; 372 case kCT1:389 case MCalibrationCam::kCT1: 373 390 default: 374 391 fFluxInsidePlexiglass = fLambda * gkBlindPixelQECT1 * TMath::Power(10,gkBlindPixelAttCT1);
Note:
See TracChangeset
for help on using the changeset viewer.