From cb4d524d04d8242b0b5533c932dea778e5c483cb Mon Sep 17 00:00:00 2001
From: Tadej Novak <tadej.novak@cern.ch>
Date: Tue, 23 Aug 2022 10:24:20 +0200
Subject: [PATCH] Fix for BunchCrossingCondAlgCfg

---
 LumiBlock/LumiBlockComps/python/BunchCrossingCondAlgConfig.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/LumiBlock/LumiBlockComps/python/BunchCrossingCondAlgConfig.py b/LumiBlock/LumiBlockComps/python/BunchCrossingCondAlgConfig.py
index 84256c52dad..7112ae7d17e 100644
--- a/LumiBlock/LumiBlockComps/python/BunchCrossingCondAlgConfig.py
+++ b/LumiBlock/LumiBlockComps/python/BunchCrossingCondAlgConfig.py
@@ -44,6 +44,8 @@ def BunchCrossingCondAlgCfg(configFlags):
             else:  # trust that we can use the in-file metadata
                 bgkey = ''
         else:
+            from TrigConfigSvc.TrigConfigSvcCfg import BunchGroupCondAlgCfg
+            result.merge(BunchGroupCondAlgCfg(configFlags))
             bgkey = 'L1BunchGroup'
     elif configFlags.Beam.BunchStructureSource == BunchStructureSource.Lumi:
         from .LuminosityCondAlgConfig import LuminosityCondAlgCfg
-- 
GitLab