RecoVertex
ConfigurableVertexReco
src
ConfigurableKalmanFitter.cc
Go to the documentation of this file.
1
#include "
RecoVertex/ConfigurableVertexReco/interface/ConfigurableKalmanFitter.h
"
2
#include "
RecoVertex/KalmanVertexFit/interface/KalmanVertexFitter.h
"
3
4
namespace
{
5
edm::ParameterSet
mydefaults() {
6
edm::ParameterSet
ret
;
7
ret
.addParameter<
double
>(
"maxDistance"
, 0.01);
8
ret
.addParameter<
int
>(
"maxNbrOfIterations"
, 10);
9
return
ret
;
10
}
11
}
// namespace
12
13
ConfigurableKalmanFitter::ConfigurableKalmanFitter
() :
AbstractConfFitter
(
KalmanVertexFitter
()) {}
14
15
void
ConfigurableKalmanFitter::configure
(
const
edm::ParameterSet
&
n
) {
16
edm::ParameterSet
m
=
n
;
17
m
.augment(mydefaults());
18
if
(
theFitter
)
19
delete
theFitter
;
20
theFitter
=
new
KalmanVertexFitter
(
m
);
21
}
22
23
ConfigurableKalmanFitter::~ConfigurableKalmanFitter
() {
24
// if (theFitter) delete theFitter;
25
}
26
27
ConfigurableKalmanFitter::ConfigurableKalmanFitter
(
const
ConfigurableKalmanFitter
&
o
) :
AbstractConfFitter
(
o
) {}
28
29
ConfigurableKalmanFitter
*
ConfigurableKalmanFitter::clone
()
const
{
return
new
ConfigurableKalmanFitter
(*
this
); }
30
31
edm::ParameterSet
ConfigurableKalmanFitter::defaults
()
const
{
return
mydefaults(); }
32
33
#include "
RecoVertex/ConfigurableVertexReco/interface/ConfFitterBuilder.h
"
34
35
namespace
{
36
const
ConfFitterBuilder<ConfigurableKalmanFitter>
t
(
"kalman"
,
"Standard Kalman Filter"
);
37
const
ConfFitterBuilder<ConfigurableKalmanFitter>
s
(
"default"
,
"Standard Kalman Filter"
);
38
}
// namespace
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition:
runTheMatrix.py:373
ConfFitterBuilder.h
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
ConfigurableKalmanFitter::defaults
edm::ParameterSet defaults() const override
Definition:
ConfigurableKalmanFitter.cc:31
KalmanVertexFitter.h
ConfigurableKalmanFitter.h
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
visualization-live-secondInstance_cfg.m
m
Definition:
visualization-live-secondInstance_cfg.py:72
ConfigurableKalmanFitter::ConfigurableKalmanFitter
ConfigurableKalmanFitter()
Definition:
ConfigurableKalmanFitter.cc:13
AbstractConfFitter::theFitter
const VertexFitter< 5 > * theFitter
Definition:
AbstractConfFitter.h:41
ConfigurableKalmanFitter::~ConfigurableKalmanFitter
~ConfigurableKalmanFitter() override
Definition:
ConfigurableKalmanFitter.cc:23
edm::ParameterSet
Definition:
ParameterSet.h:47
ConfigurableKalmanFitter::configure
void configure(const edm::ParameterSet &) override
Definition:
ConfigurableKalmanFitter.cc:15
AbstractConfFitter
Definition:
AbstractConfFitter.h:12
ConfigurableKalmanFitter::clone
ConfigurableKalmanFitter * clone() const override
Definition:
ConfigurableKalmanFitter.cc:29
ConfigurableKalmanFitter
Definition:
ConfigurableKalmanFitter.h:10
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:644
KalmanVertexFitter
Definition:
KalmanVertexFitter.h:22
ConfFitterBuilder
Definition:
ConfFitterBuilder.h:11
Generated for CMSSW Reference Manual by
1.8.16