RecoVertex
VertexTools
interface
SharedTracks.h
Go to the documentation of this file.
1
#ifndef SharedTracks_h
2
#define SharedTracks_h
3
#include <vector>
4
#include "
DataFormats/Candidate/interface/VertexCompositePtrCandidate.h
"
5
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
6
#include "
DataFormats/VertexReco/interface/Vertex.h
"
7
#include "
DataFormats/Candidate/interface/Candidate.h
"
8
9
namespace
vertexTools
{
10
double
computeSharedTracks
(
const
reco::Vertex
&
pv
,
11
const
std::vector<reco::TrackRef> &svTracks,
12
double
minTrackWeight = 0.5,
13
float
unused = 0);
14
double
computeSharedTracks
(
const
reco::Vertex
&
pv
,
15
const
std::vector<reco::CandidatePtr> &svTracks,
16
double
minTrackWeight = 0.5,
17
float
mindist = 2.0);
18
double
computeSharedTracks
(
const
reco::Vertex
&
pv
,
19
const
reco::VertexCompositePtrCandidate
&
sv
,
20
double
minTrackWeight = 0.5,
21
float
mindist = 2.0);
22
double
computeSharedTracks
(
const
reco::Vertex
&
pv
,
23
const
reco::Vertex
&
sv
,
24
double
minTrackWeight = 0.5,
25
float
mindist = 2.0);
26
double
computeSharedTracks
(
const
reco::VertexCompositePtrCandidate
&
sv
,
27
const
reco::VertexCompositePtrCandidate
&sv2,
28
double
minTrackWeight = 0.5,
29
float
mindist = 2.0);
30
double
computeSharedTracks
(
const
reco::VertexCompositePtrCandidate
&sv2,
31
const
std::vector<reco::CandidatePtr> &svTracks,
32
double
unused1 = 0,
33
float
unused2 = 0);
34
35
}
// namespace vertexTools
36
#endif
reco::VertexCompositePtrCandidate
Definition:
VertexCompositePtrCandidate.h:16
vertexTools::computeSharedTracks
double computeSharedTracks(const reco::Vertex &pv, const std::vector< reco::TrackRef > &svTracks, double minTrackWeight=0.5, float unused=0)
Definition:
SharedTracks.cc:4
TrackFwd.h
pfDeepBoostedJetPreprocessParams_cfi.sv
sv
Definition:
pfDeepBoostedJetPreprocessParams_cfi.py:226
VertexCompositePtrCandidate.h
Vertex.h
MetAnalyzer.pv
def pv(vc)
Definition:
MetAnalyzer.py:7
Candidate.h
reco::Vertex
Definition:
Vertex.h:35
vertexTools
Definition:
SharedTracks.h:9
Generated for CMSSW Reference Manual by
1.8.16