Changeset 4618 for trunk/MagicSoft/Mars
- Timestamp:
- 08/16/04 11:05:05 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4616 r4618 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 23 2004/08/16: Markus Gaug 24 25 * mcalib/MHCalibrationCam.cc 26 - add a criterion to stop the Finalize() if both fHiGainArray 27 and fLoGainArray have not been expanded. 28 - replace two gLog by *fLog 21 29 22 30 -
trunk/MagicSoft/Mars/mcalib/MHCalibrationCam.cc
r4609 r4618 448 448 if (!fBadPixels) 449 449 { 450 gLog << err << "Cannot find nor create MBadPixelsCam ... abort." << endl;450 *fLog << err << "Cannot find nor create MBadPixelsCam ... abort." << endl; 451 451 return kFALSE; 452 452 } … … 561 561 if (fHiGainArray->GetEntries() != npixels) 562 562 { 563 gLog << err << "ERROR - Size mismatch... abort." << endl;563 *fLog << err << "ERROR - Size mismatch... abort." << endl; 564 564 return kFALSE; 565 565 } … … 567 567 if (fLoGainArray->GetEntries() != npixels) 568 568 { 569 gLog << err << "ERROR - Size mismatch... abort." << endl;569 *fLog << err << "ERROR - Size mismatch... abort." << endl; 570 570 return kFALSE; 571 571 } … … 606 606 // -------------------------------------------------------------------------- 607 607 // 608 // 0) Ask if fHiGainArray and fLoGainArray have been initialized, 609 // otherwise return kFALSE. 608 610 // 1) FinalizeHists() 609 611 // 2) FinalizeBadPixels() … … 612 614 Bool_t MHCalibrationCam::Finalize() 613 615 { 616 617 if (fHiGainArray->GetEntries() == 0 && fLoGainArray->GetEntries() == 0) 618 { 619 *fLog << err << GetDescriptor() 620 << ": ERROR: Both (HiGain and LoGain) histogram arrays have not been initialized... abort." << endl; 621 return kFALSE; 622 } 623 614 624 if (!FinalizeHists()) 615 625 return kFALSE;
Note:
See TracChangeset
for help on using the changeset viewer.