ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_CalibrationConfig.py
Go to the documentation of this file.
1"""Define calibration tools used on the digitization and reconstruction chains
2
3Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4"""
5from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
6from AthenaConfiguration.ComponentFactory import CompFactory
7
8
9def HGTD_TdcCalibrationToolCfg(flags, name="HGTD_TdcCalibrationTool", **kwargs):
10 acc = ComponentAccumulator()
11
12 kwargs.setdefault("PS_ActiveRange", 2.5)
13 kwargs.setdefault("LHC_RiseEdge", 12.5)
14 kwargs.setdefault("PS_LargeStep", 1.562)
15 kwargs.setdefault("PS_SmallStep", 0.097)
16 kwargs.setdefault("TOABinSize", 0.02)
17 acc.setPrivateTools(CompFactory.HGTD_TdcCalibrationTool(name, **kwargs))
18 return acc
19
20
21def HGTD_TimeResolutionToolCfg(flags, name="HGTD_TimeResolutionTool", **kwargs):
22 acc = ComponentAccumulator()
23
24 acc.setPrivateTools(CompFactory.HGTD_TimeResolutionTool(name, **kwargs))
25 return acc
HGTD_TimeResolutionToolCfg(flags, name="HGTD_TimeResolutionTool", **kwargs)
HGTD_TdcCalibrationToolCfg(flags, name="HGTD_TdcCalibrationTool", **kwargs)