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
15
class
KinematicVertexFactory
{
16
public
:
17
KinematicVertexFactory
() {}
18
23
static
RefCountedKinematicVertex
vertex
(
const
VertexState
&
state
,
float
totalChiSq,
float
degreesOfFr) {
24
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
(
state
, totalChiSq, degreesOfFr));
25
}
26
31
static
RefCountedKinematicVertex
vertex
(
const
VertexState
state
,
32
const
ReferenceCountingPointer<KinematicVertex>
pVertex,
33
float
totalChiSq,
34
float
degreesOfFr) {
35
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
(
state
, pVertex, totalChiSq, degreesOfFr));
36
}
37
41
static
RefCountedKinematicVertex
vertex
(
const
CachingVertex<6>
&
vertex
) {
42
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
(
vertex
));
43
}
44
49
static
RefCountedKinematicVertex
vertex
() {
return
ReferenceCountingPointer<KinematicVertex>
(
new
KinematicVertex
()); }
50
};
51
#endif
CachingVertex
Definition:
CachingVertex.h:22
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex(const CachingVertex< 6 > &vertex)
Definition:
KinematicVertexFactory.h:41
KinematicVertexFactory
Definition:
KinematicVertexFactory.h:15
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex(const VertexState state, const ReferenceCountingPointer< KinematicVertex > pVertex, float totalChiSq, float degreesOfFr)
Definition:
KinematicVertexFactory.h:31
ReferenceCountingPointer< KinematicVertex >
KinematicVertex
Definition:
KinematicVertex.h:20
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex()
Definition:
KinematicVertexFactory.h:49
RefCountedKinematicVertex.h
RunInfoPI::state
state
Definition:
RunInfoPayloadInspectoHelper.h:16
VertexState
Definition:
VertexState.h:13
KinematicVertexFactory::vertex
static RefCountedKinematicVertex vertex(const VertexState &state, float totalChiSq, float degreesOfFr)
Definition:
KinematicVertexFactory.h:23
KinematicVertexFactory::KinematicVertexFactory
KinematicVertexFactory()
Definition:
KinematicVertexFactory.h:17
Generated for CMSSW Reference Manual by
1.8.16