Changeset 3481
- Timestamp:
- 03/11/04 20:57:01 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3480 r3481 67 67 * mcalib/MCalibrate.cc 68 68 - added case that no MBadPixelsCam is available. 69 70 * mcalib/MHCalibrationChargeCam.cc 71 - adapted to new MBadPixelsPix::SetUnsuitable function 69 72 70 73 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.cc
r3476 r3481 559 559 560 560 if (hist.IsEmpty()) 561 { 562 bad.SetUnsuitable(MBadPixelsPix::kUnsuitableRun); 561 563 return; 562 564 } 565 563 566 if (hist.GetSaturated() > fNumHiGainSaturationLimit*hist.GetHGausHist()->GetEntries()) 564 567 { … … 571 574 // 2) Fit the Hi Gain histograms with a Gaussian 572 575 // 576 pix.SetHiGainFitted(); 573 577 if (!hist.FitGaus()) 574 578 // … … 578 582 { 579 583 hist.BypassFit(); 584 pix.SetHiGainFitted(kFALSE); 580 585 bad.SetHiGainNotFitted(); 581 586 bad.SetUnsuitable(MBadPixelsPix::kUnreliableRun); 582 587 } 588 else 589 pix.SetHiGainFitted(); 583 590 584 591 // … … 621 628 622 629 if (hist.IsEmpty()) 623 return; 630 { 631 if (pix.IsHiGainSaturation()) 632 bad.SetUnsuitable(MBadPixelsPix::kUnsuitableRun); 633 return; 634 } 635 624 636 625 637 if (hist.GetSaturated() > fNumLoGainSaturationLimit*hist.GetHGausHist()->GetEntries()) … … 630 642 return; 631 643 } 644 632 645 // 633 646 // 2) Fit the Lo Gain histograms with a Gaussian 634 647 // 648 pix.SetLoGainFitted(); 635 649 if (!hist.FitGaus()) 636 650 // … … 640 654 { 641 655 hist.BypassFit(); 656 pix.SetLoGainFitted(kFALSE); 642 657 bad.SetLoGainNotFitted(); 643 658 if (pix.IsHiGainSaturation())
Note:
See TracChangeset
for help on using the changeset viewer.