Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
RecoVertex
TrimmedKalmanVertexFinder
interface
TrimmedVertexFinder.h
Go to the documentation of this file.
1
#ifndef _RecoVertex_TrimmedVertexFinder_H_
2
#define _RecoVertex_TrimmedVertexFinder_H_
3
4
#include "
RecoVertex/VertexPrimitives/interface/TransientVertex.h
"
5
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
6
#include "
RecoVertex/VertexPrimitives/interface/CachingVertex.h
"
7
#include "
RecoVertex/VertexPrimitives/interface/VertexFitter.h
"
8
#include "
RecoVertex/VertexPrimitives/interface/VertexUpdator.h
"
9
#include "
RecoVertex/VertexPrimitives/interface/VertexTrackCompatibilityEstimator.h
"
10
#include <vector>
11
28
class
TrimmedVertexFinder
{
29
public
:
30
typedef
ReferenceCountingPointer<VertexTrack<5>
>
RefCountedVertexTrack
;
31
typedef
ReferenceCountingPointer<LinearizedTrackState<5>
>
RefCountedLinearizedTrackState
;
32
33
TrimmedVertexFinder
(
const
VertexFitter<5>
* vf,
34
const
VertexUpdator<5>
* vu,
35
const
VertexTrackCompatibilityEstimator<5>
* ve);
36
39
TrimmedVertexFinder
(
const
TrimmedVertexFinder
&
other
);
40
~TrimmedVertexFinder
();
41
45
std::vector<TransientVertex>
vertices
(std::vector<reco::TransientTrack>& remain)
const
;
46
51
std::vector<TransientVertex>
vertices
(std::vector<reco::TransientTrack>& remain,
52
const
reco::BeamSpot
&
s
,
53
bool
use_beamspot =
true
)
const
;
54
57
float
trackCompatibilityCut
()
const
{
return
theMinProb
; }
58
61
void
setTrackCompatibilityCut
(
float
cut
) {
theMinProb
=
cut
; }
62
65
TrimmedVertexFinder
*
clone
()
const
{
return
new
TrimmedVertexFinder
(*
this
); }
66
67
private
:
68
// finds least compatible track
69
// returns vtxTracks.end() if all tracks are compatible
70
//
71
std::vector<RefCountedVertexTrack>::iterator
theWorst
(
const
CachingVertex<5>
&
vtx
,
72
std::vector<RefCountedVertexTrack>& vtxTracks,
73
float
cut
)
const
;
74
75
VertexFitter<5>
*
theFitter
;
76
VertexUpdator<5>
*
theUpdator
;
77
VertexTrackCompatibilityEstimator<5>
*
theEstimator
;
78
float
theMinProb
;
79
};
80
81
#endif
TrimmedVertexFinder::theMinProb
float theMinProb
Definition:
TrimmedVertexFinder.h:78
VertexUpdator< 5 >
TrimmedVertexFinder::~TrimmedVertexFinder
~TrimmedVertexFinder()
Definition:
TrimmedVertexFinder.cc:20
TrimmedVertexFinder
Definition:
TrimmedVertexFinder.h:28
TkAlMuonSelectors_cfi.cut
cut
Definition:
TkAlMuonSelectors_cfi.py:5
CachingVertex< 5 >
VertexTrackCompatibilityEstimator.h
TrimmedVertexFinder::RefCountedVertexTrack
ReferenceCountingPointer< VertexTrack< 5 > > RefCountedVertexTrack
Definition:
TrimmedVertexFinder.h:30
VertexFitter.h
ReferenceCountingPointer
Definition:
ReferenceCounted.h:60
TransientTrack.h
VertexFitter< 5 >
CachingVertex.h
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
TrimmedVertexFinder::clone
TrimmedVertexFinder * clone() const
Definition:
TrimmedVertexFinder.h:65
TrimmedVertexFinder::theFitter
VertexFitter< 5 > * theFitter
Definition:
TrimmedVertexFinder.h:75
TrimmedVertexFinder::theEstimator
VertexTrackCompatibilityEstimator< 5 > * theEstimator
Definition:
TrimmedVertexFinder.h:77
reco::BeamSpot
Definition:
BeamSpot.h:21
trackingPlots.other
other
Definition:
trackingPlots.py:1460
TrimmedVertexFinder::trackCompatibilityCut
float trackCompatibilityCut() const
Definition:
TrimmedVertexFinder.h:57
TrimmedVertexFinder::vertices
std::vector< TransientVertex > vertices(std::vector< reco::TransientTrack > &remain) const
Definition:
TrimmedVertexFinder.cc:26
TrimmedVertexFinder::theWorst
std::vector< RefCountedVertexTrack >::iterator theWorst(const CachingVertex< 5 > &vtx, std::vector< RefCountedVertexTrack > &vtxTracks, float cut) const
Definition:
TrimmedVertexFinder.cc:131
TransientVertex.h
VertexTrackCompatibilityEstimator< 5 >
extraflags_cff.vtx
vtx
Definition:
extraflags_cff.py:18
VertexUpdator.h
TrimmedVertexFinder::theUpdator
VertexUpdator< 5 > * theUpdator
Definition:
TrimmedVertexFinder.h:76
TrimmedVertexFinder::TrimmedVertexFinder
TrimmedVertexFinder(const VertexFitter< 5 > *vf, const VertexUpdator< 5 > *vu, const VertexTrackCompatibilityEstimator< 5 > *ve)
Definition:
TrimmedVertexFinder.cc:9
TrimmedVertexFinder::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< 5 > > RefCountedLinearizedTrackState
Definition:
TrimmedVertexFinder.h:31
TrimmedVertexFinder::setTrackCompatibilityCut
void setTrackCompatibilityCut(float cut)
Definition:
TrimmedVertexFinder.h:61
Generated for CMSSW Reference Manual by
1.8.16