Changeset 8425 for trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc
- Timestamp:
- 04/20/07 12:48:09 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibColorSteer.cc
r8417 r8425 59 59 #include "MCalibrationIntensityChargeCam.h" 60 60 #include "MCalibrationIntensityBlindCam.h" 61 #include "MCalibrationIntensityQECam.h"62 61 #include "MCalibrationIntensityRelTimeCam.h" 63 62 64 63 #include "MCalibrationPattern.h" 64 #include "MCalibrationQECam.h" 65 65 #include "MCalibrationChargeCam.h" 66 66 #include "MCalibrationChargeCalc.h" … … 156 156 if (pList->FindObject(AddSerialNumber("MHCalibrationChargeCam"))) 157 157 { 158 159 fIntensCharge = (MCalibrationIntensityChargeCam*)pList->FindCreateObj("MCalibrationIntensityChargeCam"); 160 fIntensQE = (MCalibrationIntensityQECam*) pList->FindCreateObj("MCalibrationIntensityQECam"); 161 162 fChargeCalc = (MCalibrationChargeCalc*)tlist->FindObject("MCalibrationChargeCalc"); 163 164 *fLog << inf << "Found MHCalibrationChargeCam ... " << flush; 165 166 if (!fIntensCharge) 158 *fLog << inf << "Found MHCalibrationChargeCam ... " << flush; 159 160 fIntensCharge = (MCalibrationIntensityChargeCam*)pList->FindCreateObj("MCalibrationIntensityChargeCam"); 161 if (!fIntensCharge) 162 return kFALSE; 163 164 fQECam = (MCalibrationQECam*)pList->FindCreateObj("MCalibrationQECam"); 165 if (!fQECam) 166 return kFALSE; 167 168 fChargeCalc = (MCalibrationChargeCalc*)tlist->FindObject("MCalibrationChargeCalc"); 169 if (!fChargeCalc) 167 170 { 168 *fLog << err << "Could not find nor create MCalibrationIntensityChargeCam abort... " << endl; 169 return kFALSE; 170 } 171 172 if (!fIntensQE) 173 { 174 *fLog << err << "Could not find nor create MCalibrationIntensityQECam abort... " << endl; 175 return kFALSE; 176 } 177 178 if (!fChargeCalc) 179 { 180 *fLog << err << "Could not find MCalibrationChargeCalc abort... " << endl; 181 return kFALSE; 171 *fLog << err << "Could not find MCalibrationChargeCalc abort... " << endl; 172 return kFALSE; 182 173 } 183 174 } 184 175 185 176 // 186 177 // Look for the MFillH name "FillRelTimeCam". In case yes, initialize the … … 327 318 328 319 fBad->Clear(); // FIXME:::::: MERGE PreExcl!!!! 320 fQECam->Clear(); 329 321 330 322 if (fIntensCharge) … … 337 329 return kFALSE; 338 330 *fLog << inf << "New MCalibrationChargeCam with name: " << cam->GetName() << endl; 339 }340 if (fIntensQE)341 {342 fIntensQE->AddToList(Form("MCalibrationQECam%s",namep.Data()),*fGeom);343 *fLog << inf << "New MCalibrationQECam with: " << namep << endl;344 331 } 345 332
Note:
See TracChangeset
for help on using the changeset viewer.