Skip to content

Dynamic cloning of HLT2 output

Alex Pearce requested to merge apearce-dynamic-cloning into turbo

This MR adds support for copying HLT2 outputs to a prefixed location, such as /Event/microDST, for LBHLT-135. It depends on Phys!109 (merged).

There are two sets of objects that are copied:

  1. If a line with PersistReco enabled fires, the whole HLT2 reconstruction is copied (as defined by HltAfterburner._hlt2FullReconstructionLocations); and
  2. Any specific locations defined by Hlt2Line instances with Turbo enabled, if the corresponding line fires.

Right now, number 2 is implemented by copying the location defined by the (new) Hlt2Line.outputSelection method, which returns the output TES location of the last algorithm in the selection sequence. This effectively implements cloning for Turbo lines. @egovorko is working on implementing 'extra selections' for HLT2 lines, and this MR can be used to copy the output of those as well.

Merge request reports