3from AthenaConfiguration.ComponentFactory
import CompFactory
4from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
5from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InEventRecoCA
6from TrigEDMConfig.TriggerEDM
import recordable
7from TrigGenericAlgs.TrigGenericAlgsConfig
import TrigEventInfoRecorderAlgCfg
8from TrigHLTJetHypo.TrigJetHypoToolConfig
import trigJetTLAHypoToolFromDict
14 tlaJetInputMakerAlg = CompFactory.InputMakerForRoI(
"IMTLAJets_"+jetsIn)
15 tlaJetInputMakerAlg.RoITool = CompFactory.ViewCreatorPreviousROITool()
16 tlaJetInputMakerAlg.mergeUsingFeature =
True
19 recoAcc = InEventRecoCA(
"JetTLARecoSeq_"+jetsIn,inputMaker=tlaJetInputMakerAlg)
20 eventInfoRecorderAlgCfg = TrigEventInfoRecorderAlgCfg(flags, name=
"TrigEventInfoRecorderAlg_TLA",
21 decoratePFlowInfo=
True,
22 decorateEMTopoInfo=
True,
24 trigEventInfoKey=recordable(
"HLT_TCEventInfo_TLA"),
25 primaryVertexInputName=
"HLT_IDVertex_FS",
27 recoAcc.mergeReco(eventInfoRecorderAlgCfg)
34 jetsOut = recordable(jetsIn+
"_TLA")
37 hypo = CompFactory.TrigJetTLAHypoAlg(
"TrigJetTLAHypoAlg_"+jetsIn)
39 hypo.TLAOutputName = jetsOut
41 selAcc = SelectionCA(
"TrigJetTLAMainSeq_"+jetsIn)
42 selAcc.mergeReco(recoAcc)
43 selAcc.addHypoAlgo(hypo)
45 return MenuSequence( flags,
47 HypoToolGen = trigJetTLAHypoToolFromDict
JetTLAMenuSequenceGenCfg(flags, jetsIn)
JetTLASequenceCfg(flags, jetsIn)