Changeset 3278 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 02/24/04 17:56:35 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrate.cc
r3265 r3278 204 204 { 205 205 case kBlindPixel: 206 calibrationConversionFactor = pix.GetMeanConversionBlindPixelMethod(); 207 calibrationConversionFactorErr = pix.GetConversionBlindPixelMethodErr(); 206 if (pix.IsBlindPixelMethodValid()) 207 { 208 calibrationConversionFactor = pix.GetMeanConversionBlindPixelMethod(); 209 calibrationConversionFactorErr = pix.GetConversionBlindPixelMethodErr(); 210 } 208 211 break; 209 212 case kPinDiode: 210 calibrationConversionFactor = pix.GetMeanConversionPINDiodeMethod(); 211 calibrationConversionFactorErr = pix.GetConversionPINDiodeMethodErr(); 213 if (pix.IsPINDiodeMethodValid()) 214 { 215 calibrationConversionFactor = pix.GetMeanConversionPINDiodeMethod(); 216 calibrationConversionFactorErr = pix.GetConversionPINDiodeMethodErr(); 217 } 212 218 break; 213 219 case kFfactor: 214 calibrationConversionFactor = pix.GetMeanConversionFFactorMethod(); 215 calibrationConversionFactorErr = pix.GetConversionFFactorMethodErr(); 220 if (pix.IsFFactorMethodValid()) 221 { 222 calibrationConversionFactor = pix.GetMeanConversionFFactorMethod(); 223 calibrationConversionFactorErr = pix.GetConversionFFactorMethodErr(); 224 } 216 225 break; 217 226 case kCombined: 218 calibrationConversionFactor = pix.GetMeanConversionCombinedMethod(); 219 calibrationConversionFactorErr = pix.GetConversionCombinedMethodErr(); 220 break; 227 if (pix.IsCombinedMethodValid()) 228 { 229 calibrationConversionFactor = pix.GetMeanConversionCombinedMethod(); 230 calibrationConversionFactorErr = pix.GetConversionCombinedMethodErr(); 231 } 232 break; 221 233 case kDummy: 222 234 calibrationConversionFactor = 1.;
Note:
See TracChangeset
for help on using the changeset viewer.