Skip to content

Add auxilary functionality to Run2 -> Run3 tigger nav converter to print all chain features

Tomasz Bold requested to merge tbold/athena:add-feature-printers into master

As it turns out that it is not easy to figure out what features are used in which chains this MR adds a printer function that just prints all of them for a given chain and for an event.

This printing can be enabled in

RunNavDump.py
+    alg.onlyFeaturePrinting=True

Then, in the log messages like these can be seen:

TrigNavCnv                                           INFO chain HLT_xe130_L1XE60 features 1 [xAOD::TrigMissingET#TrigEFMissingET]

Obviously, for any given event, the chain can be failing and thus have only a few features. Such log file postprocessing would help to sort the chains in an order descending with the number of associated features.

grep chain log | sort | sort -n -k 6 -r | uniq | grep -v "features 0" | less Though I have not seen different cases than either many features or none.

grep "all event " log | sort -k 6 -n -r can be used to sort events in order of decreasing number of features.

Here is the list per chain made with AOD provided by Witold: http://tbold.web.cern.ch/tbold/per_chain.txt and per event: http://tbold.web.cern.ch/tbold/per_event.txt

FI. @wprzygod @tamartin

Merge request reports