From 7ed57c3c0f3747abccd47f14cdee6fa0b5910c9d Mon Sep 17 00:00:00 2001 From: Tadej Novak <tadej.novak@cern.ch> Date: Mon, 3 Aug 2020 09:21:29 +0200 Subject: [PATCH] Fix DoubleEventSelector tests --- .../AthenaPoolTest/share/AthenaPoolTestReadDoubleSelector.py | 5 +++++ .../share/AthenaPoolTestStep2WriteDoubleSelector.py | 5 +++++ .../AthenaPoolTest/share/DoubleEventSelectorOverlayTest.py | 5 +++++ .../AthenaPoolTest/share/ReadRDODoubleSelector.py | 5 +++++ 4 files changed, 20 insertions(+) diff --git a/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestReadDoubleSelector.py b/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestReadDoubleSelector.py index 620cb10f8c0..30a5ee5da0f 100644 --- a/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestReadDoubleSelector.py +++ b/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestReadDoubleSelector.py @@ -23,6 +23,11 @@ from AthenaCommon.AppMgr import ServiceMgr as svcMgr ## get a handle to the ApplicationManager from AthenaCommon.AppMgr import theApp +# Set that we are running MC+MC overlay in MT mode +from OverlayCommonAlgs.OverlayFlags import overlayFlags +overlayFlags.isDataOverlay.set_Value_and_Lock(False) +overlayFlags.isOverlayMT.set_Value_and_Lock(True) + #-------------------------------------------------------------- # Load POOL support for DoubleEventSelector #-------------------------------------------------------------- diff --git a/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestStep2WriteDoubleSelector.py b/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestStep2WriteDoubleSelector.py index 3e02a527833..705fac1159e 100644 --- a/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestStep2WriteDoubleSelector.py +++ b/AtlasTest/DatabaseTest/AthenaPoolTest/share/AthenaPoolTestStep2WriteDoubleSelector.py @@ -24,6 +24,11 @@ from AthenaCommon.AppMgr import theApp ## get a handle to the ServiceManager from AthenaCommon.AppMgr import ServiceMgr as svcMgr +# Set that we are running MC+MC overlay in MT mode +from OverlayCommonAlgs.OverlayFlags import overlayFlags +overlayFlags.isDataOverlay.set_Value_and_Lock(False) +overlayFlags.isOverlayMT.set_Value_and_Lock(True) + #-------------------------------------------------------------- # Load POOL support for DoubleEventSelector #-------------------------------------------------------------- diff --git a/AtlasTest/DatabaseTest/AthenaPoolTest/share/DoubleEventSelectorOverlayTest.py b/AtlasTest/DatabaseTest/AthenaPoolTest/share/DoubleEventSelectorOverlayTest.py index 1d4973c2165..244b2c99d0d 100644 --- a/AtlasTest/DatabaseTest/AthenaPoolTest/share/DoubleEventSelectorOverlayTest.py +++ b/AtlasTest/DatabaseTest/AthenaPoolTest/share/DoubleEventSelectorOverlayTest.py @@ -23,6 +23,11 @@ from AthenaCommon.AppMgr import ServiceMgr as svcMgr # get a handle to the ApplicationManager from AthenaCommon.AppMgr import theApp +# Set that we are running MC+MC overlay in MT mode +from OverlayCommonAlgs.OverlayFlags import overlayFlags +overlayFlags.isDataOverlay.set_Value_and_Lock(False) +overlayFlags.isOverlayMT.set_Value_and_Lock(True) + #-------------------------------------------------------------- # Load POOL support for DoubleEventSelector #-------------------------------------------------------------- diff --git a/AtlasTest/DatabaseTest/AthenaPoolTest/share/ReadRDODoubleSelector.py b/AtlasTest/DatabaseTest/AthenaPoolTest/share/ReadRDODoubleSelector.py index 50f812c8b82..1cfb91e267f 100644 --- a/AtlasTest/DatabaseTest/AthenaPoolTest/share/ReadRDODoubleSelector.py +++ b/AtlasTest/DatabaseTest/AthenaPoolTest/share/ReadRDODoubleSelector.py @@ -23,6 +23,11 @@ from AthenaCommon.AppMgr import ServiceMgr as svcMgr ## get a handle to the ApplicationManager from AthenaCommon.AppMgr import theApp +# Set that we are running MC+MC overlay in MT mode +from OverlayCommonAlgs.OverlayFlags import overlayFlags +overlayFlags.isDataOverlay.set_Value_and_Lock(False) +overlayFlags.isOverlayMT.set_Value_and_Lock(True) + #-------------------------------------------------------------- # Load POOL support for DoubleEventSelector #-------------------------------------------------------------- -- GitLab