ATLAS Offline Software
Loading...
Searching...
No Matches
python.HLT.HeavyIon.HeavyIonMenuSequences Namespace Reference

Functions

 egammaFSHIEventShapeMakerCfg (flags)
 HIFwdGapMenuSequenceGenCfg (flags)
 HIUCCMenuSequenceGenCfg (flags)

Function Documentation

◆ egammaFSHIEventShapeMakerCfg()

python.HLT.HeavyIon.HeavyIonMenuSequences.egammaFSHIEventShapeMakerCfg ( flags)

Definition at line 3 of file HeavyIonMenuSequences.py.

3def 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

◆ HIFwdGapMenuSequenceGenCfg()

python.HLT.HeavyIon.HeavyIonMenuSequences.HIFwdGapMenuSequenceGenCfg ( flags)

Definition at line 33 of file HeavyIonMenuSequences.py.

33def 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

◆ HIUCCMenuSequenceGenCfg()

python.HLT.HeavyIon.HeavyIonMenuSequences.HIUCCMenuSequenceGenCfg ( flags)

Definition at line 47 of file HeavyIonMenuSequences.py.

47def 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)