RecoVertex
ConfigurableVertexReco
src
AbstractConfFitter.cc
Go to the documentation of this file.
1
#include "
RecoVertex/ConfigurableVertexReco/interface/AbstractConfFitter.h
"
2
3
AbstractConfFitter::AbstractConfFitter
(
const
VertexFitter<5>
&
f
) : theFitter(
f
.
clone
()) {}
4
5
AbstractConfFitter::AbstractConfFitter
() : theFitter(nullptr) {}
6
7
AbstractConfFitter::AbstractConfFitter
(
const
AbstractConfFitter
&
o
) : theFitter(
o
.theFitter->
clone
()) {}
8
9
AbstractConfFitter::~AbstractConfFitter
() {
10
if
(
theFitter
)
11
delete
theFitter
;
12
}
13
14
CachingVertex<5>
AbstractConfFitter::vertex
(
const
std::vector<reco::TransientTrack>&
t
)
const
{
15
return
theFitter
->
vertex
(
t
);
16
}
17
18
CachingVertex<5>
AbstractConfFitter::vertex
(
const
std::vector<RefCountedVertexTrack>&
tracks
)
const
{
19
return
theFitter
->
vertex
(
tracks
);
20
}
21
22
CachingVertex<5>
AbstractConfFitter::vertex
(
const
std::vector<RefCountedVertexTrack>&
tracks
,
23
const
reco::BeamSpot
& spot)
const
{
24
return
theFitter
->
vertex
(
tracks
, spot);
25
}
26
27
CachingVertex<5>
AbstractConfFitter::vertex
(
const
std::vector<reco::TransientTrack>&
tracks
,
28
const
GlobalPoint
& linPoint)
const
{
29
return
theFitter
->
vertex
(
tracks
, linPoint);
30
}
31
32
CachingVertex<5>
AbstractConfFitter::vertex
(
const
std::vector<reco::TransientTrack>&
tracks
,
33
const
GlobalPoint
& priorPos,
34
const
GlobalError
& priorError)
const
{
35
return
theFitter
->
vertex
(
tracks
, priorPos, priorError);
36
}
37
38
CachingVertex<5>
AbstractConfFitter::vertex
(
const
std::vector<reco::TransientTrack>&
tracks
,
39
const
reco::BeamSpot
&
beamSpot
)
const
{
40
return
theFitter
->
vertex
(
tracks
,
beamSpot
);
41
}
42
43
CachingVertex<5>
AbstractConfFitter::vertex
(
const
std::vector<RefCountedVertexTrack>&
tracks
,
44
const
GlobalPoint
& priorPos,
45
const
GlobalError
& priorError)
const
{
46
return
theFitter
->
vertex
(
tracks
, priorPos, priorError);
47
}
PDWG_EXOHSCP_cff.tracks
tracks
Definition:
PDWG_EXOHSCP_cff.py:28
pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition:
pwdgSkimBPark_cfi.py:5
AbstractConfFitter::vertex
CachingVertex< 5 > vertex(const std::vector< reco::TransientTrack > &t) const override
Definition:
AbstractConfFitter.cc:14
f
double f[11][100]
Definition:
MuScleFitUtils.cc:78
CachingVertex< 5 >
AbstractConfFitter.h
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
VertexFitter< 5 >
clone
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition:
eve_macros.cc:135
reco::BeamSpot
Definition:
BeamSpot.h:21
Point3DBase< float, GlobalTag >
OrderedSet.t
t
Definition:
OrderedSet.py:90
AbstractConfFitter::~AbstractConfFitter
~AbstractConfFitter() override
Definition:
AbstractConfFitter.cc:9
AbstractConfFitter::theFitter
const VertexFitter< 5 > * theFitter
Definition:
AbstractConfFitter.h:41
VertexFitter::vertex
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
GlobalErrorBase< double, ErrorMatrixTag >
AbstractConfFitter
Definition:
AbstractConfFitter.h:12
AbstractConfFitter::AbstractConfFitter
AbstractConfFitter()
Definition:
AbstractConfFitter.cc:5
Generated for CMSSW Reference Manual by
1.8.16