ATR-21215 - Implement probe chain legs as duplicated steps at the end of the alignment sequence
As described on ATR-21215, we implement tag & probe chains (for a single signature) by duplicating the steps in an alignment group that follows the tag leg. Changes implemented:
- Started from @shanisch's "master-TMMT-TagAndProbe" branch which allows electron chains to receive a
probe
argument that will be ignored when configuring hypo/reco. - In the
MenuSequence
constructor, addIsProbe
argument that triggers the cloning of the Hypo, InputMaker and the in-view sequence, appending "_probe" to relevant component names and outputs. - Added recognition of the "probe" specification in electron sequences, such that the IsProbe flag is set when creating the
MenuSequence
. - Updated MenuAlignmentTools to add the EgammaProbe and MuonProbe alignment groups, currently placed at the very end.
- Updated the chain parsing so that the "extra" expressions are extracted before attempting to define the alignment group.
- Adapted checks for sequence duplication across steps to ignore sequences that are in views.
- Sets the probe view makers to use the cached reco from the tag leg in HLTCFConfig.
This MR inserts the necessary infrastructure, without yet adding any chains. Running egamma T&P chains in a full menu requires further debugging.
Edited by Teng Jian Khoo