Main Page
Namespaces
Classes
Package Documentation
RecoVertex
VertexTools
src
LinearizedTrackStateFactory.cc
Go to the documentation of this file.
1
#include "
RecoVertex/VertexTools/interface/LinearizedTrackStateFactory.h
"
2
#include "
RecoVertex/VertexTools/interface/PerigeeLinearizedTrackState.h
"
3
4
5
LinearizedTrackStateFactory::RefCountedLinearizedTrackState
6
LinearizedTrackStateFactory::linearizedTrackState
(
const
GlobalPoint
& linP,
7
const
reco::TransientTrack
&
track
,
const
TrajectoryStateOnSurface
& tsos)
const
8
{
9
return
RefCountedLinearizedTrackState
(
10
new
PerigeeLinearizedTrackState
(linP, track, tsos ) );
11
}
12
13
LinearizedTrackStateFactory::RefCountedLinearizedTrackState
14
LinearizedTrackStateFactory::linearizedTrackState
(
const
GlobalPoint
& linP,
15
const
reco::TransientTrack
&
track
)
const
16
{
17
return
RefCountedLinearizedTrackState
(
18
new
PerigeeLinearizedTrackState
(linP, track, track.
impactPointState
() ) );
19
}
20
21
LinearizedTrackStateFactory::RefCountedLinearizedTrackState
22
LinearizedTrackStateFactory::linearizedTrackState
23
(
LinearizedTrackState<5>
* lts)
const
24
{
25
return
RefCountedLinearizedTrackState
(lts);
26
}
27
28
const
LinearizedTrackStateFactory
*
LinearizedTrackStateFactory::clone
()
const
29
{
30
return
new
LinearizedTrackStateFactory
( *
this
);
31
}
32
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:17
LinearizedTrackStateFactory
Definition:
LinearizedTrackStateFactory.h:14
LinearizedTrackState< 5 >
ReferenceCountingPointer< LinearizedTrackState< N > >
PerigeeLinearizedTrackState.h
reco::TransientTrack
Definition:
TransientTrack.h:21
LinearizedTrackStateFactory::clone
const LinearizedTrackStateFactory * clone() const override
Definition:
LinearizedTrackStateFactory.cc:28
AbstractLTSFactory< 5 >::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
Definition:
AbstractLTSFactory.h:17
LinearizedTrackStateFactory::linearizedTrackState
RefCountedLinearizedTrackState linearizedTrackState(const GlobalPoint &linP, const reco::TransientTrack &track) const override
Definition:
LinearizedTrackStateFactory.cc:14
HiIsolationCommonParameters_cff.track
track
Definition:
HiIsolationCommonParameters_cff.py:9
PerigeeLinearizedTrackState
Definition:
PerigeeLinearizedTrackState.h:35
Point3DBase< float, GlobalTag >
reco::TransientTrack::impactPointState
TrajectoryStateOnSurface impactPointState() const
Definition:
TransientTrack.h:97
LinearizedTrackStateFactory.h
Generated for CMSSW Reference Manual by
1.8.11