Main Page
Namespaces
Classes
Package Documentation
src
RecoVertex
KinematicFitPrimitives
interface
KinematicVertexFactory.h
Go to the documentation of this file.
1
#ifndef KinematicVertexFactory_H
2
#define KinematicVertexFactory_H
3
4
#include "
RecoVertex/KinematicFitPrimitives/interface/RefCountedKinematicVertex.h
"
5
17
class
KinematicVertexFactory
18
{
19
public
:
20
21
KinematicVertexFactory
()
22
{}
23
28
static
RefCountedKinematicVertex
vertex
(
const
VertexState
& state,
float
totalChiSq,
float
degreesOfFr)
29
{
30
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
(state,totalChiSq,
31
degreesOfFr));
32
}
33
38
static
RefCountedKinematicVertex
vertex
(
const
VertexState
state,
39
const
ReferenceCountingPointer<KinematicVertex>
pVertex,
40
float
totalChiSq,
float
degreesOfFr)
41
{
42
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
(state, pVertex,
43
totalChiSq, degreesOfFr));
44
}
45
46
50
static
RefCountedKinematicVertex
vertex
(
const
CachingVertex<6>
&
vertex
)
51
{
52
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
(vertex));
53
}
54
59
static
RefCountedKinematicVertex
vertex
()
60
{
61
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
());
62
}
63
64
};
65
#endif
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex(const VertexState state, const ReferenceCountingPointer< KinematicVertex > pVertex, float totalChiSq, float degreesOfFr)
Definition:
KinematicVertexFactory.h:38
RefCountedKinematicVertex.h
KinematicVertex
Definition:
KinematicVertex.h:21
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex()
Definition:
KinematicVertexFactory.h:59
ReferenceCountingPointer< KinematicVertex >
KinematicVertexFactory
Definition:
KinematicVertexFactory.h:17
CachingVertex
Definition:
CachingVertex.h:25
KinematicVertexFactory::KinematicVertexFactory
KinematicVertexFactory()
Definition:
KinematicVertexFactory.h:21
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex(const CachingVertex< 6 > &vertex)
Definition:
KinematicVertexFactory.h:50
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex(const VertexState &state, float totalChiSq, float degreesOfFr)
Definition:
KinematicVertexFactory.h:28
VertexState
Definition:
VertexState.h:13
Generated for CMSSW Reference Manual by
1.8.11