From 4ecab6968935bd791191549500ddd08d8551a875 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Sat, 23 Feb 2019 03:43:14 +0100
Subject: [PATCH] AthenaServices: Fix setting lbn in the event context in
 AthenaEventLoopMgr.

LBN wasn't being set in the event context in the no-selector case.
---
 Control/AthenaServices/src/AthenaEventLoopMgr.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Control/AthenaServices/src/AthenaEventLoopMgr.cxx b/Control/AthenaServices/src/AthenaEventLoopMgr.cxx
index ddd918515c4..8e08151e23d 100644
--- a/Control/AthenaServices/src/AthenaEventLoopMgr.cxx
+++ b/Control/AthenaServices/src/AthenaEventLoopMgr.cxx
@@ -687,8 +687,8 @@ StatusCode AthenaEventLoopMgr::executeEvent(void* /*par*/)
     pEventPtr = CxxUtils::make_unique<EventInfo>
       (new EventID(1,m_nevt), new EventType());
     pEvent = pEventPtr.get();
-    eventID=*(pEvent->event_ID());
     pEventPtr->event_ID()->set_lumi_block( m_nevt );
+    eventID=*(pEvent->event_ID());
     StatusCode sc = eventStore()->record(std::move(pEventPtr),"");
     if( !sc.isSuccess() )  {
       error() 
-- 
GitLab