RecoVertex
VertexPrimitives
interface
VertexReconstructor.h
Go to the documentation of this file.
1
#ifndef _VertexReconstructor_H_
2
#define _VertexReconstructor_H_
3
4
#include "
RecoVertex/VertexPrimitives/interface/TransientVertex.h
"
5
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
6
#include "
DataFormats/BeamSpot/interface/BeamSpot.h
"
7
#include <vector>
8
13
class
VertexReconstructor
{
14
public
:
15
VertexReconstructor
() {}
16
virtual
~VertexReconstructor
() {}
17
20
virtual
std::vector<TransientVertex>
vertices
(
const
std::vector<reco::TransientTrack> &)
const
= 0;
21
25
virtual
std::vector<TransientVertex>
vertices
(
const
std::vector<reco::TransientTrack> &
t
,
26
const
reco::BeamSpot
&)
const
{
27
return
vertices
(
t
);
28
}
29
39
virtual
std::vector<TransientVertex>
vertices
(
const
std::vector<reco::TransientTrack> &primaries,
40
const
std::vector<reco::TransientTrack> &
tracks
,
41
const
reco::BeamSpot
&spot)
const
{
42
return
vertices
(
tracks
, spot);
43
}
44
45
virtual
VertexReconstructor
*
clone
()
const
= 0;
46
};
47
48
#endif
PDWG_EXOHSCP_cff.tracks
tracks
Definition:
PDWG_EXOHSCP_cff.py:28
VertexReconstructor::VertexReconstructor
VertexReconstructor()
Definition:
VertexReconstructor.h:15
TransientTrack.h
BeamSpot.h
reco::BeamSpot
Definition:
BeamSpot.h:21
OrderedSet.t
t
Definition:
OrderedSet.py:90
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &) const =0
VertexReconstructor
Definition:
VertexReconstructor.h:13
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &primaries, const std::vector< reco::TransientTrack > &tracks, const reco::BeamSpot &spot) const
Definition:
VertexReconstructor.h:39
VertexReconstructor::vertices
virtual std::vector< TransientVertex > vertices(const std::vector< reco::TransientTrack > &t, const reco::BeamSpot &) const
Definition:
VertexReconstructor.h:25
TransientVertex.h
VertexReconstructor::clone
virtual VertexReconstructor * clone() const =0
VertexReconstructor::~VertexReconstructor
virtual ~VertexReconstructor()
Definition:
VertexReconstructor.h:16
Generated for CMSSW Reference Manual by
1.8.16