Changeset 6676 for trunk


Ignore:
Timestamp:
02/25/05 16:19:13 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r6669 r6676  
    2121
    2222                                                 -*-*- END OF LINE -*-*-
     23
     24 2005/02/24 Markus Gaug
     25
     26   * mjobs/MJCalibrateSignal.cc
     27     - include display of pulse times (calculated in the post-process)
     28
    2329
    2430 2005/02/24 Thomas Hengstebeck
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r6626 r6676  
    264264    MHCalibrationChargePINDiode hpndiod;
    265265    MHCalibrationRelTimeCam     hrelcam;
    266     MHCalibrationPulseTimeCam   hpulcam;
    267266
    268267    MCalibrationChargeCam      calcam;
     
    574573    MFillH fill7(&evt7, "MArrivalTime",            "FillTimes");
    575574    MFillH fill8(&evt8, "MCalibConstCam",          "FillConv");
    576     MFillH fill9(&evt9, "MCalibrationPulseTimeCam","FillTestTime");
     575    MFillH fill9(&evt9, "MCalibrationPulseTimeCam","FillPulseTime");
    577576
    578577    MTaskEnv fillflorian("FinalFantasy");
     
    768767        return;
    769768
    770     if (!fIsHiLoCalibration)
    771       return;
    772 
    773769    //
    774770    // Get container from list
    775771    //
    776     MGeomCam        &geomcam = *(MGeomCam*)plist.FindObject("MGeomCam");
    777     MCalibrationHiLoCam *cam = (MCalibrationHiLoCam*)plist.FindObject("MCalibrationHiLoCam");
     772    MGeomCam        &geomcam       = *(MGeomCam*)plist.FindObject("MGeomCam");
     773    MCalibrationPulseTimeCam *pcam = (MCalibrationPulseTimeCam*)plist.FindObject("MCalibrationPulseTimeCam");
     774
     775    MHCamera disp11 (geomcam, "PulseTime", "Mean pulse arrival time cosmics");
     776    MHCamera disp21 (geomcam, "PulseTimeRMS", "RMS of pulse arrival time cosmics");
     777
     778    disp11.SetCamContent(*pcam,  0);
     779    disp11.SetCamError(  *pcam,  1);
     780    disp21.SetCamContent(*pcam,  2);
     781    disp21.SetCamError(  *pcam,  3);
     782
     783    disp11.SetYTitle("T [FADC sl.]");
     784    disp21.SetYTitle("T [FADC sl.]");
     785
     786    TCanvas &c0 = fDisplay->AddTab("PulseTime");
     787    c0.Divide(2,3);
     788   
     789    disp11.CamDraw(c0, 1, 2, 1);
     790    disp21.CamDraw(c0, 2, 2, 1);
     791
     792
     793    if (!fIsHiLoCalibration)
     794      return;
     795
     796    MCalibrationHiLoCam *hcam      = (MCalibrationHiLoCam*)plist.FindObject("MCalibrationHiLoCam");
    778797
    779798    // Create histograms to display
     
    781800    MHCamera disp2 (geomcam, "HiLoDiff", "Arrival Time Diff. HiGain vs. LoGain (Times)");
    782801
    783     disp1.SetCamContent(*cam,  0);
    784     disp1.SetCamError(  *cam,  1);
    785     disp2.SetCamContent(*cam,  5);
    786     disp2.SetCamError(  *cam,  6);
     802    disp1.SetCamContent(*hcam,  0);
     803    disp1.SetCamError(  *hcam,  1);
     804    disp2.SetCamContent(*hcam,  5);
     805    disp2.SetCamError(  *hcam,  6);
    787806
    788807    disp1.SetYTitle("R [1]");
Note: See TracChangeset for help on using the changeset viewer.