Changeset 6926 for trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.cc
- Timestamp:
- 04/11/05 18:10:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibCalcFromPast.cc
r6254 r6926 218 218 // - Sets the latest MCalibrationChargeCam as update class into MCalibrateData 219 219 // - Initialize new MCalibration*Cams into the intensity cams. 220 // 220 // 221 221 Int_t MCalibCalcFromPast::Process() 222 222 { … … 229 229 // Finalize Possible calibration histogram classes... 230 230 // 231 *fLog << inf << GetDescriptor() << " : Finalize calibration histograms..." << endl; 232 if (Finalize("MHCalibrationChargeCam")) *fLog << "MHCalibrationChargeCam ready" << flush; 233 if (Finalize("MHCalibrationChargeBlindCam")) *fLog << "MHCalibrationChargeBlindCam ready" << flush; 234 if (Finalize("MHCalibrationRelTimeCam")) *fLog << "MHCalibrationRelTimeCam ready" << flush; 231 *fLog << inf << GetDescriptor() << ": Finalize calibration histograms: " << flush; 232 233 if (Finalize("MHCalibrationChargeCam")) *fLog << "MHCalibrationChargeCam..." << flush; 234 if (Finalize("MHCalibrationChargeBlindCam")) *fLog << "MHCalibrationChargeBlindCam..." << flush; 235 if (Finalize("MHCalibrationRelTimeCam")) *fLog << "MHCalibrationRelTimeCam..." << flush; 235 236 236 237 // … … 238 239 // 239 240 *fLog << endl; 240 *fLog << inf << GetDescriptor() << " :Finalize calibration calculations..." << endl;241 *fLog << inf << "Finalize calibration calculations..." << endl; 241 242 if (fChargeCalc) 242 243 fChargeCalc->Finalize(); … … 247 248 248 249 ReInitialize(); 249 250 250 return kTRUE; 251 251 } … … 281 281 Bool_t MCalibCalcFromPast::ReInitialize() 282 282 { 283 fNumCam++; 284 285 *fLog << inf << "MCalibCalcFromPast::ReInitialize #" << fNumCam << " "; 286 287 if (fIntensBad) 288 { 289 fIntensBad->AddToList(Form("MBadPixelsCam%04d",fNumCam),*fGeom); 290 *fLog << "MBadPixelsCam..."; 291 } 292 293 if (fIntensCharge) 294 { 295 fIntensCharge->AddToList(Form("MCalibrationChargeCam%04d",fNumCam),*fGeom); 296 *fLog << "MCalibrationChargeCam..."; 297 } 298 if (fIntensQE) 299 { 300 fIntensQE->AddToList(Form("MCalibrationQECam%04d",fNumCam),*fGeom); 301 *fLog << "MCalibrationQECam..."; 302 } 303 if (fIntensBlind) 304 { 305 fIntensBlind->AddToList(Form("MCalibrationBlindCam%04d",fNumCam),*fGeom); 306 *fLog << "MCalibrationBlindCam..."; 307 } 283 308 284 309 *fLog << endl; 285 286 fNumCam++;287 288 if (fIntensBad)289 {290 fIntensBad->AddToList(Form("MBadPixelsCam%04d",fNumCam),*fGeom);291 *fLog << inf << "New MBadPixelsCam Nr. " << fNumCam << endl;292 }293 294 if (fIntensCharge)295 {296 fIntensCharge->AddToList(Form("MCalibrationChargeCam%04d",fNumCam),*fGeom);297 *fLog << inf << "New MCalibrationChargeCam Nr. " << fNumCam << endl;298 }299 if (fIntensQE)300 {301 fIntensQE->AddToList(Form("MCalibrationQECam%04d",fNumCam),*fGeom);302 *fLog << inf << "New MCalibrationQECam Nr. " << fNumCam << endl;303 }304 if (fIntensBlind)305 {306 fIntensBlind->AddToList(Form("MCalibrationBlindCam%04d",fNumCam),*fGeom);307 *fLog << inf << "New MCalibrationBlindCam Nr. " << fNumCam << endl;308 }309 310 310 311 return kTRUE; … … 314 315 Int_t MCalibCalcFromPast::PostProcess() 315 316 { 316 *fLog << inf << GetDescriptor() 317 << ": Number of Calibration Cams: " << fNumCam << endl; 317 *fLog << "Number of Calibration Cams: " << fNumCam << endl; 318 318 return kTRUE; 319 319
Note:
See TracChangeset
for help on using the changeset viewer.