#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 18 of file InputSort.h.
|
inline |
Definition at line 19 of file InputSort.h.
References HadronAndPartonSelector_cfi::particles, and sort().
std::pair< std::vector< RefCountedKinematicParticle >, std::vector< FreeTrajectoryState > > InputSort::sort | ( | const std::vector< RefCountedKinematicParticle > & | particles | ) | const |
Definition at line 6 of file InputSort.cc.
References mps_fire::i.
Referenced by LagrangeParentParticleFitter::fit(), KinematicParticleVertexFitter::fit(), KinematicConstrainedVertexFitter::fit(), KinematicConstrainedVertexFitterT< nTrk, nConstraint >::fit(), and ~InputSort().
std::vector< RefCountedKinematicParticle > InputSort::sort | ( | const std::vector< RefCountedKinematicTree > & | trees | ) | const |