Skip to content
Snippets Groups Projects

TileMonitoring: Fix timing monitoring for Tile CIS calibration runs

Merged Siarhei Harkusha requested to merge harkusha/athena:24.0-tile-cis-time-mon into 24.0
2 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
2
#!/usr/bin/env python
#
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
#
'''
@@ -913,7 +913,7 @@ def getTileModuleTimeSlopeAndOffset(inputs):
if profile.GetBinError(xBin) > 1e-7:
binContent = profile.GetBinContent(xBin)
# Allow only 1 shift and only of negative sign
if (timeShift < 1) and (binContent - (lastBinContent + (xBin - lastBin))) < -15.0:
if (timeShift < 1) and (binContent - (lastBinContent + (xBin - lastBin))) < -10.0:
timeShift = 25.
lastBin = xBin
lastBinContent = binContent
Loading