Changeset 6563 for trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc
- Timestamp:
- 02/17/05 10:34:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibTest.cc
r6281 r6563 283 283 { 284 284 285 286 285 if (!fSequence.IsValid()) 287 286 { … … 454 453 } 455 454 455 456 456 MCalibrateData photcalc; 457 photcalc.AddPedestal("Fundamental"); 458 photcalc.SetCalibrationMode(MCalibrateData::kFfactor); 459 photcalc.SetPedestalFlag(MCalibrateData::kEvent); 460 photcalc.SetSignalType(MCalibrateData::kPhe); 461 457 462 MCalibrateRelTimes caltimes; 458 if (IsUseMC()) // MC file459 {460 photcalc.SetCalibrationMode(MCalibrateData::kFfactor);461 photcalc.SetPedestalFlag(MCalibrateData::kRun);462 photcalc.AddPedestal("MPedestalCam", "MPedPhotFundamental");463 }464 else465 {466 photcalc.SetCalibrationMode(MCalibrateData::kFfactor);467 photcalc.AddPedestal("Fundamental");468 photcalc.SetPedestalFlag(MCalibrateData::kEvent);469 photcalc.SetSignalType(MCalibrateData::kPhe);470 }471 472 463 MBadPixelsCalc badcalc; 473 464 MBadPixelsTreat badtreat; … … 539 530 tlist.PrintStatistics(); 540 531 541 /* 542 MHCalibrationTestCam *hcam = (MHCalibrationTestCam*)plist.FindObject("MHCalibrationTestCam"); 543 MHCalibrationPix &pix1 = (*hcam)[47]; 544 pix1.DrawClone(""); 545 gPad->SaveAs("test_test_100.ps"); 546 547 MHCalibrationTestTimeCam *hccam = (MHCalibrationTestTimeCam*)plist.FindObject("MHCalibrationTestTimeCam"); 548 MHCalibrationPix &pix11 = (*hccam)[47]; 549 pix11.DrawClone(""); 550 gPad->SaveAs("test_testtime_100.ps"); 551 */ 532 if (fPixelCheck) 533 { 534 MHCalibrationTestCam *hcam = (MHCalibrationTestCam*)plist.FindObject("MHCalibrationTestCam"); 535 MHCalibrationPix &pix1 = (*hcam)[fCheckedPixId]; 536 pix1.DrawClone(""); 537 538 MHCalibrationTestTimeCam *hccam = (MHCalibrationTestTimeCam*)plist.FindObject("MHCalibrationTestTimeCam"); 539 MHCalibrationPix &pix11 = (*hccam)[fCheckedPixId]; 540 pix11.DrawClone(""); 541 } 552 542 553 543 DisplayResult(plist);
Note:
See TracChangeset
for help on using the changeset viewer.