Dynamic cloning of HLT2 output
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:
- If a line with
PersistReco
enabled fires, the whole HLT2 reconstruction is copied (as defined byHltAfterburner._hlt2FullReconstructionLocations
); and - Any specific locations defined by
Hlt2Line
instances withTurbo
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.