Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:24

0001 #ifndef SharedTracks_h
0002 #define SharedTracks_h
0003 #include <vector>
0004 #include "DataFormats/Candidate/interface/VertexCompositePtrCandidate.h"
0005 #include "DataFormats/TrackReco/interface/TrackFwd.h"
0006 #include "DataFormats/VertexReco/interface/Vertex.h"
0007 #include "DataFormats/Candidate/interface/Candidate.h"
0008 
0009 namespace vertexTools {
0010   double computeSharedTracks(const reco::Vertex &pv,
0011                              const std::vector<reco::TrackRef> &svTracks,
0012                              double minTrackWeight = 0.5,
0013                              float unused = 0);
0014   double computeSharedTracks(const reco::Vertex &pv,
0015                              const std::vector<reco::CandidatePtr> &svTracks,
0016                              double minTrackWeight = 0.5,
0017                              float mindist = 2.0);
0018   double computeSharedTracks(const reco::Vertex &pv,
0019                              const reco::VertexCompositePtrCandidate &sv,
0020                              double minTrackWeight = 0.5,
0021                              float mindist = 2.0);
0022   double computeSharedTracks(const reco::Vertex &pv,
0023                              const reco::Vertex &sv,
0024                              double minTrackWeight = 0.5,
0025                              float mindist = 2.0);
0026   double computeSharedTracks(const reco::VertexCompositePtrCandidate &sv,
0027                              const reco::VertexCompositePtrCandidate &sv2,
0028                              double minTrackWeight = 0.5,
0029                              float mindist = 2.0);
0030   double computeSharedTracks(const reco::VertexCompositePtrCandidate &sv2,
0031                              const std::vector<reco::CandidatePtr> &svTracks,
0032                              double unused1 = 0,
0033                              float unused2 = 0);
0034 
0035 }  // namespace vertexTools
0036 #endif