Skip to content

Run HLT2 on HLT1 filtered sample

Dorothea Vom Bruch requested to merge dovombru_filter_hlt1_in_hlt2 into master

Adds functionality to filter on HLT1 decisions (DecReports) when processing HLT2, using the HDRFilter.

To correctly configure the HltANNSvc, its configuration was moved out of the report_writers_node function in config.py and is instead done inside moore_control_flow. The Hlt1SelectionIDs are by default configured to the Moore HLT1 lines. A new variable allen_hlt1 is added to run_moore (and set to False by default). When set to true, the Hlt1SelectionIDs for the HltANNSvc are configured to the Allen Hlt1 lines. Configuration of Hlt2SelectionIDs has to come in the future.

The option has also been added to use a TCK to obtain the Hlt1SelectionIDs automatically, which is planned for MC productions. The test uses this method.

Tests to create a minimal TCK that can be used in HLT2 to read the Hlt1SelectionIDs have been added.

Adds a test to read an HLT1 filtered MDF file. (one for DST files to come)

to do:

  • Write DST files as output of Allen HLT1, called in Moore
  • Read these files in HLT2

Partially addresses #169 (closed). This MR only adds functionality to filter on DecReports. Filtering on SelReports will come in the future once they are fully implemented and tested in Allen.

Depends on LHCb!2938 (merged) Allen!523 (merged) Allen!473 (merged)

Tests in MooreAnalysis are fixed in MooreAnalysis!27 (merged)

Edited by Fabio Davolio

Merge request reports