Go to the documentation of this file.
53 auto recoVertices = std::make_unique<Product>();
55 recoVertices->push_back(*
sv);
57 for (
typename Product::iterator
sv = recoVertices->begin();
sv != recoVertices->end(); ++
sv) {
60 for (
typename Product::iterator sv2 = recoVertices->begin(); sv2 != recoVertices->end(); ++sv2) {
72 sv = recoVertices->erase(
sv) - 1;
Measurement1D distance(const GlobalPoint &vtx1Position, const GlobalError &vtx1PositionError, const GlobalPoint &vtx2Position, const GlobalError &vtx2PositionError) const override
TemplatedVertexMerger< reco::VertexCompositePtrCandidate > CandidateVertexMerger
edm::EDGetTokenT< Product > token_secondaryVertex
double computeSharedTracks(const reco::Vertex &pv, const std::vector< reco::TrackRef > &svTracks, double minTrackWeight=0.5, float unused=0)
#define DEFINE_FWK_MODULE(type)
double significance() const
TemplatedVertexMerger< reco::Vertex > VertexMerger
reco::Vertex::Error convertError(const GlobalError &ge)
bool trackFilter(const reco::TrackRef &track) const
std::vector< VTX > Product
TemplatedVertexMerger(const edm::ParameterSet ¶ms)
void produce(edm::Event &event, const edm::EventSetup &es) override
reco::Vertex::Point convertPos(const GlobalPoint &p)