RecoVertex
TrimmedKalmanVertexFinder
src
KalmanTrimmedVertexFinder.cc
Go to the documentation of this file.
1
#include "
RecoVertex/TrimmedKalmanVertexFinder/interface/KalmanTrimmedVertexFinder.h
"
2
#include "
RecoVertex/KalmanVertexFit/interface/KalmanVertexFitter.h
"
3
#include "
RecoVertex/KalmanVertexFit/interface/KalmanVertexUpdator.h
"
4
#include "
RecoVertex/KalmanVertexFit/interface/KalmanVertexTrackCompatibilityEstimator.h
"
5
6
KalmanTrimmedVertexFinder::KalmanTrimmedVertexFinder
() {
7
KalmanVertexFitter
vf(
false
);
8
KalmanVertexUpdator<5>
vu;
9
KalmanVertexTrackCompatibilityEstimator<5>
ve;
10
11
theFinder
=
new
ConfigurableTrimmedVertexFinder
(&vf, &vu, &ve);
12
}
13
14
void
KalmanTrimmedVertexFinder::setParameters
(
const
edm::ParameterSet
&
s
) {
15
setPtCut
(
s
.getParameter<
double
>(
"ptCut"
));
16
setTrackCompatibilityCut
(
s
.getParameter<
double
>(
"trackCompatibilityToPVcut"
));
17
setTrackCompatibilityToSV
(
s
.getParameter<
double
>(
"trackCompatibilityToSVcut"
));
18
setVertexFitProbabilityCut
(
s
.getParameter<
double
>(
"vtxFitProbCut"
));
19
setMaxNbOfVertices
(
s
.getParameter<
int
>(
"maxNbOfVertices"
));
20
}
21
22
KalmanTrimmedVertexFinder::~KalmanTrimmedVertexFinder
() {
delete
theFinder
; }
23
24
KalmanTrimmedVertexFinder::KalmanTrimmedVertexFinder
(
const
KalmanTrimmedVertexFinder
&
other
) {
25
theFinder
=
other
.theFinder->clone();
26
}
KalmanTrimmedVertexFinder::KalmanTrimmedVertexFinder
KalmanTrimmedVertexFinder()
Definition:
KalmanTrimmedVertexFinder.cc:6
KalmanVertexUpdator< 5 >
KalmanTrimmedVertexFinder::setParameters
void setParameters(const edm::ParameterSet &)
Definition:
KalmanTrimmedVertexFinder.cc:14
KalmanVertexFitter.h
KalmanVertexTrackCompatibilityEstimator.h
KalmanTrimmedVertexFinder::setTrackCompatibilityCut
void setTrackCompatibilityCut(float cut)
Definition:
KalmanTrimmedVertexFinder.h:58
KalmanTrimmedVertexFinder::setTrackCompatibilityToSV
void setTrackCompatibilityToSV(float cut)
Definition:
KalmanTrimmedVertexFinder.h:59
KalmanTrimmedVertexFinder::theFinder
ConfigurableTrimmedVertexFinder * theFinder
Definition:
KalmanTrimmedVertexFinder.h:64
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
KalmanVertexTrackCompatibilityEstimator
Definition:
KalmanVertexTrackCompatibilityEstimator.h:24
trackingPlots.other
other
Definition:
trackingPlots.py:1465
KalmanTrimmedVertexFinder::~KalmanTrimmedVertexFinder
~KalmanTrimmedVertexFinder() override
Definition:
KalmanTrimmedVertexFinder.cc:22
edm::ParameterSet
Definition:
ParameterSet.h:36
ConfigurableTrimmedVertexFinder
Definition:
ConfigurableTrimmedVertexFinder.h:44
KalmanVertexUpdator.h
KalmanTrimmedVertexFinder::setVertexFitProbabilityCut
void setVertexFitProbabilityCut(float cut)
Definition:
KalmanTrimmedVertexFinder.h:60
KalmanTrimmedVertexFinder::setMaxNbOfVertices
void setMaxNbOfVertices(int max)
Definition:
KalmanTrimmedVertexFinder.h:61
KalmanTrimmedVertexFinder::setPtCut
void setPtCut(float cut)
Definition:
KalmanTrimmedVertexFinder.h:57
KalmanTrimmedVertexFinder.h
KalmanTrimmedVertexFinder
Definition:
KalmanTrimmedVertexFinder.h:13
KalmanVertexFitter
Definition:
KalmanVertexFitter.h:22
Generated for CMSSW Reference Manual by
1.8.16