Changeset 6963 for trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc
- Timestamp:
- 04/20/05 11:59:48 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc
r6774 r6963 250 250 // -------------------------------------------------------------------------- 251 251 // 252 // Copy High-gain vs. low-gain conversion factors from cam to this. 253 // 254 Bool_t MCalibrationChargeCam::CopyHiLoConversionFactors(const MCalibrationChargeCam &cam) const 255 { 256 257 if (GetSize() != cam.GetSize()) 258 { 259 *fLog << warn << "Sizes mismatch! Cannot merge high-gain vs. low-gain convertion factors" << endl; 260 return kFALSE; 261 } 262 263 for (Int_t i=0; i<GetSize(); i++) 264 { 265 ((MCalibrationChargePix&)(*this)[i]).SetConversionHiLo (((MCalibrationChargePix&)cam[i]).GetConversionHiLo()); 266 ((MCalibrationChargePix&)(*this)[i]).SetConversionHiLoErr(((MCalibrationChargePix&)cam[i]).GetConversionHiLoErr()); 267 } 268 269 return kTRUE; 270 } 271 272 // -------------------------------------------------------------------------- 273 // 252 274 // Print first the well fitted pixels 253 275 // and then the ones which are not FitValid
Note:
See TracChangeset
for help on using the changeset viewer.