- Timestamp:
- 05/18/05 11:12:11 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 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; -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r7035 r7053 722 722 tlist2.AddToList(&contcos); 723 723 if (fIsHiLoCalibration) 724 tlist2.AddToList(&filhil);725 if (fIsPulsePosCheck)726 tlist2.AddToList(&filpul);727 if (fIsHiLoCalibration)728 724 { 729 725 plist.AddToList(&hilocam); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r7047 r7053 1976 1976 SetUsePINDiode(kFALSE); 1977 1977 1978 tlist.PrintStatistics(); 1979 DisplayResult(plist); 1980 if (!WriteResult(plist)) 1981 return kFALSE; 1978 const Int_t numexec = IsUseRawData() ? rawread.GetNuMExecutions() : read.GetNuMExecutions(); 1979 if (numexec>0) 1980 { 1981 tlist.PrintStatistics(); 1982 DisplayResult(plist); 1983 if (!WriteResult(plist)) 1984 return kFALSE; 1985 } 1982 1986 1983 1987 if (!rc)
Note:
See TracChangeset
for help on using the changeset viewer.