ATLAS Offline Software
TrigHIUCCHypoConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentFactory import CompFactory
4 from AthenaCommon.SystemOfUnits import GeV
5 
6 def TrigHIUCCHypoToolFromDict(chainDict):
7  """Configure the ultra-central collisions hypo tool"""
8 
9  tool = CompFactory.TrigHIUCCHypoTool(chainDict['chainName'])
10 
11  UCCInfo = chainDict['chainParts'][0]['hypoUCCInfo'][0]
12 
13  UCC_th = {"Th1": 3730*GeV,
14  "Th2": 4280*GeV,
15  "Th3": 4503*GeV }
16 
17  tool.FCalEtThreshold = UCC_th[UCCInfo.removeprefix('ucc')]
18 
19  return tool
SystemOfUnits
TrigHIUCCHypoConfig.TrigHIUCCHypoToolFromDict
def TrigHIUCCHypoToolFromDict(chainDict)
Definition: TrigHIUCCHypoConfig.py:6