Changeset 6528 for trunk/MagicSoft
- Timestamp:
- 02/16/05 15:48:20 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6527 r6528 54 54 * mhist/MHCamEvent.cc: 55 55 - replaced the warn in SetupFill by an inf 56 57 * mhcalib/MHCalibrationCam.cc, mhcalib/MHCalibrationHiLoCam.cc, 58 mhcalib/MHCalibrationChargePINDiode.cc: 59 - removed obsolete output after a failed FindCreateObj (the 60 function itself does the output in case of failure) 61 62 * mhcalib/MHCalibrationCam.cc: 63 - replaced 'err' by 'warn' for under-/overflow in lo-gain pixel, 64 it doesn't result in an fatal error (abort) 56 65 57 66 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.cc
r6526 r6528 1198 1198 { 1199 1199 *fLog << warn << GetDescriptor() 1200 << ": Only overflow or underflow in hi gh-gain pixel: " << pix.GetPixId() << endl;1200 << ": Only overflow or underflow in hi-gain pixel: " << pix.GetPixId() << endl; 1201 1201 return; 1202 1202 } … … 1281 1281 if (hist.IsEmpty() || hist.IsOnlyOverflow() || hist.IsOnlyUnderflow()) 1282 1282 { 1283 *fLog << err<< GetDescriptor()1284 << ": Only overflow or underflow in lo w-gain pixel: " << pix.GetPixId() << endl;1283 *fLog << warn << GetDescriptor() 1284 << ": Only overflow or underflow in lo-gain pixel: " << pix.GetPixId() << endl; 1285 1285 return; 1286 1286 } -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargePINDiode.cc
r5098 r6528 206 206 fSigPIN = (MExtractedSignalPINDiode*)pList->FindCreateObj("MExtractedSignalPINDiode"); 207 207 if (!fSigPIN) 208 {209 *fLog << err << "MExtractedSignalPINDiode not found... aborting " << endl;210 208 return kFALSE; 211 }212 209 213 210 fPINDiode = (MCalibrationChargePINDiode*)pList->FindCreateObj("MCalibrationChargePINDiode"); 214 211 if (!fPINDiode) 215 {216 *fLog << err << "MCalibrationChargePINDiode not found... aborting " << endl;217 212 return kFALSE; 218 }219 213 220 214 return kTRUE; -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationHiLoCam.cc
r6007 r6528 239 239 fCam = (MCalibrationCam*)pList->FindCreateObj(AddSerialNumber("MCalibrationHiLoCam")); 240 240 if (!fCam) 241 {242 *fLog << err << "Cannot find nor create MCalibrationHiLoCam... abort." << endl;243 241 return kFALSE; 244 }245 242 fCam->Init(*fGeom); 246 243 }
Note:
See TracChangeset
for help on using the changeset viewer.