Changeset 3715 for trunk/MagicSoft/Mars
- Timestamp:
- 04/13/04 15:00:16 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationQECam.cc
r3691 r3715 71 71 // See also: MCalibrationQEPix, MCalibrationChargeCam, MCalibrationChargeCalc 72 72 // MCalibrationChargeBlindPix, MCalibrationChargePINDiode, MCalibrationChargePix 73 //74 //75 // The calculated values (types of GetPixelContent()) are:76 //77 //78 // Types used by MCalibrate and MCalibrateData:79 // ============================================80 //81 // 0: Mean Quantum Efficiency for cascades, obtained with the F-Factor method82 // 1: Error of the Mean QE for cascades, obtained with the F-Factor method83 // 2: Mean Quantum Efficiency for cascades, obtained with the Blind Pixel method84 // 3: Error of the Mean QE for cascades, obtained with the Blind Pixel method85 // 4: Mean Quantum Efficiency for cascades, obtained with the PIN Diode method86 // 5: Error of the Mean QE for cascades, obtained with the PIN Diode method87 // 6: Mean Quantum Efficiency for cascades, obtained with combination of the 3 methods88 // 7: Error of the Mean QE for cascades, obtained with combination of the 3 methods89 //90 // Types filled by MCalibrationChargeCalc in combination of MCalibrationChargePix:91 // ===============================================================================92 //93 // 8: Mean Quantum Efficiency obtained with F-Factor Method ( color: kCT1)94 // 9: Error of the Mean QE obtained with F-Factor Method ( color: kCT1)95 // 10: Mean Quantum Efficiency obtained with F-Factor Method ( color: kGREEN)96 // 11: Error of the Mean QE obtained with F-Factor Method ( color: kGREEN)97 // 12: Mean Quantum Efficiency obtained with F-Factor Method ( color: kBLUE)98 // 13: Error of the Mean QE obtained with F-Factor Method ( color: kBLUE)99 // 14: Mean Quantum Efficiency obtained with F-Factor Method ( color: kUV)100 // 15: Error of the Mean QE obtained with F-Factor Method ( color: kUV)101 //102 // Types filled by MCalibrationChargeCalc in combination of MCalibrationChargeBlindPix:103 // ====================================================================================104 //105 // 16: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kCT1)106 // 17: Error of the Mean QE obtained with Blind Pixel Method ( color: kCT1)107 // 18: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kGREEN)108 // 19: Error of the Mean QE obtained with Blind Pixel Method ( color: kGREEN)109 // 20: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kBLUE)110 // 21: Error of the Mean QE obtained with Blind Pixel Method ( color: kBLUE)111 // 22: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kUV)112 // 23: Error of the Mean QE obtained with Blind Pixel Method ( color: kUV)113 //114 // Types filled by MCalibrationChargeCalc in combination of MCalibrationChargePINDiode:115 // ====================================================================================116 //117 // 24: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kCT1)118 // 25: Error of the Mean QE obtained with PIN Diode Method ( color: kCT1)119 // 26: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kGREEN)120 // 27: Error of the Mean QE obtained with PIN Diode Method ( color: kGREEN)121 // 28: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kBLUE)122 // 29: Error of the Mean QE obtained with PIN Diode Method ( color: kBLUE)123 // 30: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kUV)124 // 31: Error of the Mean QE obtained with PIN Diode Method ( color: kUV)125 //126 // Types filled by MCalibrationChargeCalc in combination of MCalibrationQEPix:127 // ===========================================================================128 //129 // 24: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kCT1)130 // 25: Error of the Mean QE obtained with combination of 3 methods ( color: kCT1)131 // 26: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kGREEN)132 // 27: Error of the Mean QE obtained with combination of 3 methods ( color: kGREEN)133 // 28: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kBLUE)134 // 29: Error of the Mean QE obtained with combination of 3 methods ( color: kBLUE)135 // 30: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kUV)136 // 31: Error of the Mean QE obtained with combination of 3 methods ( color: kUV)137 73 // 138 74 ///////////////////////////////////////////////////////////////////////////// … … 235 171 // 6: Mean Quantum Efficiency for cascades, obtained with combination of the 3 methods 236 172 // 7: Error of the Mean QE for cascades, obtained with combination of the 3 methods 173 // 8: Availabiliy of Quantum Efficiency for cascades, F-Factor method 174 // 9: Availabiliy of Quantum Efficiency for cascades, F-Factor method 175 // 10: Availabiliy of Quantum Efficiency for cascades, F-Factor method 176 // 11: Availabiliy of Quantum Efficiency for cascades, F-Factor method 237 177 // 238 178 // Types filled by MCalibrationChargeCalc in combination of MCalibrationChargePix: 239 179 // =============================================================================== 240 180 // 241 // 8:Mean Quantum Efficiency obtained with F-Factor Method ( color: kCT1)242 // 9:Error of the Mean QE obtained with F-Factor Method ( color: kCT1)243 // 1 0: Mean Quantum Efficiency obtained with F-Factor Method ( color: kGREEN)244 // 1 1: Error of the Mean QE obtained with F-Factor Method ( color: kGREEN)245 // 1 2: Mean Quantum Efficiency obtained with F-Factor Method ( color: kBLUE)246 // 1 3: Error of the Mean QE obtained with F-Factor Method ( color: kBLUE)247 // 1 4: Mean Quantum Efficiency obtained with F-Factor Method ( color: kUV)248 // 1 5: Error of the Mean QE obtained with F-Factor Method ( color: kUV)181 // 12: Mean Quantum Efficiency obtained with F-Factor Method ( color: kCT1) 182 // 13: Error of the Mean QE obtained with F-Factor Method ( color: kCT1) 183 // 14: Mean Quantum Efficiency obtained with F-Factor Method ( color: kGREEN) 184 // 15: Error of the Mean QE obtained with F-Factor Method ( color: kGREEN) 185 // 16: Mean Quantum Efficiency obtained with F-Factor Method ( color: kBLUE) 186 // 17: Error of the Mean QE obtained with F-Factor Method ( color: kBLUE) 187 // 18: Mean Quantum Efficiency obtained with F-Factor Method ( color: kUV) 188 // 19: Error of the Mean QE obtained with F-Factor Method ( color: kUV) 249 189 // 250 190 // Types filled by MCalibrationChargeCalc in combination of MCalibrationChargeBlindPix: 251 191 // ==================================================================================== 252 192 // 253 // 16: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kCT1)254 // 17: Error of the Mean QE obtained with Blind Pixel Method ( color: kCT1)255 // 18: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kGREEN)256 // 19: Error of the Mean QE obtained with Blind Pixel Method ( color: kGREEN)257 // 2 0: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kBLUE)258 // 2 1: Error of the Mean QE obtained with Blind Pixel Method ( color: kBLUE)259 // 2 2: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kUV)260 // 2 3: Error of the Mean QE obtained with Blind Pixel Method ( color: kUV)193 // 20: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kCT1) 194 // 21: Error of the Mean QE obtained with Blind Pixel Method ( color: kCT1) 195 // 22: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kGREEN) 196 // 23: Error of the Mean QE obtained with Blind Pixel Method ( color: kGREEN) 197 // 24: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kBLUE) 198 // 25: Error of the Mean QE obtained with Blind Pixel Method ( color: kBLUE) 199 // 26: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kUV) 200 // 27: Error of the Mean QE obtained with Blind Pixel Method ( color: kUV) 261 201 // 262 202 // Types filled by MCalibrationChargeCalc in combination of MCalibrationChargePINDiode: 263 203 // ==================================================================================== 264 204 // 265 // 2 4: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kCT1)266 // 2 5: Error of the Mean QE obtained with PIN Diode Method ( color: kCT1)267 // 26: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kGREEN)268 // 27: Error of the Mean QE obtained with PIN Diode Method ( color: kGREEN)269 // 28: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kBLUE)270 // 29: Error of the Mean QE obtained with PIN Diode Method ( color: kBLUE)271 // 3 0: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kUV)272 // 3 1: Error of the Mean QE obtained with PIN Diode Method ( color: kUV)205 // 28: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kCT1) 206 // 29: Error of the Mean QE obtained with PIN Diode Method ( color: kCT1) 207 // 30: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kGREEN) 208 // 31: Error of the Mean QE obtained with PIN Diode Method ( color: kGREEN) 209 // 32: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kBLUE) 210 // 33: Error of the Mean QE obtained with PIN Diode Method ( color: kBLUE) 211 // 34: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kUV) 212 // 35: Error of the Mean QE obtained with PIN Diode Method ( color: kUV) 273 213 // 274 214 // Types filled by MCalibrationChargeCalc in combination of MCalibrationQEPix: 275 215 // =========================================================================== 276 216 // 277 // 24: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kCT1)278 // 25: Error of the Mean QE obtained with combination of 3 methods ( color: kCT1)279 // 26: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kGREEN)280 // 27: Error of the Mean QE obtained with combination of 3 methods ( color: kGREEN)281 // 28: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kBLUE)282 // 29: Error of the Mean QE obtained with combination of 3 methods ( color: kBLUE)283 // 30: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kUV)284 // 31: Error of the Mean QE obtained with combination of 3 methods ( color: kUV)217 // 36: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kCT1) 218 // 37: Error of the Mean QE obtained with combination of 3 methods ( color: kCT1) 219 // 38: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kGREEN) 220 // 39: Error of the Mean QE obtained with combination of 3 methods ( color: kGREEN) 221 // 40: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kBLUE) 222 // 41: Error of the Mean QE obtained with combination of 3 methods ( color: kBLUE) 223 // 42: Mean Quantum Efficiency obtained with combination of 3 methods ( color: kUV) 224 // 43: Error of the Mean QE obtained with combination of 3 methods ( color: kUV) 285 225 // 286 226 Bool_t MCalibrationQECam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const … … 322 262 break; 323 263 case 8: 264 if (pix.IsAverageQEFFactorAvailable()) 265 val = 1; 266 else 267 return kFALSE; 268 break; 269 case 9: 270 if (pix.IsAverageQEBlindPixelAvailable()) 271 val = 1; 272 else 273 return kFALSE; 274 break; 275 case 10: 276 if (pix.IsAverageQEPINDiodeAvailable()) 277 val = 1; 278 else 279 return kFALSE; 280 break; 281 case 11: 282 if (pix.IsAverageQECombinedAvailable()) 283 val = 1; 284 else 285 return kFALSE; 286 break; 287 case 12: 324 288 val = pix.GetQEFFactor(kCT1); 325 289 break; 326 case 9:290 case 13: 327 291 val = pix.GetQEFFactorErr(kCT1); 328 292 break; 329 case 1 0:293 case 14: 330 294 val = pix.GetQEFFactor(kGREEN); 331 295 break; 332 case 1 1:296 case 15: 333 297 val = pix.GetQEFFactorErr(kGREEN); 334 298 break; 335 case 1 2:299 case 16: 336 300 val = pix.GetQEFFactor(kBLUE); 337 301 break; 338 case 1 3:302 case 17: 339 303 val = pix.GetQEFFactorErr(kBLUE); 340 304 break; 341 case 1 4:305 case 18: 342 306 val = pix.GetQEFFactor(kUV); 343 307 break; 344 case 1 5:308 case 19: 345 309 val = pix.GetQEFFactorErr(kUV); 346 310 break; 347 case 16:311 case 20: 348 312 val = pix.GetQEBlindPixel(kCT1); 349 313 break; 350 case 17:314 case 21: 351 315 val = pix.GetQEBlindPixelErr(kCT1); 352 316 break; 353 case 18:317 case 22: 354 318 val = pix.GetQEBlindPixel(kGREEN); 355 319 break; 356 case 19:320 case 23: 357 321 val = pix.GetQEBlindPixelErr(kGREEN); 358 322 break; 359 case 2 0:323 case 24: 360 324 val = pix.GetQEBlindPixel(kBLUE); 361 325 break; 362 case 2 1:326 case 25: 363 327 val = pix.GetQEBlindPixelErr(kBLUE); 364 328 break; 365 case 2 2:329 case 26: 366 330 val = pix.GetQEBlindPixel(kUV); 367 331 break; 368 case 2 3:332 case 27: 369 333 val = pix.GetQEBlindPixelErr(kUV); 370 334 break; 371 case 2 4:335 case 28: 372 336 val = pix.GetQEPINDiode(kCT1); 373 337 break; 374 case 2 5:338 case 29: 375 339 val = pix.GetQEPINDiodeErr(kCT1); 376 340 break; 377 case 26:341 case 30: 378 342 val = pix.GetQEPINDiode(kGREEN); 379 343 break; 380 case 27:344 case 31: 381 345 val = pix.GetQEPINDiodeErr(kGREEN); 382 346 break; 383 case 28:347 case 32: 384 348 val = pix.GetQEPINDiode(kBLUE); 385 349 break; 386 case 29:350 case 33: 387 351 val = pix.GetQEPINDiodeErr(kBLUE); 388 352 break; 389 case 3 0:353 case 34: 390 354 val = pix.GetQEPINDiode(kUV); 391 355 break; 392 case 3 1:356 case 35: 393 357 val = pix.GetQEPINDiodeErr(kUV); 394 358 break; 395 case 3 2:359 case 36: 396 360 val = pix.GetQECombined(kCT1); 397 361 break; 398 case 3 3:362 case 37: 399 363 val = pix.GetQECombinedErr(kCT1); 400 364 break; 401 case 3 4:365 case 38: 402 366 val = pix.GetQECombined(kGREEN); 403 367 break; 404 case 3 5:368 case 39: 405 369 val = pix.GetQECombinedErr(kGREEN); 406 370 break; 407 case 36:371 case 40: 408 372 val = pix.GetQECombined(kBLUE); 409 373 break; 410 case 37:374 case 41: 411 375 val = pix.GetQECombinedErr(kBLUE); 412 376 break; 413 case 38:377 case 42: 414 378 val = pix.GetQECombined(kUV); 415 379 break; 416 case 39:380 case 43: 417 381 val = pix.GetQECombinedErr(kUV); 418 382 break;
Note:
See TracChangeset
for help on using the changeset viewer.