ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger
TrigHypothesis
TrigHIHypo
python
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
(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
SystemOfUnits
TrigHIUCCHypoConfig.TrigHIUCCHypoToolFromDict
TrigHIUCCHypoToolFromDict(flags, chainDict)
Definition
TrigHIUCCHypoConfig.py:6
Generated on
for ATLAS Offline Software by
1.14.0