Changeset 6006 for trunk/MagicSoft
- Timestamp:
- 01/25/05 23:19:27 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc
r6005 r6006 234 234 { 235 235 236 if (!InitCams(pList,"HiLo")) 237 return kFALSE; 236 fCam = (MCalibrationCam*)plist->FindObject(AddSerialNumber("MCalibrationHiLoCam")); 237 if (!fCam) 238 { 239 fCam = (MCalibrationCam*)plist->FindCreateObj(AddSerialNumber("MCalibrationHiLoCam")); 240 if (!fCam) 241 { 242 *fLog << err << "Cannot find nor create MCalibrationHiLoCam... abort." << endl; 243 return kFALSE; 244 } 245 fCam->Init(*fGeom); 246 } 238 247 239 248 MExtractedSignalCam *signal = (MExtractedSignalCam*)pList->FindObject("MExtractedSignalCam"); … … 398 407 *fLog << endl; 399 408 400 MCalibrationCam *hilocam = f IntensCam ? fIntensCam->GetCam() : fCam;409 MCalibrationCam *hilocam = fCam; 401 410 MBadPixelsCam *badcam = fIntensBad ? fIntensBad->GetCam() : fBadPixels; 402 411
Note:
See TracChangeset
for help on using the changeset viewer.