#include <VertexHigherPtSquared.h>
Public Member Functions | |
bool | operator() (const TransientVertex &v1, const TransientVertex &v2) const |
bool | operator() (const reco::Vertex &v1, const reco::Vertex &v2) const |
double | sumPtSquared (const reco::Vertex &v) const |
double | sumPtSquared (const std::vector< reco::TransientTrack > &tks) const |
operator for sorting TransientVertex objects in decreasing order of the sum of the squared track pT's
Definition at line 13 of file VertexHigherPtSquared.h.
bool VertexHigherPtSquared::operator() | ( | const TransientVertex & | v1, |
const TransientVertex & | v2 | ||
) | const |
Definition at line 6 of file VertexHigherPtSquared.cc.
References TransientVertex::originalTracks().
bool VertexHigherPtSquared::operator() | ( | const reco::Vertex & | v1, |
const reco::Vertex & | v2 | ||
) | const |
Definition at line 17 of file VertexHigherPtSquared.cc.
double VertexHigherPtSquared::sumPtSquared | ( | const reco::Vertex & | v | ) | const |
Definition at line 26 of file VertexHigherPtSquared.cc.
References reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
double VertexHigherPtSquared::sumPtSquared | ( | const std::vector< reco::TransientTrack > & | tks | ) | const |
Definition at line 41 of file VertexHigherPtSquared.cc.