7 const std::vector<reco::TransientTrack>& tks1 = v1.
originalTracks();
8 const std::vector<reco::TransientTrack>& tks2 = v2.
originalTracks();
9 return (sumPtSquared(tks1) > sumPtSquared(tks2));
13 return (sumPtSquared(v1) > sumPtSquared(v2));
21 double epT = (**it).ptError();
22 pT = pT > epT ? pT - epT : 0;
31 for (std::vector<reco::TransientTrack>::const_iterator it = tks.begin(); it != tks.end(); it++) {
32 double pT = (it->track()).
pt();
33 double epT = (it->track()).ptError();
34 pT = pT > epT ? pT - epT : 0;
std::vector< reco::TransientTrack > const & originalTracks() const
trackRef_iterator tracks_end() const
last iterator over tracks
trackRef_iterator tracks_begin() const
first iterator over tracks
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>