Custom-vertex MET in CA-based derivations
This adds support for building MET using non-standard primary vertices in the ComponentAccumulator-based derivation framework. It also implements this for HIGG1D1
using the Hgg custom vertexing.
This is done via the new METCustomVtxCfg(...)
function, which takes in the name of the primary vertex (not just a prefix; this is more flexible), the name of the jet collection (not including the Jets
suffix), and the name of the constituent collection to use (e.g. in the HIGG1D1 case, this is the custom-vertex PFOs).
Given that this is derivation-specific, it doesn't need to go into 22.0. This won't affect any T0 outputs, so there's no reason not to include in 22.0 as well and minimize divergence.
Tagging @clcheng, @amorley, @ahabouel, @chhayes for Hgg etc., @sawyer & @schaarsc for JSV