Sort and remove duplicate LHCb IDs.
It is a common assumption in other Track classes that vectors of LHCb IDs are sorted and contain unique IDs. Making this part of the Pr::Fitted::Forward::Tracks API eases compatibility when working with other Track types.
Showing
- Event/MCEvent/Event/MCTrackGeomCriteria.h 1 addition, 1 deletionEvent/MCEvent/Event/MCTrackGeomCriteria.h
- Sim/SimComponents/src/MCReconstructible.cpp 7 additions, 15 deletionsSim/SimComponents/src/MCReconstructible.cpp
- Sim/SimComponents/src/MCReconstructible.h 5 additions, 19 deletionsSim/SimComponents/src/MCReconstructible.h
Loading
Please register or sign in to comment