Skip to content

Commit

Permalink
Increase sliiding window size to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Ostafin committed Dec 7, 2024
1 parent 6b992b9 commit 09e0bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CalibPPS/TimingCalibration/src/DoublePeakCorrection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ std::tuple<unsigned int, double, double> DoublePeakCorrection::findLsAndTimePeak

constexpr double tMinDiff{1.0};
if (firstPeakTWithMaxCount != 0.0 && std::abs(secondPeakTWithMaxCount - firstPeakTWithMaxCount) > tMinDiff) {
constexpr unsigned int minTDiffCount{3};
constexpr unsigned int minTDiffCount{5};
++tDiffCount;
if (tDiffCount == 1) {
doublePeakLs = lsBin;
Expand Down

0 comments on commit 09e0bb6

Please sign in to comment.