src
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
; }
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
AdaptiveGsfVertexFitter::theFitter
AdaptiveVertexFitter * theFitter
Definition:
AdaptiveGsfVertexFitter.h:94
GsfVertexTrackCompatibilityEstimator.h
AdaptiveGsfVertexFitter.h
GeometricAnnealing.h
MultiPerigeeLTSFactory.h
GsfVertexSmoother
Definition:
GsfVertexSmoother.h:21
AdaptiveVertexFitter
Definition:
AdaptiveVertexFitter.h:29
AdaptiveGsfVertexFitter::AdaptiveGsfVertexFitter
AdaptiveGsfVertexFitter(const edm::ParameterSet &pSet, const LinearizationPointFinder &linP=DefaultLinearizationPointFinder())
Definition:
AdaptiveGsfVertexFitter.cc:8
DeepCopyPointerByClone< GsfVertexMerger >
AdaptiveVertexFitter::setParameters
void setParameters(double maxshift=0.0001, double maxlpshift=0.1, unsigned maxstep=30, double weightthreshold=.001)
Definition:
AdaptiveVertexFitter.cc:144
GsfVertexMerger
Definition:
GsfVertexMerger.h:15
GsfVertexTrackCompatibilityEstimator
Definition:
GsfVertexTrackCompatibilityEstimator.h:24
GeometricAnnealing
Definition:
GeometricAnnealing.h:7
definitions.original
original
Definition:
definitions.py:57
MultiPerigeeLTSFactory
Definition:
MultiPerigeeLTSFactory.h:18
AdaptiveGsfVertexFitter
Definition:
AdaptiveGsfVertexFitter.h:15
GsfVertexSmoother.h
edm::ParameterSet
Definition:
ParameterSet.h:47
LinearizationPointFinder
Definition:
LinearizationPointFinder.h:12
DummyVertexSmoother.h
AdaptiveVertexFitter::gsfIntermediarySmoothing
void gsfIntermediarySmoothing(bool sm)
Definition:
AdaptiveVertexFitter.h:135
AdaptiveGsfVertexFitter::~AdaptiveGsfVertexFitter
~AdaptiveGsfVertexFitter() override
Definition:
AdaptiveGsfVertexFitter.cc:46
GsfVertexUpdator
Definition:
GsfVertexUpdator.h:14
Generated for CMSSW Reference Manual by
1.8.14