Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
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
18
public
:
19
20
typedef
ReferenceCountingPointer<RefittedTrackState<N>
>
RefCountedRefittedTrackState
;
21
typedef
ReferenceCountingPointer<VertexTrack<N>
>
RefCountedVertexTrack
;
22
typedef
ReferenceCountingPointer<LinearizedTrackState<N>
>
RefCountedLinearizedTrackState
;
23
typedef
ROOT::Math::SMatrix<double,3,
N
-2,ROOT::Math::MatRepStd<double,3,
N
-2> >
AlgebraicMatrix3M
;
24
typedef
ROOT::Math::SMatrix<double,N+1,N+1,ROOT::Math::MatRepSym<double,N+1> >
AlgebraicSymMatrixOO
;
25
26
VertexTrackFactory
() {}
27
~VertexTrackFactory
() {}
28
29
RefCountedVertexTrack
30
vertexTrack
(
const
RefCountedLinearizedTrackState
lt
,
31
const
VertexState
vs,
32
float
weight
= 1.0 )
const
{
33
return
RefCountedVertexTrack
(
new
VertexTrack<N>
(lt, vs,
weight
));
34
};
35
36
RefCountedVertexTrack
37
vertexTrack
(
const
RefCountedLinearizedTrackState
lt
,
38
const
VertexState
vs,
39
const
RefCountedRefittedTrackState
& refittedState,
40
float
smoothedChi2,
float
weight
= 1.0 )
const
{
41
return
RefCountedVertexTrack
(
new
VertexTrack<N>
(lt, vs,
weight
, refittedState,
42
smoothedChi2));
43
};
44
45
RefCountedVertexTrack
46
vertexTrack
(
const
RefCountedLinearizedTrackState
lt
,
47
const
VertexState
vs,
48
const
RefCountedRefittedTrackState
& refittedState,
49
float
smoothedChi2,
50
const
AlgebraicSymMatrixOO
& tVCov,
float
weight
= 1.0 )
const
{
51
return
RefCountedVertexTrack
(
new
VertexTrack<N>
(lt, vs,
weight
,
52
refittedState, smoothedChi2, tVCov));
53
};
54
};
55
56
#endif
VertexTrackFactory::AlgebraicMatrix3M
ROOT::Math::SMatrix< double, 3, N-2, ROOT::Math::MatRepStd< double, 3, N-2 > > AlgebraicMatrix3M
Definition:
VertexTrackFactory.h:23
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:37
VertexTrackFactory::vertexTrack
RefCountedVertexTrack vertexTrack(const RefCountedLinearizedTrackState lt, const VertexState vs, float weight=1.0) const
Definition:
VertexTrackFactory.h:30
puppiForMET_cff.weight
tuple weight
Definition:
puppiForMET_cff.py:35
VertexTrackFactory::RefCountedRefittedTrackState
ReferenceCountingPointer< RefittedTrackState< N > > RefCountedRefittedTrackState
Definition:
VertexTrackFactory.h:20
VertexTrackFactory::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
Definition:
VertexTrackFactory.h:22
ReferenceCountingPointer
Definition:
ReferenceCounted.h:63
ReferenceCounted.h
VertexTrack.h
VertexTrackFactory::~VertexTrackFactory
~VertexTrackFactory()
Definition:
VertexTrackFactory.h:27
VertexTrackFactory::RefCountedVertexTrack
ReferenceCountingPointer< VertexTrack< N > > RefCountedVertexTrack
Definition:
VertexTrackFactory.h:21
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::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:46
VertexState
Definition:
VertexState.h:13
VertexTrackFactory::VertexTrackFactory
VertexTrackFactory()
Definition:
VertexTrackFactory.h:26
VertexTrackFactory::AlgebraicSymMatrixOO
ROOT::Math::SMatrix< double, N+1, N+1, ROOT::Math::MatRepSym< double, N+1 > > AlgebraicSymMatrixOO
Definition:
VertexTrackFactory.h:24
VertexTrack
Definition:
VertexTrack.h:19
Generated for CMSSW Reference Manual by
1.8.5