ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
UnconventionalTracking
FullScanLRTTrackingConfiguration.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
AthenaConfiguration.ComponentFactory
import
CompFactory
4
5
from
AthenaCommon.Logging
import
logging
6
7
logging.getLogger().info(
"Importing %s"
,__name__)
8
log = logging.getLogger(__name__)
9
10
11
def
FullScanLRTMenuSequenceGenCfg
(flags):
12
13
# Construct the full reco sequence
14
from
TriggerMenuMT.HLT.UnconventionalTracking.CommonConfiguration
import
getCommonInDetFullScanLRTCfg
15
from
TriggerMenuMT.HLT.Jet.JetMenuSequencesConfig
import
getTrackingInputMaker
16
reco = InEventRecoCA(
"UncFSLRTreco"
,inputMaker=getTrackingInputMaker(flags,
"ftf"
))
17
18
from
TrigInDetConfig.utils
import
cloneFlagsToActiveConfig
19
flagsLRT = cloneFlagsToActiveConfig(flags,
"fullScanLRT"
, log)
20
21
reco.mergeReco( getCommonInDetFullScanLRTCfg(flags, flagsLRT) )
22
23
from
..CommonSequences.FullScanDefs
import
trkFSRoI
24
from
TrigInDetConfig.TrigInDetConfig
import
trigInDetPrecisionTrackingCfg
25
reco.mergeReco(trigInDetPrecisionTrackingCfg(flagsLRT,
26
trkFSRoI,
27
flagsLRT.Tracking.ActiveConfig.input_name,
28
in_view=
False
))
29
30
# Construct the SelectionCA to hold reco + hypo
31
selAcc = SelectionCA(
"UncFSLRTSeq"
)
32
selAcc.mergeReco(reco)
33
34
from
TrigLongLivedParticlesHypo.TrigFullScanLRTHypoTool
import
TrigLRTHypoToolFromDict
35
from
TrigEDMConfig.TriggerEDM
import
recordable
36
37
theHypoAlg = CompFactory.FastTrackFinderLRTHypoAlg(
38
"FullScanLRTHypoAlg"
,
39
trackCountKey = recordable(
"HLT_FSLRT_TrackCount"
),
40
tracksKey = flags.Trigger.InDetTracking.fullScanLRT.tracks_IDTrig,
41
)
42
43
selAcc.addHypoAlgo(theHypoAlg)
44
45
log.info(
"Building the Step dictinary for FullScanLRT!"
)
46
return
MenuSequence(flags,
47
selAcc,
48
HypoToolGen = TrigLRTHypoToolFromDict)
49
FullScanLRTTrackingConfiguration.FullScanLRTMenuSequenceGenCfg
FullScanLRTMenuSequenceGenCfg(flags)
Definition
FullScanLRTTrackingConfiguration.py:11
Generated on
for ATLAS Offline Software by
1.17.0