ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
HeavyIon
HeavyIonMenuSequences.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
def
egammaFSHIEventShapeMakerCfg
(flags):
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
from
AthenaConfiguration.ComponentFactory
import
CompFactory
6
from
TrigCaloRec.TrigCaloRecConfig
import
hltCaloCellMakerCfg
7
from
HLTSeeding.HLTSeedingConfig
import
mapThresholdToL1RoICollection
8
from
TriggerMenuMT.HLT.Egamma.TrigEgammaKeys
import
getTrigEgammaKeys
9
10
acc = ComponentAccumulator()
11
cellMakerAcc = hltCaloCellMakerCfg(flags,
'HLTCaloCellMakerEGFS'
,
12
roisKey = mapThresholdToL1RoICollection(
'FSNOSEED'
),
13
CellsName =
'CaloCellsEGFS'
, monitorCells=
False
)
14
15
acc.merge(cellMakerAcc)
16
# configure HI Event Shape by hand,
17
# in future need to reuse one from HIGlobal.HIGlobalConfig (will need more args & dependency on flags)
18
eventShapeFiller = CompFactory.HIEventShapeFillerTool(
19
EventShapeMapTool = CompFactory.HIEventShapeMapTool())
20
21
eventShapeMakerAlg = CompFactory.HIEventShapeMaker(
'HLTEventShapeMakerEG'
,
22
HIEventShapeFillerTool = eventShapeFiller,
23
InputCellKey=cellMakerAcc.getPrimary().CellsName,
24
NaviTowerKey=
""
,
25
InputTowerKey=
""
,
26
OutputContainerKey=getTrigEgammaKeys(flags, ion=
True
).egEventShape)
27
28
acc.addEventAlgo(eventShapeMakerAlg)
29
return
acc
30
31
32
33
def
HIFwdGapMenuSequenceGenCfg
(flags):
34
from
..Config.MenuComponents
import
InEventRecoCA, SelectionCA, MenuSequence
35
from
AthenaConfiguration.ComponentFactory
import
CompFactory
36
from
TrigHIHypo.TrigHIFwdGapHypoConfig
import
TrigHIFwdGapHypoToolFromDict
37
38
recoAcc = InEventRecoCA(
"HIEventShapeReco"
)
39
recoAcc.mergeReco(
egammaFSHIEventShapeMakerCfg
(flags))
40
41
selAcc = SelectionCA(
"HLFwdGapSel"
)
42
selAcc.mergeReco(recoAcc)
43
selAcc.addHypoAlgo(CompFactory.TrigHIEventShapeHypoAlg())
44
45
return
MenuSequence(flags, selAcc, HypoToolGen = TrigHIFwdGapHypoToolFromDict)
46
47
def
HIUCCMenuSequenceGenCfg
(flags):
48
from
..Config.MenuComponents
import
InEventRecoCA, SelectionCA, MenuSequence
49
from
AthenaConfiguration.ComponentFactory
import
CompFactory
50
from
TrigHIHypo.TrigHIUCCHypoConfig
import
TrigHIUCCHypoToolFromDict
51
52
recoAcc = InEventRecoCA(
"HIEventShapeReco"
)
53
recoAcc.mergeReco(
egammaFSHIEventShapeMakerCfg
(flags))
54
55
selAcc = SelectionCA(
"HIUCCSel"
)
56
selAcc.mergeReco(recoAcc)
57
selAcc.addHypoAlgo(CompFactory.TrigHIEventShapeHypoAlg())
58
59
return
MenuSequence(flags, selAcc, HypoToolGen = TrigHIUCCHypoToolFromDict)
python.HLT.HeavyIon.HeavyIonMenuSequences.HIFwdGapMenuSequenceGenCfg
HIFwdGapMenuSequenceGenCfg(flags)
Definition
HeavyIonMenuSequences.py:33
python.HLT.HeavyIon.HeavyIonMenuSequences.egammaFSHIEventShapeMakerCfg
egammaFSHIEventShapeMakerCfg(flags)
Definition
HeavyIonMenuSequences.py:3
python.HLT.HeavyIon.HeavyIonMenuSequences.HIUCCMenuSequenceGenCfg
HIUCCMenuSequenceGenCfg(flags)
Definition
HeavyIonMenuSequences.py:47
Generated on
for ATLAS Offline Software by
1.17.0