Changeset 3715 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
04/13/04 15:00:16 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3691 r3715  
    7171// See also: MCalibrationQEPix, MCalibrationChargeCam, MCalibrationChargeCalc
    7272//           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 method
    82 // 1: Error of the Mean QE for cascades, obtained with the F-Factor method
    83 // 2: Mean Quantum Efficiency for cascades, obtained with the Blind Pixel method
    84 // 3: Error of the Mean QE for cascades, obtained with the Blind Pixel method
    85 // 4: Mean Quantum Efficiency for cascades, obtained with the PIN Diode method
    86 // 5: Error of the Mean QE for cascades, obtained with the PIN Diode method
    87 // 6: Mean Quantum Efficiency for cascades, obtained with combination of the 3 methods
    88 // 7: Error of the Mean QE for cascades, obtained with combination of the 3 methods
    89 //
    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)
    13773//
    13874/////////////////////////////////////////////////////////////////////////////
     
    235171// 6: Mean Quantum Efficiency for cascades, obtained with combination of the 3 methods
    236172// 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
    237177//
    238178// Types filled by MCalibrationChargeCalc in combination of MCalibrationChargePix:
    239179// ===============================================================================
    240180//
    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 // 10: Mean Quantum Efficiency obtained with F-Factor Method ( color: kGREEN)
    244 // 11: Error of the Mean QE obtained with F-Factor Method ( color: kGREEN)
    245 // 12: Mean Quantum Efficiency obtained with F-Factor Method ( color: kBLUE)
    246 // 13: Error of the Mean QE obtained with F-Factor Method ( color: kBLUE)
    247 // 14: Mean Quantum Efficiency obtained with F-Factor Method ( color: kUV)
    248 // 15: 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)
    249189//
    250190// Types filled by MCalibrationChargeCalc in combination of MCalibrationChargeBlindPix:
    251191// ====================================================================================
    252192//
    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 // 20: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kBLUE)
    258 // 21: Error of the Mean QE obtained with Blind Pixel Method ( color: kBLUE)
    259 // 22: Mean Quantum Efficiency obtained with Blind Pixel Method ( color: kUV)
    260 // 23: 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)
    261201//
    262202// Types filled by MCalibrationChargeCalc in combination of MCalibrationChargePINDiode:
    263203// ====================================================================================
    264204//
    265 // 24: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kCT1)
    266 // 25: 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 // 30: Mean Quantum Efficiency obtained with PIN Diode Method ( color: kUV)
    272 // 31: 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)
    273213//
    274214// Types filled by MCalibrationChargeCalc in combination of MCalibrationQEPix:
    275215// ===========================================================================
    276216//
    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)
    285225//
    286226Bool_t MCalibrationQECam::GetPixelContent(Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type) const
     
    322262      break;
    323263    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:
    324288      val = pix.GetQEFFactor(kCT1);
    325289      break;
    326     case 9:
     290    case 13:
    327291      val = pix.GetQEFFactorErr(kCT1);
    328292      break;
    329     case 10:
     293    case 14:
    330294      val = pix.GetQEFFactor(kGREEN);
    331295      break;
    332     case 11:
     296    case 15:
    333297      val = pix.GetQEFFactorErr(kGREEN);
    334298      break;
    335     case 12:
     299    case 16:
    336300      val = pix.GetQEFFactor(kBLUE);
    337301      break;
    338     case 13:
     302    case 17:
    339303      val = pix.GetQEFFactorErr(kBLUE);
    340304      break;
    341     case 14:
     305    case 18:
    342306      val = pix.GetQEFFactor(kUV);
    343307      break;
    344     case 15:
     308    case 19:
    345309      val = pix.GetQEFFactorErr(kUV);
    346310      break;
    347     case 16:
     311    case 20:
    348312      val = pix.GetQEBlindPixel(kCT1);
    349313      break;
    350     case 17:
     314    case 21:
    351315      val = pix.GetQEBlindPixelErr(kCT1);
    352316      break;
    353     case 18:
     317    case 22:
    354318      val = pix.GetQEBlindPixel(kGREEN);
    355319      break;
    356     case 19:
     320    case 23:
    357321      val = pix.GetQEBlindPixelErr(kGREEN);
    358322      break;
    359     case 20:
     323    case 24:
    360324      val = pix.GetQEBlindPixel(kBLUE);
    361325      break;
    362     case 21:
     326    case 25:
    363327      val = pix.GetQEBlindPixelErr(kBLUE);
    364328      break;
    365     case 22:
     329    case 26:
    366330      val = pix.GetQEBlindPixel(kUV);
    367331      break;
    368     case 23:
     332    case 27:
    369333      val = pix.GetQEBlindPixelErr(kUV);
    370334      break;
    371     case 24:
     335    case 28:
    372336      val = pix.GetQEPINDiode(kCT1);
    373337      break;
    374     case 25:
     338    case 29:
    375339      val = pix.GetQEPINDiodeErr(kCT1);
    376340      break;
    377     case 26:
     341    case 30:
    378342      val = pix.GetQEPINDiode(kGREEN);
    379343      break;
    380     case 27:
     344    case 31:
    381345      val = pix.GetQEPINDiodeErr(kGREEN);
    382346      break;
    383     case 28:
     347    case 32:
    384348      val = pix.GetQEPINDiode(kBLUE);
    385349      break;
    386     case 29:
     350    case 33:
    387351      val = pix.GetQEPINDiodeErr(kBLUE);
    388352      break;
    389     case 30:
     353    case 34:
    390354      val = pix.GetQEPINDiode(kUV);
    391355      break;
    392     case 31:
     356    case 35:
    393357      val = pix.GetQEPINDiodeErr(kUV);
    394358      break;
    395     case 32:
     359    case 36:
    396360      val = pix.GetQECombined(kCT1);
    397361      break;
    398     case 33:
     362    case 37:
    399363      val = pix.GetQECombinedErr(kCT1);
    400364      break;
    401     case 34:
     365    case 38:
    402366      val = pix.GetQECombined(kGREEN);
    403367      break;
    404     case 35:
     368    case 39:
    405369      val = pix.GetQECombinedErr(kGREEN);
    406370      break;
    407     case 36:
     371    case 40:
    408372      val = pix.GetQECombined(kBLUE);
    409373      break;
    410     case 37:
     374    case 41:
    411375      val = pix.GetQECombinedErr(kBLUE);
    412376      break;
    413     case 38:
     377    case 42:
    414378      val = pix.GetQECombined(kUV);
    415379      break;
    416     case 39:
     380    case 43:
    417381      val = pix.GetQECombinedErr(kUV);
    418382      break;
Note: See TracChangeset for help on using the changeset viewer.