ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TriggerCommon
TriggerMenuMT
python
HLT
UnconventionalTracking
CommonConfiguration.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaCommon.Logging
import
logging
4
from
..CommonSequences.FullScanInDetConfig
import
commonInDetFullScanCfg,commonInDetLRTCfg
5
from
TriggerMenuMT.HLT.Config.MenuComponents
import
MenuSequence, SelectionCA, InEventRecoCA
6
from
AthenaConfiguration.ComponentFactory
import
CompFactory
7
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
8
9
10
logging.getLogger().info(
"Importing %s"
,__name__)
11
log = logging.getLogger(__name__)
12
13
# ---------------------
14
15
# This produces a menu sequence for a step that runs FS FTF tracking
16
# No selection is applied -- all rejection comes from subsequent steps
17
def
getFullScanRecoOnlySequenceGenCfg
(flags):
18
19
from
TrigStreamerHypo.TrigStreamerHypoConfig
import
StreamerHypoToolGenerator
20
21
selAcc = SelectionCA(
"UncTrkrecoSel"
)
22
23
from
TriggerMenuMT.HLT.Jet.JetMenuSequencesConfig
import
getTrackingInputMaker
24
reco = InEventRecoCA(
"UncTrkreco"
,inputMaker=getTrackingInputMaker(flags,
"ftf"
))
25
reco.mergeReco( commonInDetFullScanCfg(flags) )
26
selAcc.mergeReco( reco )
27
28
HypoAlg = CompFactory.TrigStreamerHypoAlg(
"UncTrkDummyStream"
)
29
selAcc.addHypoAlgo(HypoAlg)
30
31
log.debug(
"Building the menu sequence for FullScanRecoOnlySequence"
)
32
return
MenuSequence(flags,
33
selAcc,
34
HypoToolGen = StreamerHypoToolGenerator)
35
36
37
# This produces a ComponentAccumulator that can be incorporated into
38
# an InEventRecoCA downstream. A plain CA is returned so that it
39
# can be used in independent steps with more complex reco and different
40
# InputMakers etc.
41
def
getCommonInDetFullScanLRTCfg
(flags, flagsLRT):
42
combined_reco = ComponentAccumulator()
43
44
combined_reco.merge( commonInDetFullScanCfg(flags) )
45
combined_reco.merge( commonInDetLRTCfg(flags, flagsLRT) )
46
47
return
combined_reco
CommonConfiguration.getCommonInDetFullScanLRTCfg
getCommonInDetFullScanLRTCfg(flags, flagsLRT)
Definition
CommonConfiguration.py:41
CommonConfiguration.getFullScanRecoOnlySequenceGenCfg
getFullScanRecoOnlySequenceGenCfg(flags)
Definition
CommonConfiguration.py:17
Generated on
for ATLAS Offline Software by
1.17.0