The new TP format replaced time_over_threshold (TOT) with samples_over_threshold (SOT) and time_peak with samples_to_peak (STP). As a means to move on with the format change, various TA makers replaced references to TOT and time_peak by using a hard-coded conversion (* 32) from SOT to TOT and STP to time_peak.
Each of these conversions is marked with a FIXME comment and details on the problem, e.g.,
|
ta.time_end = latest_tp_in_window.time_start + latest_tp_in_window.samples_over_threshold * 32; // FIXME: Replace the hard-coded SOT to TOT scaling. |
The new TP format replaced
time_over_threshold(TOT) withsamples_over_threshold(SOT) andtime_peakwithsamples_to_peak(STP). As a means to move on with the format change, various TA makers replaced references to TOT andtime_peakby using a hard-coded conversion (* 32) from SOT to TOT and STP totime_peak.Each of these conversions is marked with a
FIXMEcomment and details on the problem, e.g.,triggeralgs/src/TAMakerADCSimpleWindowAlgorithm.cpp
Line 92 in 233b3e1