Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoVertex
LinearizationPointFinders
interface
GenericLinearizationPointFinder.h
Go to the documentation of this file.
1
#ifndef GenericLinearizationPointFinder_H
2
#define GenericLinearizationPointFinder_H
3
4
#include "
RecoVertex/VertexTools/interface/LinearizationPointFinder.h
"
5
#include "
RecoVertex/VertexPrimitives/interface/VertexFitter.h
"
6
11
class
GenericLinearizationPointFinder
:
public
LinearizationPointFinder
{
12
13
public
:
14
15
GenericLinearizationPointFinder
(
const
VertexFitter
& fitter ) :
16
theFitter
( fitter.
clone
() ) {}
17
18
~GenericLinearizationPointFinder
() {
delete
theFitter
; }
19
22
virtual
23
GlobalPoint
getLinearizationPoint
(
const
std::vector<reco::TransientTrack> &
tracks
)
const
{
24
return
theFitter
->
vertex
( tracks ).position();
25
}
26
29
virtual
LinearizationPointFinder
*
clone
()
const
{
30
return
new
GenericLinearizationPointFinder
(*
this
);
31
}
32
33
private
:
34
35
const
VertexFitter
*
theFitter
;
36
37
};
38
39
#endif
GenericLinearizationPointFinder::clone
virtual LinearizationPointFinder * clone() const
Definition:
GenericLinearizationPointFinder.h:29
GenericLinearizationPointFinder::~GenericLinearizationPointFinder
~GenericLinearizationPointFinder()
Definition:
GenericLinearizationPointFinder.h:18
GenericLinearizationPointFinder
Definition:
GenericLinearizationPointFinder.h:11
VertexFitter::vertex
virtual CachingVertex< N > vertex(const std::vector< reco::TransientTrack > &tracks) const =0
VertexFitter.h
testEve_cfg.tracks
tuple tracks
Definition:
testEve_cfg.py:39
GenericLinearizationPointFinder::theFitter
const VertexFitter * theFitter
Definition:
GenericLinearizationPointFinder.h:35
VertexFitter
Definition:
VertexFitter.h:20
LinearizationPointFinder.h
GenericLinearizationPointFinder::GenericLinearizationPointFinder
GenericLinearizationPointFinder(const VertexFitter &fitter)
Definition:
GenericLinearizationPointFinder.h:15
Point3DBase< float, GlobalTag >
LinearizationPointFinder
Definition:
LinearizationPointFinder.h:12
GenericLinearizationPointFinder::getLinearizationPoint
virtual GlobalPoint getLinearizationPoint(const std::vector< reco::TransientTrack > &tracks) const
Definition:
GenericLinearizationPointFinder.h:23
Generated for CMSSW Reference Manual by
1.8.5