ATLAS Offline Software
Trigger
TrigHypothesis
TrigHIHypo
python
TrigHIFwdGapHypoConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentFactory
import
CompFactory
4
5
def
TrigHIFwdGapHypoToolFromDict
(flags, chainDict):
6
"""Configure the FCal-based forward gap hypo tool"""
7
8
tool = CompFactory.TrigHIFwdGapHypoTool(chainDict[
'chainName'
])
9
10
FgapInfo = chainDict[
'chainParts'
][0][
'hypoFgapInfo'
][0]
11
if
'AC'
in
FgapInfo:
12
tool.maxFCalEt =
int
(FgapInfo.strip(
'FgapAC'
))
13
tool.useDoubleSidedGap =
True
14
elif
'A'
in
FgapInfo:
15
tool.maxFCalEt =
int
(FgapInfo.strip(
'FgapA'
))
16
tool.useSideA =
True
17
elif
'C'
in
FgapInfo:
18
tool.maxFCalEt =
int
(FgapInfo.strip(
'FgapC'
))
19
tool.useSideA =
False
20
21
return
tool
22
TrigHIFwdGapHypoConfig.TrigHIFwdGapHypoToolFromDict
def TrigHIFwdGapHypoToolFromDict(flags, chainDict)
Definition:
TrigHIFwdGapHypoConfig.py:5
python.CaloAddPedShiftConfig.int
int
Definition:
CaloAddPedShiftConfig.py:45
Generated on Tue Sep 2 2025 21:24:23 for ATLAS Offline Software by
1.8.18