10 const std::vector<reco::TransientTrack> & tks1 = v1.
originalTracks();
11 const std::vector<reco::TransientTrack> & tks2 = v2.
originalTracks();
12 return (sumPtSquared(tks1) > sumPtSquared(tks2));
20 return (sumPtSquared(v1) > sumPtSquared(v2));
32 double epT=(**it).ptError();
33 pT=pT>epT ? pT-epT : 0;
44 for (std::vector<reco::TransientTrack>::const_iterator it = tks.begin();
45 it != tks.end(); it++) {
46 double pT = (it->track()).pt();
47 double epT=(it->track()).ptError();
48 pT=pT>epT ? pT-epT : 0;
trackRef_iterator tracks_end() const
last iterator over tracks
std::vector< reco::TransientTrack > originalTracks() const
double sumPtSquared(const reco::Vertex &v) const
bool operator()(const TransientVertex &v1, const TransientVertex &v2) const
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
trackRef_iterator tracks_begin() const
first iterator over tracks