Changeset 7053 for trunk/MagicSoft/Mars/mcalib
- Timestamp:
- 05/18/05 11:12:11 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mcalib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.cc
r7013 r7053 77 77 MCalibCalcFromPast::MCalibCalcFromPast(const char *name, const char *title) 78 78 : fGeom(NULL), fParList(NULL), fRunHeader(NULL), 79 fIntensCharge(NULL), fIntensBlind(NULL), fIntensRelTime(NULL), fIntensBad(NULL), 80 fChargeCalc(NULL), fRelTimeCalc(NULL), fCalibrate(NULL), 81 fNumEvents(0), fNumCam(0), fUpdateWithFFactorMethod(kFALSE) 79 fIntensCharge(NULL), fIntensBlind(NULL), fIntensQE(NULL), 80 fIntensRelTime(NULL), fIntensBad(NULL), fChargeCalc(NULL), 81 fRelTimeCalc(NULL), fCalibrate(NULL), fNumEvents(0), fNumCam(0), 82 fUpdateWithFFactorMethod(kFALSE) 82 83 { 83 84 -
trunk/MagicSoft/Mars/mcalib/MCalibrateData.cc
r6932 r7053 253 253 } 254 254 255 if (fPedestalFlag )255 if (fPedestalFlag!=kNo) 256 256 { 257 257 if (fNamesPedestal.GetSize()==0) … … 323 323 324 324 // Sizes might have changed 325 if (fPedestalFlag )325 if (fPedestalFlag!=kNo) 326 326 { 327 327 TIter Next(&fPedestalCams); … … 405 405 { 406 406 *fLog << "Size mismatch between MGeomCam and MCalibrationChargeCam... abort!" << endl; 407 return kFALSE;408 }409 410 if (fBadPixels->GetSize() != npixels)411 {412 *fLog << "Size mismatch between MGeomCam and MBadPixelsCam... abort!" << endl;413 407 return kFALSE; 414 408 } … … 598 592 if (calibConv != 0. && calibQE != 0.) 599 593 { 600 // Now doing:601 594 calibConvVar = calibConvVar/(calibConv*calibConv) + calibQEVar/(calibQE*calibQE); 602 595 calibConvVar *= (calibConv*calibConv); 603 // The above two lines had been commented by TB and replaced by the following line604 // (without notice to me!) but it is simply wrong!605 // calibConvVar += calibQEVar*(calibConv*calibConv)/(calibQE*calibQE);606 596 } 607 597 … … 631 621 return kFALSE; 632 622 } 633 634 635 636 // Print();637 623 638 624 return kTRUE;
Note:
See TracChangeset
for help on using the changeset viewer.