Changeset 19674 for trunk


Ignore:
Timestamp:
09/24/19 15:21:29 (5 years ago)
Author:
tbretz
Message:
Correct for the difference between teh pulse Xmin and X=0 so that 0 is really the time of the first photon w.r.t. to X=0
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mjobs/MJSimulation.cc

    r19667 r19674  
    720720    SetupHist(mhn4);
    721721
    722     MH3 mhtp("TriggerPos.fVal-IntendedPulsePos.fVal-PulseShape.GetWidth*1000/MRawRunHeader.GetFreqSampling");
     722    MH3 mhtp("TriggerPos.fVal-IntendedPulsePos.fVal-(PulseShape.GetWidth-PulseShape.GetXmin)*1000/MRawRunHeader.GetFreqSampling");
    723723    mhtp.SetName("TrigPos");
    724724    mhtp.SetTitle("Trigger position w.r.t. the first photon hitting a detector [ns]");
Note: See TracChangeset for help on using the changeset viewer.