Changeset 6526
- Timestamp:
- 02/16/05 15:39:15 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r6341 r6526 573 573 fBadPixels = (MBadPixelsCam*)pList->FindCreateObj(AddSerialNumber("MBadPixelsCam")); 574 574 if (!fBadPixels) 575 {576 *fLog << err << "Cannot find nor create MBadPixelsCam ... abort." << endl;577 575 return kFALSE; 578 } 579 else 580 fBadPixels->InitSize(npixels); 576 577 fBadPixels->InitSize(npixels); 581 578 } 582 579 } … … 1029 1026 fCam = (MCalibrationCam*)plist->FindCreateObj(AddSerialNumber(ordname)); 1030 1027 if (!fCam) 1031 {1032 *fLog << err << "Cannot find nor create " << ordname << " ... abort." << endl;1033 1028 return kFALSE; 1034 } 1029 1035 1030 fCam->Init(*fGeom); 1036 1031 }
Note:
See TracChangeset
for help on using the changeset viewer.