Changeset 6731
- Timestamp:
- 03/03/05 22:24:52 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6730 r6731 37 37 ware meeting. 38 38 39 * mjobs/MJCalibrateSignal.cc 40 - updated pulse pos. calculator, can be switched off now. 41 39 42 * mjobs/MJCalib.[h,cc] 40 43 - added flag fPulsePosCheck -
trunk/MagicSoft/Mars/callisto.cc
r6604 r6731 507 507 job2.SetPathIn(kInpathY); 508 508 job2.SetDataType(kDataType); 509 job2.SetPulsePosCheck(); 509 510 // job1.SetPathOut(kOutpathC); // not yet needed 510 511 // job1.SetPathIn(kInpathC); // not yet needed -
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r6700 r6731 122 122 // - fIsRelTimesUpdate to kFALSE 123 123 // - fIsHiLoCalibration to kFALSE 124 // - fPulsePosCheck to kTRUE 124 125 // 125 126 MJCalibrateSignal::MJCalibrateSignal(const char *name, const char *title) … … 129 130 fTitle = title ? title : "Tool to calibrate data"; 130 131 132 fPulsePosCheck = kTRUE; 131 133 //fCruns = NULL; 132 134 } … … 549 551 MFillH filtme("MHCalibrationRelTimeCam", "MArrivalTimeCam", "FillRelTime"); 550 552 MFillH filhil("MHCalibrationHiLoCam", "MExtractedSignalCam", "FillHiLoRatio"); 551 MFillH filpul("MHCalibrationPulseTimeCam", "M ExtractedSignalCam","FillPulseTime");553 MFillH filpul("MHCalibrationPulseTimeCam", "MRawEvtData", "FillPulseTime"); 552 554 553 555 filpin.SetBit(MFillH::kDoNotDisplay); … … 703 705 if (fIsHiLoCalibration) 704 706 tlist2.AddToList(&filhil); 705 tlist2.AddToList(&filpul); 707 if (fPulsePosCheck) 708 tlist2.AddToList(&filpul); 706 709 tlist2.AddToList(&fill2); 707 710 tlist2.AddToList(&calib); … … 774 777 if (fPixelCheck) 775 778 { 776 MHCalibrationPulseTimeCam *pcam = (MHCalibrationPulseTimeCam*)plist.FindObject("MHCalibrationPulseTimeCam"); 777 MHCalibrationPix &pix1 = (*pcam)[fCheckedPixId]; 778 pix1.DrawClone(""); 779 779 if (fPulsePosCheck) 780 { 781 MHCalibrationPulseTimeCam *pcam = (MHCalibrationPulseTimeCam*)plist.FindObject("MHCalibrationPulseTimeCam"); 782 MHCalibrationPix &pix1 = (*pcam)[fCheckedPixId]; 783 pix1.DrawClone(""); 784 } 785 780 786 if (fIsHiLoCalibration) 781 787 { … … 828 834 MHCamera disp21 (geomcam, "PulseTimeRMS", "RMS of pulse arrival time cosmics"); 829 835 830 disp11.SetCamContent(*pcam, 0); 831 disp11.SetCamError( *pcam, 1); 832 disp21.SetCamContent(*pcam, 2); 833 disp21.SetCamError( *pcam, 3); 834 836 if (pcam) 837 { 838 disp11.SetCamContent(*pcam, 0); 839 disp11.SetCamError( *pcam, 1); 840 disp21.SetCamContent(*pcam, 2); 841 disp21.SetCamError( *pcam, 3); 842 } 843 835 844 disp11.SetYTitle("T [FADC sl.]"); 836 845 disp21.SetYTitle("T [FADC sl.]"); 837 846 838 TCanvas &c0 = fDisplay->AddTab("PulseTime"); 839 c0.Divide(2,3); 840 841 disp11.CamDraw(c0, 1, 2, 1); 842 disp21.CamDraw(c0, 2, 2, 1); 843 847 if (fPulsePosCheck) 848 { 849 TCanvas &c0 = fDisplay->AddTab("PulseTime"); 850 c0.Divide(2,3); 851 852 disp11.CamDraw(c0, 1, 2, 1); 853 disp21.CamDraw(c0, 2, 2, 1); 854 } 844 855 845 856 if (!fIsHiLoCalibration)
Note:
See TracChangeset
for help on using the changeset viewer.