Changeset 3115 for trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
- Timestamp:
- 02/12/04 12:42:48 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationPix.cc
r3065 r3115 113 113 CLRBIT(fFlags, kFFactorMethodValid); 114 114 CLRBIT(fFlags, kPINDiodeMethodValid); 115 CLRBIT(fFlags, kCombinedMethodValid); 115 116 116 117 fCharge = -1.; … … 143 144 fMeanConversionBlindPixelMethod = -1.; 144 145 fMeanConversionPINDiodeMethod = -1.; 146 fMeanConversionCombinedMethod = -1.; 145 147 146 148 fErrorConversionFFactorMethod = -1.; 147 149 fErrorConversionBlindPixelMethod = -1.; 148 150 fErrorConversionPINDiodeMethod = -1.; 151 fErrorConversionCombinedMethod = -1.; 149 152 150 153 fSigmaConversionFFactorMethod = -1.; 151 154 fSigmaConversionBlindPixelMethod = -1.; 152 155 fSigmaConversionPINDiodeMethod = -1.; 156 fSigmaConversionCombinedMethod = -1.; 153 157 154 158 fFactorCalculated = kFALSE; … … 191 195 fErrorConversionFFactorMethod = err; 192 196 fSigmaConversionFFactorMethod = sig; 197 } 198 199 // -------------------------------------------------------------------------- 200 // 201 // Set the conversion factors from outside (only for MC) 202 // 203 void MCalibrationPix::SetConversionCombinedMethod(Float_t c, Float_t err, Float_t sig) 204 { 205 fMeanConversionCombinedMethod = c; 206 fErrorConversionCombinedMethod = err; 207 fSigmaConversionCombinedMethod = sig; 193 208 } 194 209 … … 395 410 } 396 411 397 412 Float_t MCalibrationPix::GetTotalFFactorCombinedMethod() 413 { 414 return 1.; 415 } 416 417 Float_t MCalibrationPix::GetTotalFFactorErrorCombinedMethod() 418 { 419 420 return 1.; 421 } 398 422 399 423 Float_t MCalibrationPix::GetMeanConversionFFactorMethod() … … 485 509 { 486 510 return TESTBIT(fFlags, kPINDiodeMethodValid); 511 } 512 513 Bool_t MCalibrationPix::IsCombinedMethodValid() 514 { 515 return TESTBIT(fFlags, kCombinedMethodValid); 487 516 } 488 517
Note:
See TracChangeset
for help on using the changeset viewer.