Remove IP requirements on dielectrons in FilterTracks
Tracks identified as electrons should be used to create secondary vertices with no PV-related requirements. To do this only in the hlt1_pp_ecal sequence, this MR does the following:
- Adds
is_electron
data member toParKalmanFilter::FittedTrack
, which is set tofalse
when the tracks are created in the kalman filter. - Adds an algorithm that takes kalman tracks and calo ID results and creates new kalman tracks with
is_electron
set - Instead of ignoring PV requirements in FilterTracks if a track
is_muon
, these requirements are ignored ifis_muon || is_lepton
This is built off of !639 (merged). This is a workaround and should be unnecessary after !690 (merged) is done.
Edited by Thomas Boettcher