ATLAS Offline Software
Simulation
Overlay
TrackOverlay
TrackOverlayRec
python
TrackOverlayRecoConfig.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.CFElements
import
seqAND, parOR
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
from
TrackOverlayRec.TrackOverlayEventFilterConfig
import
TrackOverlayDecisionAlgCfg, InvertedTrackOverlayDecisionAlgCfg
6
from
InDetConfig.TrackRecoConfig
import
InDetTrackRecoCfg
7
8
def
TrackOverlayRecoCfg
(flags):
9
acc =
ComponentAccumulator
()
10
acc.addSequence(
seqAND
(
"MOSequence"
), parentName=
'AthAlgSeq'
)
11
acc.merge(
TrackOverlayDecisionAlgCfg
(flags), sequenceName=
'MOSequence'
)
12
acc.addSequence(
parOR
(
'WorkMOSequence'
), parentName=
'MOSequence'
)
13
flagsMO = flags.cloneAndReplace(
"TrackOverlay.ActiveConfig"
,
"TrackOverlay.MCOverlayConfig"
)
14
acc.merge(
InDetTrackRecoCfg
(flagsMO), sequenceName=
'WorkMOSequence'
)
15
16
acc.addSequence(
seqAND
(
"TOSequence"
), parentName=
'AthAlgSeq'
)
17
acc.merge(
InvertedTrackOverlayDecisionAlgCfg
(flags), sequenceName=
'TOSequence'
)
18
acc.addSequence(
parOR
(
'WorkTOSequence'
), parentName=
'TOSequence'
)
19
flagsTO = flags.cloneAndReplace(
"TrackOverlay.ActiveConfig"
,
"TrackOverlay.TrackOverlayConfig"
)
20
acc.merge(
InDetTrackRecoCfg
(flagsTO), sequenceName=
'WorkTOSequence'
)
21
return
acc
TrackOverlayRecoConfig.TrackOverlayRecoCfg
def TrackOverlayRecoCfg(flags)
Definition:
TrackOverlayRecoConfig.py:8
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition:
JetAnalysisCommon.py:302
TrackOverlayEventFilterConfig.TrackOverlayDecisionAlgCfg
def TrackOverlayDecisionAlgCfg(flags, name="TrackOverlayDecisionAlg", **kwargs)
Definition:
TrackOverlayEventFilterConfig.py:5
TrackOverlayEventFilterConfig.InvertedTrackOverlayDecisionAlgCfg
def InvertedTrackOverlayDecisionAlgCfg(flags, name="InvertedTrackOverlayDecisionAlg", **kwargs)
Definition:
TrackOverlayEventFilterConfig.py:11
python.CFElements.seqAND
def seqAND(name, subs=[])
Definition:
CFElements.py:25
python.JetAnalysisCommon.parOR
parOR
Definition:
JetAnalysisCommon.py:271
python.TrackRecoConfig.InDetTrackRecoCfg
def InDetTrackRecoCfg(flags)
Main ID tracking config #####################.
Definition:
TrackRecoConfig.py:791
Generated on Mon Dec 23 2024 21:20:40 for ATLAS Offline Software by
1.8.18