Track-to-lepton vertex fitting for yy->WW in STDM7 derivations
This MR adds code to perform vertex fits from lepton tracks, and from lepton tracks and ID tracks. This is intended to be run on the LowPtRoITrackParticles
track-particle container. It is only present in AODs which were produced with special reconstruction. The "normal" STDM7 production is not affected by this MR. Size and computing constraints should not be an issue since the special reconstruction is only done for O(100k) events (anyways, the fits are simple and quick).
What the code does is:
- select a set of electrons and muons
- fit a vertex from the electron and muon tracks
- decorate the chi2, n.d.f. and z-position of that vertex to the event info
- loop over a track collection
- for each track fit a vertex from the electron and muon tracks, and the track we're currently looping
- decorate the chi2, n.d.f. and z-position of that vertex to the track
Cheers, Philip
Also mentioning @esoldato, @mdyndal, @bili, @spagan, @adimitri, @kristin, @okepka