3 from AthenaConfiguration.ComponentFactory
import CompFactory
4 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
5 from TriggerMenuMT.HLT.Config.MenuComponents
import MenuSequence, SelectionCA, InEventRecoCA
6 from TrigEDMConfig.TriggerEDM
import recordable
7 from TrigGenericAlgs.TrigGenericAlgsConfig
import TrigEventInfoRecorderAlgCfg
8 from 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)
21 decoratePFlowInfo=
True,
22 decorateEMTopoInfo=
True,
24 trigEventInfoKey=
recordable(
"HLT_TCEventInfo_TLA"),
25 primaryVertexInputName=
"HLT_IDVertex_FS",
27 recoAcc.mergeReco(eventInfoRecorderAlgCfg)
38 hypo = CompFactory.TrigJetTLAHypoAlg(
"TrigJetTLAHypoAlg_"+jetsIn)
39 hypo.AttachBtag = attachBtag
40 btagJetTool = CompFactory.TrigBtagTLATool(
"BtagTLATool_"+jetsIn)
43 btagJetTool.TLAOutputBTaggingCollection =
recordable(jetsOut+
"_BTagging")
45 hypo.BtagJetTool = btagJetTool
46 hypo.TLAOutputName = jetsOut
48 selAcc = SelectionCA(
"TrigJetTLAMainSeq_"+jetsIn)
49 selAcc.mergeReco(recoAcc)
50 selAcc.addHypoAlgo(hypo)
52 return MenuSequence( flags,
54 HypoToolGen = trigJetTLAHypoToolFromDict