CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/RecoVertex/AdaptiveVertexFinder/interface/VertexMerging.h

Go to the documentation of this file.
00001 #include <memory>
00002 #include <set>
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "FWCore/Framework/interface/MakerMacros.h"
00007 #include "FWCore/Utilities/interface/InputTag.h"
00008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00009 
00010 #include "DataFormats/Common/interface/Handle.h"
00011 #include "DataFormats/TrackReco/interface/Track.h"
00012 #include "DataFormats/TrackReco/interface/TrackFwd.h"
00013 #include "DataFormats/VertexReco/interface/Vertex.h"
00014 #include "DataFormats/VertexReco/interface/VertexFwd.h"
00015 #include "RecoVertex/VertexTools/interface/VertexDistance3D.h"
00016 
00017 class VertexMerging {
00018     public:
00019         VertexMerging(const edm::ParameterSet &params);
00020         
00021         
00022         reco::VertexCollection mergeVertex(reco::VertexCollection & secondaryVertices);
00023         
00024         
00025     private:
00026         bool trackFilter(const reco::TrackRef &track) const;
00027 
00028         double                                  maxFraction;
00029         double                                  minSignificance;
00030 };
00031