Skip to content
Snippets Groups Projects
Commit af8c8898 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'master-l1calo-monitoring-updates' into 'master'

l1calo monitoring update to prevent crash on MC

See merge request atlas/athena!34674
parents 105e743f 98ca64a6
No related branches found
No related tags found
No related merge requests found
...@@ -14,11 +14,13 @@ def LVL1CaloMonitoringConfig(flags): ...@@ -14,11 +14,13 @@ def LVL1CaloMonitoringConfig(flags):
result = ComponentAccumulator() result = ComponentAccumulator()
isData = not flags.Input.isMC
# monitoring algorithm configs # monitoring algorithm configs
# do not run in RAW->ESD, or AOD-only # do not run on MC or RAW->ESD(tier0), or AOD-only
if flags.DQ.Environment not in ('tier0Raw', 'AOD'): if isData and flags.DQ.Environment not in ('tier0Raw', 'AOD'):
from TrigT1CaloMonitoring.CpmMonitorAlgorithm import CpmMonitoringConfig from TrigT1CaloMonitoring.CpmMonitorAlgorithm import CpmMonitoringConfig
result.merge(CpmMonitoringConfig(flags))
result.merge(CpmMonitoringConfig(flags))
return result return result
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