diff --git a/Control/AthenaMonitoring/python/ExampleMonitorAlgorithm.py b/Control/AthenaMonitoring/python/ExampleMonitorAlgorithm.py index 21dc7d8c2d4af443a6506920f7b47ed18d4d04a9..47e972416c4563fc95dd2f29df89ec4e3cc1083d 100644 --- a/Control/AthenaMonitoring/python/ExampleMonitorAlgorithm.py +++ b/Control/AthenaMonitoring/python/ExampleMonitorAlgorithm.py @@ -81,7 +81,7 @@ def ExampleMonitoringConfig(inputFlags): ### STEP 5 ### # Configure histograms - myGroup.defineHistogram('lumiPerBCID',title='Luminosity","WithCommaInTitle;L/BCID;Events', + myGroup.defineHistogram('lumiPerBCID',title='Luminosity,WithCommaInTitle;L/BCID;Events', path='ToRuleThemAll',xbins=10,xmin=0.0,xmax=10.0) myGroup.defineHistogram('lb', title='Luminosity Block;lb;Events', path='ToFindThem',xbins=1000,xmin=-0.5,xmax=999.5,weight='testweight') diff --git a/Control/AthenaMonitoring/python/GenericMonitoringTool.py b/Control/AthenaMonitoring/python/GenericMonitoringTool.py index 4a591018ae1cda0ba32ed0b21c8c0fd31a39e729..524283b44fb24351624d8488a04d75331f0e133d 100644 --- a/Control/AthenaMonitoring/python/GenericMonitoringTool.py +++ b/Control/AthenaMonitoring/python/GenericMonitoringTool.py @@ -45,6 +45,7 @@ def defineHistogram(varname, type='TH1F', path=None, if title is None: title = varname + title = title.replace(',','","') # Commas used as delimiters, but "," is ok if athenaCommonFlags.isOnline() and type in ['TEfficiency']: log.warning('Histogram %s of type %s is not supported for online running and will not be added', varname, type)