ATLAS Offline Software
Functions
python.HLT.HeavyIon.HeavyIonMenuSequences Namespace Reference

Functions

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

Function Documentation

◆ egammaFSHIEventShapeMakerCfg()

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

Definition at line 3 of file HeavyIonMenuSequences.py.

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()

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

Definition at line 33 of file HeavyIonMenuSequences.py.

34  from ..Config.MenuComponents import InEventRecoCA, SelectionCA, MenuSequenceCA
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 MenuSequenceCA(flags, selAcc, HypoToolGen = TrigHIFwdGapHypoToolFromDict)
46 

◆ HIUCCMenuSequenceGenCfg()

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

Definition at line 47 of file HeavyIonMenuSequences.py.

47 def HIUCCMenuSequenceGenCfg(flags):
48  from ..Config.MenuComponents import InEventRecoCA, SelectionCA, MenuSequenceCA
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 MenuSequenceCA(flags, selAcc, HypoToolGen = TrigHIUCCHypoToolFromDict)
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TrigCaloRecConfig.hltCaloCellMakerCfg
def hltCaloCellMakerCfg(flags, name=None, roisKey='UNSPECIFIED', CellsName=None, monitorCells=False, doTau=False)
Definition: TrigCaloRecConfig.py:53
python.HLT.HeavyIon.HeavyIonMenuSequences.egammaFSHIEventShapeMakerCfg
def egammaFSHIEventShapeMakerCfg(flags)
Definition: HeavyIonMenuSequences.py:3
python.HLT.HeavyIon.HeavyIonMenuSequences.HIFwdGapMenuSequenceGenCfg
def HIFwdGapMenuSequenceGenCfg(flags)
Definition: HeavyIonMenuSequences.py:33
python.HLT.HeavyIon.HeavyIonMenuSequences.HIUCCMenuSequenceGenCfg
def HIUCCMenuSequenceGenCfg(flags)
Definition: HeavyIonMenuSequences.py:47
HLTSeedingConfig.mapThresholdToL1RoICollection
def mapThresholdToL1RoICollection(threshold)
Definition: HLTSeedingConfig.py:91
python.HLT.Egamma.TrigEgammaKeys.getTrigEgammaKeys
def getTrigEgammaKeys(AthConfigFlags flags, name='', ion=False)
Definition: TrigEgammaKeys.py:138