3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.AccumulatorCache
import AccumulatorCache
5 from AthenaConfiguration.AthConfigFlags
import AthConfigFlags
7 from TrigInDetConfig.utils
import getFlagsForActiveConfig
8 from TrigInDetConfig.TrigInDetConfig
import trigInDetFastTrackingCfg, trigInDetLRTCfg
9 from InDetConfig.InDetPriVxFinderConfig
import InDetTrigPriVxFinderCfg
11 from AthenaCommon.Logging
import logging
12 from AthenaCommon.CFElements
import parOR
14 logging.getLogger().
info(
"Importing %s",__name__)
15 log = logging.getLogger(__name__)
17 from .FullScanDefs
import trkFSRoI
22 seqname=
'TrigInDetFullScan'
23 acc.addSequence(
parOR(seqname),primary=
True)
30 signatureName=
'fullScan',
37 "inputTracks": flagsWithTrk.Tracking.ActiveConfig.tracks_FTF,
38 "outputVtx": flagsWithTrk.Tracking.ActiveConfig.vertex_jet,
40 if flags.Trigger.FSTrk.doJetRestrictedVertexSort:
41 from TrkConfig.TrkVertexToolsConfig
import JetRestrictedSumPt2VertexCollectionSortingToolCfg
42 from TrkConfig.TrkVertexWeightCalculatorsConfig
import JetRestrictedSumPt2VertexWeightCalculatorCfg
45 JetContainer=
'HLT_AntiKt4EMTopoJets_subjesIS',
46 TrackParticleLocation=flagsWithTrk.Tracking.ActiveConfig.tracks_FTF,
47 PlainSumPtDecor=
'UnrestrictedSumPt'
49 jetcalc = jetcalccfg.popPrivateTools()
53 VertexWeightCalculator=jetcalc
55 vxsort = acc.popToolsAndMerge(vxsortcfg)
56 vxkwargs[
"VertexCollectionSortingTool"] = vxsort
58 from TrkConfig.TrkVertexToolsConfig
import SumPt2VertexCollectionSortingToolCfg
60 from InDetPriVxFinder.ResortVerticesConfig
import ResortVerticesCfg
63 flagsWithTrk.Tracking.ActiveConfig.vertex_jet,
64 "HLT_IDVertex_FS_origsumpt",
80 flagsLRT : AthConfigFlags,
81 rois : str = trkFSRoI) -> ComponentAccumulator:
84 seqname =
'TrigInDetLRT_'+flagsLRT.Tracking.ActiveConfig.name
85 acc.addSequence(
parOR(seqname),primary=
True)
90 flags.Tracking.ActiveConfig.trkTracks_FTF,