5 maxFraction(params.getParameter<double>(
"maxFraction")),
14 std::set<reco::TrackRef> pvTracks;
15 for(std::vector<reco::TrackBaseRef>::const_iterator iter = pv.
tracks_begin();
22 for(std::vector<reco::TrackBaseRef>::const_iterator iter = sv.
tracks_begin();
30 return (
double)count / (double)
total;
45 for(std::vector<reco::Vertex>::const_iterator sv = secondaryVertices.begin();
46 sv != secondaryVertices.end(); ++sv) {
47 recoVertices.push_back(*sv);
49 for(std::vector<reco::Vertex>::iterator sv = recoVertices.begin();
50 sv != recoVertices.end(); ++sv) {
53 for(std::vector<reco::Vertex>::iterator sv2 = recoVertices.begin();
54 sv2 != recoVertices.end(); ++sv2) {
68 if(shared) { sv=recoVertices.erase(sv)-1; }
trackRef_iterator tracks_end() const
last iterator over tracks
std::vector< Vertex > VertexCollection
collection of Vertex objects
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
reco::VertexCollection mergeVertex(reco::VertexCollection &secondaryVertices)
float trackWeight(const TREF &r) const
returns the weight with which a Track has contributed to the vertex-fit.
double significance() const
VertexMerging(const edm::ParameterSet ¶ms)
trackRef_iterator tracks_begin() const
first iterator over tracks
static double computeSharedTracks(const reco::Vertex &pv, const reco::Vertex &sv)