12 int nSharedTracks = 0;
25 for (v1TrackIter = v1TrackBegin; v1TrackIter != v1TrackEnd; v1TrackIter++) {
26 for (v2TrackIter = v2TrackBegin; v2TrackIter != v2TrackEnd; v2TrackIter++) {
27 if ( (*v1TrackIter) == (*v2TrackIter) ) {
trackRef_iterator tracks_end() const
last iterator over tracks
int sharedTracks(const reco::Vertex &v1, const reco::Vertex &v2) const
std::vector< TrackBaseRef >::const_iterator trackRef_iterator
The iteratator for the vector<TrackRef>
trackRef_iterator tracks_begin() const
first iterator over tracks