#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 5 of file VertexHigherPtSquared.cc.
References TransientVertex::originalTracks().
bool VertexHigherPtSquared::operator() | ( | const reco::Vertex & | v1, |
const reco::Vertex & | v2 | ||
) | const |
Definition at line 12 of file VertexHigherPtSquared.cc.
double VertexHigherPtSquared::sumPtSquared | ( | const reco::Vertex & | v | ) | const |
Definition at line 16 of file VertexHigherPtSquared.cc.
References pv::pT, and findQualityFiles::v.
double VertexHigherPtSquared::sumPtSquared | ( | const std::vector< reco::TransientTrack > & | tks | ) | const |
Definition at line 29 of file VertexHigherPtSquared.cc.
References DiDispStaMuonMonitor_cfi::pt, and pv::pT.