Skip to content
Snippets Groups Projects
Commit 2dc35468 authored by scott snyder's avatar scott snyder
Browse files

CaloMonitoring: Conditions dependency fix.

Calorimeter monitoring has a dependency on luminosity objects, but the old
configuration doesn't create these objects (new configuration does).
Set these up in the old configuration.
parent be3ae358
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,14 @@ def LArCellMonConfigOld(inputFlags):
else:
isMC=True
if not isMC:
from LumiBlockComps.LBDurationCondAlgDefault import LBDurationCondAlgDefault
LBDurationCondAlgDefault()
from LumiBlockComps.TrigLiveFractionCondAlgDefault import TrigLiveFractionCondAlgDefault
TrigLiveFractionCondAlgDefault()
from LumiBlockComps.LuminosityCondAlgDefault import LuminosityCondAlgDefault
LuminosityCondAlgDefault()
LArCellMonConfigCore(helper, LArCellMonAlg,inputFlags,isCosmics, isMC)
from AthenaMonitoring.AtlasReadyFilterTool import GetAtlasReadyFilterTool
......@@ -29,7 +37,6 @@ def LArCellMonConfigOld(inputFlags):
return helper.result()
def LArCellMonConfig(inputFlags):
from AthenaCommon.Logging import logging
mlog = logging.getLogger( 'LArCellMonConfig' )
......@@ -60,6 +67,8 @@ def LArCellMonConfig(inputFlags):
if inputFlags.Input.isMC is False:
from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
cfg.merge(LuminosityCondAlgCfg(inputFlags))
from LumiBlockComps.LBDurationCondAlgConfig import LBDurationCondAlgCfg
cfg.merge(LBDurationCondAlgCfg(inputFlags))
from AthenaConfiguration.ComponentFactory import CompFactory
lArCellMonAlg=CompFactory.LArCellMonAlg
......
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