- Timestamp:
- 09/15/04 23:51:58 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc
r5054 r5055 48 48 49 49 #include "MParList.h" 50 #include "MTaskList.h" 50 51 51 52 #include "MHCalibrationCam.h" … … 115 116 } 116 117 118 MTaskList *tlist = (MTaskList*)pList->FindObject("MTaskList"); 119 if (!tlist) 120 { 121 *fLog << err << "MTaskList not found... abort." << endl; 122 return kFALSE; 123 } 124 117 125 // 118 126 // Look for the MBadPixels Intensity Cam … … 120 128 fIntensBad = (MBadPixelsIntensityCam*)pList->FindCreateObj("MBadPixelsIntensityCam"); 121 129 122 *fLog << inf << GetDescriptor() 123 << ": Found MBadPixelsIntensityCam ... " << endl; 130 *fLog << inf << "Found MBadPixelsIntensityCam ... " << flush; 124 131 // 125 132 // Look for the MCalibrationIntensityBlindCam … … 127 134 fIntensBlind = (MCalibrationIntensityBlindCam*)pList->FindCreateObj("MCalibrationIntensityBlindCam"); 128 135 129 *fLog << inf << GetDescriptor() 130 << ": Found MCalibrationIntensityBlindCam ... " << endl; 136 *fLog << inf << "Found MCalibrationIntensityBlindCam ... " << flush; 131 137 132 138 // … … 134 140 // corresponding IntensityCam 135 141 // 136 if (pList->FindObject(AddSerialNumber(" FillChargeCam")))142 if (pList->FindObject(AddSerialNumber("MHCalibrationChargeCam"))) 137 143 { 138 144 139 145 fIntensCharge = (MCalibrationIntensityChargeCam*)pList->FindCreateObj("MCalibrationIntensityChargeCam"); 140 146 fIntensQE = (MCalibrationIntensityQECam*) pList->FindCreateObj("MCalibrationIntensityQECam"); 141 fChargeCalc = (MCalibrationChargeCalc*) pList->FindObject("MCalibrationChargeCalc"); 142 143 *fLog << inf << GetDescriptor() 144 << ":Found MHCalibrationChargeCam ... " << endl;147 148 fChargeCalc = (MCalibrationChargeCalc*)tlist->FindObject("MCalibrationChargeCalc"); 149 150 *fLog << inf << " Found MHCalibrationChargeCam ... " << endl; 145 151 146 152 if (!fIntensCharge) … … 167 173 // corresponding IntensityCam 168 174 // 169 if (pList->FindObject(AddSerialNumber(" FillRelTimeCam")))175 if (pList->FindObject(AddSerialNumber("MHCalibrationRelTimeCam"))) 170 176 { 171 177 172 178 fIntensRelTime = (MCalibrationIntensityRelTimeCam*)pList->FindCreateObj("MCalibrationIntensityRelTimeCam"); 173 fRelTimeCalc = (MCalibrationRelTimeCalc*) pList->FindObject(AddSerialNumber("MCalibrationRelTimeCalc"));179 fRelTimeCalc = (MCalibrationRelTimeCalc*)tlist->FindObject(AddSerialNumber("MCalibrationRelTimeCalc")); 174 180 175 181 *fLog << inf << GetDescriptor()
Note:
See TracChangeset
for help on using the changeset viewer.