Changeset 3069 for trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
- Timestamp:
- 02/09/04 15:44:04 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r3055 r3069 51 51 #include "MReadMarsFile.h" 52 52 #include "MGeomApply.h" 53 #include "MBadPixelsMerge.h" 53 54 #include "MExtractSignal.h" 54 55 #include "MExtractSignal2.h" … … 382 383 return kFALSE; 383 384 } 385 386 if (fBadPixels.Write()<=0) 387 { 388 *fLog << err << "Unable to write MBadPixelsCam to " << oname << endl; 389 return kFALSE; 390 } 391 384 392 return kTRUE; 385 393 … … 426 434 *fLog << "Unable to read MCalibrationCam from " << fname << endl; 427 435 return kFALSE; 436 } 437 438 if (file.FindKey("MBadPixelsCam")) 439 { 440 MBadPixelsCam bad; 441 if (bad.Read()<=0) 442 { 443 *fLog << "Unable to read MBadPixelsCam from " << fname << endl; 444 return kFALSE; 445 } 446 fBadPixels.Merge(bad); 428 447 } 429 448 … … 466 485 467 486 MGeomApply apply; 487 MBadPixelsMerge merge(&fBadPixels); 488 // MExtractSignal extract; // Do not use this at the moment... 468 489 MExtractSignal2 extract; 469 490 MCalibrationCalc calcalc; … … 476 497 //calcalc.SkipBlindPixelFit(); 477 498 499 tlist.AddToList(&read); 478 500 tlist.AddToList(&apply); 479 tlist.AddToList(& read);501 tlist.AddToList(&merge); 480 502 tlist.AddToList(&extract); 481 503 tlist.AddToList(&calcalc);
Note:
See TracChangeset
for help on using the changeset viewer.