RecoVertex
GaussianSumVertexFit
src
AdaptiveGsfVertexFitter.cc
Go to the documentation of this file.
1
#include "
RecoVertex/GaussianSumVertexFit/interface/AdaptiveGsfVertexFitter.h
"
2
#include "
RecoVertex/VertexTools/interface/DummyVertexSmoother.h
"
3
#include "
RecoVertex/GaussianSumVertexFit/interface/GsfVertexSmoother.h
"
4
#include "
RecoVertex/GaussianSumVertexFit/interface/MultiPerigeeLTSFactory.h
"
5
#include "
RecoVertex/GaussianSumVertexFit/interface/GsfVertexTrackCompatibilityEstimator.h
"
6
#include "
RecoVertex/VertexTools/interface/GeometricAnnealing.h
"
7
8
AdaptiveGsfVertexFitter::AdaptiveGsfVertexFitter
(
const
edm::ParameterSet
& pSet,
const
LinearizationPointFinder
& linP) {
9
bool
limitComponents_ = pSet.
getParameter
<
bool
>(
"limitComponents"
);
10
11
DeepCopyPointerByClone<GsfVertexMerger>
theMerger;
12
13
if
(limitComponents_) {
14
theMerger =
new
GsfVertexMerger
(pSet.
getParameter
<
edm::ParameterSet
>(
"GsfMergerParameters"
));
15
}
16
17
theFitter
=
new
AdaptiveVertexFitter
(
GeometricAnnealing
(),
18
linP,
19
GsfVertexUpdator
(limitComponents_, &*theMerger),
20
GsfVertexTrackCompatibilityEstimator
(),
21
GsfVertexSmoother
(limitComponents_, &*theMerger),
22
MultiPerigeeLTSFactory
());
23
theFitter
->
gsfIntermediarySmoothing
(
true
);
24
36
theFitter
->
setParameters
(pSet.
getParameter
<
double
>(
"maxshift"
),
37
pSet.
getParameter
<
double
>(
"maxlpshift"
),
38
pSet.
getParameter
<
int
>(
"maxstep"
),
39
pSet.
getParameter
<
double
>(
"weightthreshold"
));
40
}
41
42
AdaptiveGsfVertexFitter::AdaptiveGsfVertexFitter
(
const
AdaptiveGsfVertexFitter
&
original
) {
43
theFitter
=
original
.theFitter->clone();
44
}
45
46
AdaptiveGsfVertexFitter::~AdaptiveGsfVertexFitter
() {
delete
theFitter
; }
AdaptiveVertexFitter
Definition:
AdaptiveVertexFitter.h:29
MultiPerigeeLTSFactory
Definition:
MultiPerigeeLTSFactory.h:18
AdaptiveVertexFitter::gsfIntermediarySmoothing
void gsfIntermediarySmoothing(bool sm)
Definition:
AdaptiveVertexFitter.h:135
GsfVertexSmoother
Definition:
GsfVertexSmoother.h:21
GsfVertexSmoother.h
AdaptiveGsfVertexFitter.h
DeepCopyPointerByClone< GsfVertexMerger >
LinearizationPointFinder
Definition:
LinearizationPointFinder.h:12
AdaptiveVertexFitter::setParameters
void setParameters(double maxshift=0.0001, double maxlpshift=0.1, unsigned maxstep=30, double weightthreshold=.001)
Definition:
AdaptiveVertexFitter.cc:144
GeometricAnnealing.h
edm::ParameterSet
Definition:
ParameterSet.h:47
GsfVertexTrackCompatibilityEstimator.h
definitions.original
original
Definition:
definitions.py:57
DummyVertexSmoother.h
GeometricAnnealing
Definition:
GeometricAnnealing.h:7
GsfVertexMerger
Definition:
GsfVertexMerger.h:15
AdaptiveGsfVertexFitter::AdaptiveGsfVertexFitter
AdaptiveGsfVertexFitter(const edm::ParameterSet &pSet, const LinearizationPointFinder &linP=DefaultLinearizationPointFinder())
Definition:
AdaptiveGsfVertexFitter.cc:8
AdaptiveGsfVertexFitter::~AdaptiveGsfVertexFitter
~AdaptiveGsfVertexFitter() override
Definition:
AdaptiveGsfVertexFitter.cc:46
GsfVertexUpdator
Definition:
GsfVertexUpdator.h:14
GsfVertexTrackCompatibilityEstimator
Definition:
GsfVertexTrackCompatibilityEstimator.h:24
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
MultiPerigeeLTSFactory.h
AdaptiveGsfVertexFitter
Definition:
AdaptiveGsfVertexFitter.h:15
AdaptiveGsfVertexFitter::theFitter
AdaptiveVertexFitter * theFitter
Definition:
AdaptiveGsfVertexFitter.h:94
Generated for CMSSW Reference Manual by
1.8.16