Changeset 2879 for trunk/MagicSoft
- Timestamp:
- 01/21/04 22:45:54 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2878 r2879 15 15 - calculate PedRMS as RMS of the sums, later renormalized to units 16 16 of RMS/slice (eliminate the wrong effect of odd and even slices) 17 18 * mcalib/MCalibrationCalc.cc 19 - if bit SkipBlindPixelFit is set, now number of photons outside 20 plexiglass is not intended to be calculated any more (previous 21 bug) 22 17 23 18 24 2004/01/21: Abelardo Moralejo -
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.cc
r2852 r2879 495 495 fCalibrations->CutEdges(); 496 496 497 //498 // Get pointer to blind pixel499 //500 MCalibrationBlindPix &blindpixel = *(fCalibrations->GetBlindPixel());501 502 *fLog << inf << GetDescriptor() << ": Fitting the Blind Pixel" << endl;503 504 497 // 505 498 // Fit the blind pixel … … 507 500 if (TESTBIT(fFlags,kUseBlindPixelFit)) 508 501 { 502 // 503 // Get pointer to blind pixel 504 // 505 MCalibrationBlindPix &blindpixel = *(fCalibrations->GetBlindPixel()); 506 507 *fLog << inf << GetDescriptor() << ": Fitting the Blind Pixel" << endl; 509 508 510 509 if (!blindpixel.FitCharge()) … … 517 516 blindpixel.DrawClone(); 518 517 } 518 else 519 *fLog << inf << GetDescriptor() << ": Skipping Blind Pixel Fit " << endl; 520 519 521 520 522 *fLog << inf << GetDescriptor() << ": Fitting the Normal Pixels" << endl; … … 559 561 } 560 562 561 if (!fCalibrations->CalcNumPhotInsidePlexiglass())562 {563 *fLog << err << GetDescriptor()564 << ": Could not calculate the number of photons from the blind pixel " << endl;565 return kFALSE;566 }567 563 564 if (TESTBIT(fFlags,kUseBlindPixelFit)) 565 { 566 567 if (!fCalibrations->CalcNumPhotInsidePlexiglass()) 568 { 569 *fLog << err 570 << "Could not calculate the number of photons from the blind pixel " << endl; 571 *fLog << err 572 << "You can try to calibrate using the MCalibrationCalc::SkipBlindPixelFit()" << endl; 573 return kFALSE; 574 } 575 } 576 else 577 *fLog << inf << GetDescriptor() << ": Skipping Blind Pixel Fit " << endl; 578 568 579 fCalibrations->SetReadyToSave(); 569 580
Note:
See TracChangeset
for help on using the changeset viewer.