CP algorithms: Electron trigger SF calculation improvements
Standalone electron trigger SF calculation in CP algorithms improvements:
- make HLT prefix configurable
- make output prefixes configurable - useful if multiple WPs are covered (alternatively we could somehow add ID to the name, but current implementation allows more flexibility)
- support all years for uniform branches - this currently only works either only for Run 2 or for Run 3, I hope this is acceptable
- add ability to save output with tool key name as it makes the key the same for a Run
- add a helper function to properly differentiate trilepton legs with others
- adds extra e-tau (and mu-tau to avoid too many iterations) triggers that were missing
Keeping as draft for now to get feedback but to allow more testing.
Edited by Tadej Novak