Skip to content
Snippets Groups Projects

TriggerJobOpts: cleanup TriggerConfigGetter and flags

Merged Frank Winklmeier requested to merge fwinkl/athena:tf_datataking into master
8 files
+ 54
328
Compare changes
  • Side-by-side
  • Inline
Files
8
  • - Replace `TriggerFlags.dataTakingConditions` by
      `ConfigFlags.Trigger.enabledSystems`: this flag is used to indicate
      the trigger systems that are enabled during reconstruction. It is set
      based on the L1/HLT keys in COOL or the metadata in the input file.
    - Remove obsolete metadataItems setting (the key names are not relevant
      anymore, and we are setting this elsewhere already).
    - Deprecate `TriggerFlags.configForStartup`: this flag was used to
      indicate whether trigger keys can be found in COOL. But this is
      essentially the same check as `enabledSystems` performs already.
    
    I did not re-implement the setting of the `DQMonFlags` based on the
    available systems. If this is really needed still for the legacy
    monitoring it should be done in the relevant DQ job options.
@@ -236,12 +236,6 @@ if len(rec.AutoConfiguration())>0:
#special commisioning job options
if rec.Commissioning():
include("RecExCond/MinimalCommissioningSetup.py")
# setup trigger reading from COOL
if rec.doTrigger():
from TriggerJobOpts.TriggerFlags import TriggerFlags as tf
tf.configForStartup="HLTonline"
tf.configForStartup.lock()
rec.ScopingLevel.set_Value_and_Lock(1)
if rec.triggerStream().startswith('express'):
Loading