From d8734da3202fa3f2e9899993ca9af7d40dc1e580 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Sat, 16 May 2020 17:51:58 +0200
Subject: [PATCH] RecExCommon: Enable LumiBlockMuWriter for cosmics.

It will fill the decorations with 0 in this case.
---
 .../RecExample/RecExCommon/share/RecExCommon_topOptions.py      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py b/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py
index d2b6b134d25..071ecb68d6d 100644
--- a/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py
+++ b/Reconstruction/RecExample/RecExCommon/share/RecExCommon_topOptions.py
@@ -599,7 +599,7 @@ if rec.doESD() and rec.readRDO():
     if globalflags.DataSource()=='geant4':
         include_muwriter = hasattr( condSeq, "xAODMaker::EventInfoCnvAlg" )
     else:
-        include_muwriter = jobproperties.Beam.beamType()=="collisions" and not athenaCommonFlags.isOnline()
+        include_muwriter = not athenaCommonFlags.isOnline()
 
     if include_muwriter:
         try:
-- 
GitLab