ATLAS Offline Software
Loading...
Searching...
No Matches
TrigHIUCCHypoConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from AthenaCommon.SystemOfUnits import GeV
5
6def TrigHIUCCHypoToolFromDict(flags, 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
TrigHIUCCHypoToolFromDict(flags, chainDict)