Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:36:06

0001 #ifndef CommonTools_RecoAlgos_PrimaryVertexSorting_
0002 #define CommonTools_RecoAlgos_PrimaryVertexSorting_
0003 
0004 #include "FWCore/Framework/interface/Frameworkfwd.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 
0007 #include "DataFormats/Candidate/interface/Candidate.h"
0008 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0009 #include "TrackingTools/TransientTrack/interface/TransientTrackBuilder.h"
0010 #include "CommonTools/RecoAlgos/interface/PrimaryVertexAssignment.h"
0011 
0012 class PrimaryVertexSorting {
0013 public:
0014   enum Quality { UsedInFit = 0, PrimaryDz, BTrack, OtherDz, NotReconstructedPrimary, Unassigned = 99 };
0015 
0016   PrimaryVertexSorting(const edm::ParameterSet& iConfig)
0017   //minJetPt_(iConfig.getParameter<double>("minJetPt")),
0018   {}
0019 
0020   ~PrimaryVertexSorting() {}
0021   float score(const reco::Vertex& pv, const std::vector<const reco::Candidate*>& candidates, bool useMet) const;
0022 
0023 private:
0024 };
0025 
0026 #endif