#include <PrimaryVertexSorter.h>
Public Member Functions | |
std::vector< reco::Vertex > | sortedList (const reco::VertexCollection &primaryVertex) const |
class to sort VertexCollection in decreasing order of the sum of the squared track pT's
Definition at line 11 of file PrimaryVertexSorter.h.
VertexCollection PrimaryVertexSorter::sortedList | ( | const reco::VertexCollection & | primaryVertex | ) | const |
Definition at line 8 of file PrimaryVertexSorter.cc.
References python::multivaluedict::sort().
Referenced by QualityCutsAnalyzer::LoopOverJetTracksAssociation().
{ VertexCollection pvs = unsortedPVColl; sort(pvs.begin(), pvs.end(), VertexHigherPtSquared()); return pvs; }