ATLAS Offline Software
Simulation
Overlay
OverlayConfiguration
python
OverlayConfigFlags.py
Go to the documentation of this file.
1
"""Construct Overlay configuration flags
2
3
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4
"""
5
6
from
AthenaConfiguration.AthConfigFlags
import
AthConfigFlags
7
8
9
def
createOverlayConfigFlags
():
10
"""Return an AthConfigFlags object with required flags"""
11
flags = AthConfigFlags()
12
# Data overlay flag
13
flags.addFlag(
"Overlay.DataOverlay"
,
False
)
14
# Overlay skip secondary events
15
flags.addFlag(
"Overlay.SkipSecondaryEvents"
, -1)
16
# Overlay flag when reading from ByteStream
17
flags.addFlag(
"Overlay.ByteStream"
,
False
)
18
# Overlay background StoreGate key prefix
19
flags.addFlag(
"Overlay.BkgPrefix"
,
"Bkg_"
)
20
# Overlay signal StoreGate key prefix
21
flags.addFlag(
"Overlay.SigPrefix"
,
"Sig_"
)
22
# Overlay extra input dependencies
23
flags.addFlag(
"Overlay.ExtraInputs"
, [(
"McEventCollection"
,
"TruthEvent"
)])
24
# track overlay flag
25
flags.addFlag(
"Overlay.doTrackOverlay"
,
False
)
26
return
flags
python.OverlayConfigFlags.createOverlayConfigFlags
def createOverlayConfigFlags()
Definition:
OverlayConfigFlags.py:9
Generated on Sun Dec 22 2024 21:15:52 for ATLAS Offline Software by
1.8.18