Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
RecoVertex
VertexTools
interface
VertexTrackFactory.h
Go to the documentation of this file.
1
#ifndef VertexTrackFactory_H
2
#define VertexTrackFactory_H
3
4
#include "
DataFormats/GeometrySurface/interface/ReferenceCounted.h
"
5
#include "
RecoVertex/VertexPrimitives/interface/VertexTrack.h
"
6
#include "
RecoVertex/VertexPrimitives/interface/LinearizedTrackState.h
"
7
15
template
<
unsigned
int
N>
16
class
VertexTrackFactory
{
17
public
:
18
typedef
ReferenceCountingPointer<RefittedTrackState<N>
>
RefCountedRefittedTrackState
;
19
typedef
ReferenceCountingPointer<VertexTrack<N>
>
RefCountedVertexTrack
;
20
typedef
ReferenceCountingPointer<LinearizedTrackState<N>
>
RefCountedLinearizedTrackState
;
21
typedef
ROOT::Math::SMatrix<double, 3,
N
- 2, ROOT::Math::MatRepStd<double, 3,
N
- 2> >
AlgebraicMatrix3M
;
22
typedef
ROOT::Math::SMatrix<double, N + 1, N + 1, ROOT::Math::MatRepSym<double, N + 1> >
AlgebraicSymMatrixOO
;
23
24
VertexTrackFactory
() {}
25
~VertexTrackFactory
() {}
26
27
RefCountedVertexTrack
vertexTrack
(
const
RefCountedLinearizedTrackState
lt
,
28
const
VertexState
vs,
29
float
weight
= 1.0)
const
{
30
return
RefCountedVertexTrack
(
new
VertexTrack<N>
(lt, vs,
weight
));
31
};
32
33
RefCountedVertexTrack
vertexTrack
(
const
RefCountedLinearizedTrackState
lt
,
34
const
VertexState
vs,
35
const
RefCountedRefittedTrackState
& refittedState,
36
float
smoothedChi2,
37
float
weight
= 1.0)
const
{
38
return
RefCountedVertexTrack
(
new
VertexTrack<N>
(lt, vs,
weight
, refittedState, smoothedChi2));
39
};
40
41
RefCountedVertexTrack
vertexTrack
(
const
RefCountedLinearizedTrackState
lt
,
42
const
VertexState
vs,
43
const
RefCountedRefittedTrackState
& refittedState,
44
float
smoothedChi2,
45
const
AlgebraicSymMatrixOO
& tVCov,
46
float
weight
= 1.0)
const
{
47
return
RefCountedVertexTrack
(
new
VertexTrack<N>
(lt, vs,
weight
, refittedState, smoothedChi2, tVCov));
48
};
49
};
50
51
#endif
LinearizedTrackState.h
VertexTrackFactory::vertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, float weight=1.0) const
Definition:
VertexTrackFactory.h:33
VertexTrackFactory::vertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, float weight=1.0) const
Definition:
VertexTrackFactory.h:27
VertexTrackFactory::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< N > > RefCountedRefittedTrackState
Definition:
VertexTrackFactory.h:18
VertexTrackFactory::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
Definition:
VertexTrackFactory.h:20
ReferenceCountingPointer
Definition:
ReferenceCounted.h:60
ReferenceCounted.h
VertexTrack.h
VertexTrackFactory::~VertexTrackFactory
~VertexTrackFactory()
Definition:
VertexTrackFactory.h:25
VertexTrackFactory::AlgebraicSymMatrixOO
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition:
VertexTrackFactory.h:22
VertexTrackFactory::RefCountedVertexTrack
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack
Definition:
VertexTrackFactory.h:19
N
#define N
Definition:
blowfish.cc:9
VertexTrackFactory
Definition:
VertexTrackFactory.h:16
lt
< trclass="colgroup">< tdclass="colgroup"colspan=5 > DT local reconstruction</td ></tr >< tr >< td >< ahref="classDTRecHit1DPair.html"> DTRecHit1DPair</a ></td >< td >< ahref="DataFormats_DTRecHit.html"> edm::RangeMap & lt
Definition:
RecoLocalMuon_RECO.doi:7
VertexTrackFactory::AlgebraicMatrix3M
ROOT::Math::SMatrix< double, 3, N-2, ROOT::Math::MatRepStd< double, 3, N-2 > > AlgebraicMatrix3M
Definition:
VertexTrackFactory.h:21
VertexTrackFactory::vertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, const RefCountedRefittedTrackState &refittedState, float smoothedChi2, const AlgebraicSymMatrixOO &tVCov, float weight=1.0) const
Definition:
VertexTrackFactory.h:41
histoStyle.weight
int weight
Definition:
histoStyle.py:51
VertexState
Definition:
VertexState.h:13
VertexTrackFactory::VertexTrackFactory
VertexTrackFactory()
Definition:
VertexTrackFactory.h:24
VertexTrack
Definition:
VertexTrack.h:18
Generated for CMSSW Reference Manual by
1.8.5