8 std::set<reco::TrackRef> pvTracks;
9 for (std::vector<reco::TrackBaseRef>::const_iterator iter =
pv.tracks_begin(); iter !=
pv.tracks_end(); iter++) {
10 if (
pv.trackWeight(*iter) >= 0.5)
15 for (std::vector<reco::TrackBaseRef>::const_iterator iter =
sv.tracks_begin(); iter !=
sv.tracks_end(); iter++) {
16 if (
sv.trackWeight(*iter) >= 0.5) {
29 recoVertices.push_back(*
sv);
31 for (std::vector<reco::Vertex>::iterator
sv = recoVertices.begin();
sv != recoVertices.end(); ++
sv) {
33 for (std::vector<reco::Vertex>::iterator sv2 = recoVertices.begin(); sv2 != recoVertices.end(); ++sv2) {
44 sv = recoVertices.erase(
sv) - 1;