ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
UnconventionalTracking
VrtSecInclusiveConfiguration.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
from
TriggerMenuMT.HLT.Config.MenuComponents
import
MenuSequence, SelectionCA, InEventRecoCA
3
from
AthenaCommon.Logging
import
logging
4
5
logging.getLogger().info(
"Importing %s"
,__name__)
6
log = logging.getLogger(__name__)
7
8
9
def
VrtSecInclusiveMenuSequenceGenCfg
(flags):
10
11
vsivtxname =
"HLT_TrigVSIVertex"
12
# Construct the full reco sequence
13
from
TriggerMenuMT.HLT.UnconventionalTracking.CommonConfiguration
import
getCommonInDetFullScanLRTCfg
14
from
TriggerMenuMT.HLT.Jet.JetMenuSequencesConfig
import
getTrackingInputMaker
15
reco = InEventRecoCA(
"UncFSVSIreco"
,inputMaker=getTrackingInputMaker(flags,
"ftf"
))
16
17
from
TrigInDetConfig.utils
import
cloneFlagsToActiveConfig
18
flagsLRT = cloneFlagsToActiveConfig(flags,
"fullScanLRT"
, log)
19
20
reco.mergeReco( getCommonInDetFullScanLRTCfg(flags, flagsLRT) )
21
22
from
TrigVrtSecInclusive.TrigVrtSecInclusiveConfig
import
TrigVrtSecInclusiveCfg
23
theVSI = TrigVrtSecInclusiveCfg(flags,
24
"TrigVrtSecInclusive"
,
25
flags.Tracking.ActiveConfig.tracks_FTF,
26
flags.Trigger.InDetTracking.fullScanLRT.tracks_FTF,
27
flags.Tracking.ActiveConfig.vertex,
28
vsivtxname,
29
"HLT_TrigVSITrkPair"
,recordTrkPair=
False
)
30
reco.mergeReco(theVSI)
31
32
# Construct the SelectionCA to hold reco + hypo
33
selAcc = SelectionCA(
"UncFSVSISeq"
)
34
from
TrigLongLivedParticlesHypo.TrigVrtSecInclusiveHypoConfig
import
TrigVSIHypoToolFromDict
35
from
TrigLongLivedParticlesHypo.TrigVrtSecInclusiveHypoConfig
import
createTrigVSIHypoAlgCfg
36
37
from
TrigEDMConfig.TriggerEDM
import
recordable
38
theHypoAlg = createTrigVSIHypoAlgCfg(flags,
"TrigVSIHypoAlg"
,
39
verticesKey=recordable(vsivtxname),
40
vtxCountKey = recordable(
"HLT_TrigVSI_VtxCount"
),
41
isViewBased=
False
)
42
selAcc.mergeReco(reco)
43
selAcc.addHypoAlgo(theHypoAlg)
44
45
log.info(
"Building the Step dictinary for TrigVSI!"
)
46
return
MenuSequence(flags,
47
selAcc,
48
HypoToolGen = TrigVSIHypoToolFromDict)
49
VrtSecInclusiveConfiguration.VrtSecInclusiveMenuSequenceGenCfg
VrtSecInclusiveMenuSequenceGenCfg(flags)
Definition
VrtSecInclusiveConfiguration.py:9
Generated on
for ATLAS Offline Software by
1.17.0