#include <InputSort.h>
Public Member Functions | |
InputSort () | |
std::pair< std::vector < RefCountedKinematicParticle > , std::vector < FreeTrajectoryState > > | sort (const std::vector< RefCountedKinematicParticle > &particles) const |
std::vector < RefCountedKinematicParticle > | sort (const 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 16 of file InputSort.h.
|
inline |
Definition at line 17 of file InputSort.h.
std::pair< std::vector< RefCountedKinematicParticle >, std::vector< FreeTrajectoryState > > InputSort::sort | ( | const std::vector< RefCountedKinematicParticle > & | particles | ) | const |
Definition at line 5 of file InputSort.cc.
References mps_fire::i.
Referenced by LagrangeParentParticleFitter::fit(), KinematicParticleVertexFitter::fit(), KinematicConstrainedVertexFitter::fit(), and KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit().
std::vector< RefCountedKinematicParticle > InputSort::sort | ( | const std::vector< RefCountedKinematicTree > & | trees | ) | const |
Definition at line 27 of file InputSort.cc.
References mps_fire::i.