Changeset 6680 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 02/25/05 18:08:21 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6676 r6680 55 55 #include "MPedestalCam.h" 56 56 #include "MBadPixelsCam.h" 57 #include "MArrivalTimeCam.h" 57 58 58 59 #include "MCalibrationQECam.h" … … 79 80 #include "MHCalibrationRelTimeCam.h" 80 81 #include "MHCalibrationPulseTimeCam.h" 82 #include "MHCalibrationHiLoCam.h" 81 83 #include "MHCamera.h" 82 84 … … 287 289 interlacedcont.Add(&hpndiod); 288 290 if (fIsRelTimesUpdate) 289 interlacedcont.Add(&hrelcam); 290 if (fIsHiLoCalibration) 291 interlacedcont.Add(&hilcam); 291 interlacedcont.Add(&hrelcam); 292 292 } 293 293 … … 395 395 plist.AddToList(&pedcambias); 396 396 plist.AddToList(&pedcamab); 397 398 MArrivalTimeCam timecam; 399 plist.AddToList(&timecam); 397 400 398 401 // Check for interleaved events … … 551 554 MHCamEvent evt6(2, "Unsuitable", "Fraction of unsuitable events per Pixel;;[1]"); 552 555 MHCamEvent evt7(0, "Times", "Calibrated Arrival Time;;T [fadc sl]"); 553 MHCamEvent evt8(2, "Conv", "Calibration Conv. Factors;;[phe/fadc cnts]"); 554 MHCamEvent evt9(0, "TimeTest", "Tested Arrival Time of Cherenkov Events;;[fadc sl]"); 556 MHCamEvent evt8(0, "Conv", "Calibration Conv. Factors;;[phe/fadc cnts]"); 555 557 556 558 evt0.EnableSqrtVariance(); … … 562 564 evt7.EnableSqrtVariance(); 563 565 evt8.EnableSqrtVariance(); 564 evt9.EnableSqrtVariance();565 566 566 567 MFillH fill0(&evt0, "MPedestalFundamental", "FillPedFLG"); … … 573 574 MFillH fill7(&evt7, "MArrivalTime", "FillTimes"); 574 575 MFillH fill8(&evt8, "MCalibConstCam", "FillConv"); 575 MFillH fill9(&evt9, "MCalibrationPulseTimeCam","FillPulseTime");576 576 577 577 MTaskEnv fillflorian("FinalFantasy"); … … 695 695 if (extractor2 || extractor1->InheritsFrom("MExtractTimeAndCharge")) 696 696 tlist2.AddToList(&fill7); 697 tlist2.AddToList(&fill9);698 697 699 698 tlist2.AddToList(&fillflorian); … … 750 749 DisplayResult(plist); 751 750 751 if (fPixelCheck) 752 { 753 MHCalibrationPulseTimeCam *pcam = (MHCalibrationPulseTimeCam*)plist.FindObject("MHCalibrationPulseCam"); 754 MHCalibrationPix &pix1 = (*pcam)[fCheckedPixId]; 755 pix1.DrawClone(""); 756 757 if (fIsHiLoCalibration) 758 { 759 MHCalibrationHiLoCam *hcam = (MHCalibrationHiLoCam*)plist.FindObject("MHCalibrationPulseCam"); 760 MHCalibrationPix &pix2 = (*hcam)[fCheckedPixId]; 761 pix2.DrawClone(""); 762 } 763 } 764 765 752 766 if (!WriteResult(interlacedcont)) 753 return kFALSE; 767 return kFALSE; 768 769 TObjArray addcont; 770 addcont.Add(&pulcam); 771 772 if (fIsHiLoCalibration) 773 addcont.Add(&hilcam); 774 775 if (!WriteResult(addcont)) 776 return kFALSE; 754 777 755 778 // return if job went ok
Note:
See TracChangeset
for help on using the changeset viewer.