Add utilities to copy over information from offline jets
This adds a new algorithm that matches trigger jets to offline jets and copies over arbitrary information.
Part of making this work was changing how we handle trigger BTagging
objects. Before I was copying the jets into their own collection and leaving their links to the BTagging
object in the trigger container. Unfortunately the BTagging
container that trigger adds is a mix of pflow and emtopo jets, which meant:
- Decorating pflow jets only wasn't EDM safe
- We couldn't loop over the b-tag container for one jet collection without using the trigger decision tool
Now we create transient copies of both the Jet
and BTagging
containers.