Skip to content
Snippets Groups Projects
Commit 8b3a808d authored by Maciej Pawel Szymanski's avatar Maciej Pawel Szymanski Committed by Frank Winklmeier
Browse files

Set proper EventInfoKey for PileUpPresampling step

Set proper EventInfoKey for PileUpPresampling step
parent 4a866a72
No related branches found
No related tags found
1 merge request!66563Set proper EventInfoKey for PileUpPresampling step
......@@ -5,7 +5,7 @@ from dataclasses import dataclass, field
from AthenaCommon.Logging import logging
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.Enums import Format, MetadataCategory
from AthenaConfiguration.Enums import Format, MetadataCategory, ProductionStep
from OutputStreamAthenaPool.OutputStreamConfig import addToMetaData
......@@ -125,7 +125,9 @@ def propagateMetaData(flags, streamName="", category=None, *args, **kwargs):
f"{outputStreamName}_MakeEventStreamInfo",
Key=outputStreamName,
DataHeaderKey=outputStreamName,
EventInfoKey="EventInfo",
EventInfoKey=f"{flags.Overlay.BkgPrefix}EventInfo"
if flags.Common.ProductionStep == ProductionStep.PileUpPresampling
else "EventInfo",
)
tools.mdItems += [
f"EventStreamInfo#{outputStreamName}",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment