#include <InputSort.h>
Public Member Functions | |
InputSort () | |
std::pair< std::vector < RefCountedKinematicParticle > , std::vector < FreeTrajectoryState > > | sort (std::vector< RefCountedKinematicParticle > particles) const |
std::vector < RefCountedKinematicParticle > | sort (std::vector< RefCountedKinematicTree > trees) const |
~InputSort () | |
Helper class checking the input of Kinematic Vertex Fitters If some of particles provided have trees after them, makes sure that only top tree particles are used in the fit.
Definition at line 14 of file InputSort.h.
|
inline |
Definition at line 18 of file InputSort.h.
|
inline |
Definition at line 19 of file InputSort.h.
std::pair< std::vector< RefCountedKinematicParticle >, std::vector< FreeTrajectoryState > > InputSort::sort | ( | std::vector< RefCountedKinematicParticle > | particles | ) | const |
Definition at line 6 of file InputSort.cc.
References i.
Referenced by LagrangeParentParticleFitter::fit(), KinematicParticleVertexFitter::fit(), KinematicConstrainedVertexFitter::fit(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit().
std::vector< RefCountedKinematicParticle > InputSort::sort | ( | std::vector< RefCountedKinematicTree > | trees | ) | const |