Skip to content

TriggerJobOpts+TriggerMenuMT: Add option to select chains for testing

Rafal Bielski requested to merge rbielski/athena:trig-select-chains into master

Adding a very useful option for testing triggers - the possibility to run only a subset of chains from the menu by providing a list of chain names from command line. This can be simply done by adding -c "selectChains=['name1', 'name2', 'name3']" to the athena.py command with the runHLT_standalone job options.

Example command, tested:

athena.py \
-c "setMenu='LS2_v1';doEmptyMenu=True;doMuonSlice=True;selectChains=['HLT_mu26_ivarmedium_L1MU20','HLT_mu50_L1MU20'];" \
--imf --threads=1 --evtMax=20 \
--filesInput=/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/TrigP1Test/data18_13TeV.00360026.physics_EnhancedBias.merge.RAW._lb0151._SFO-1._0001.1 \
TriggerJobOpts/runHLT_standalone.py

The addition of this option was triggered by ATR-21512, but it has many more use cases. Examples I can think of include various performance tests and testing a new chain during development (particularly useful for PEB chains to see data streamed by one chain only).

cc @markowen, @ckaldero, @tbold, @smh

Merge request reports