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
LinearizedTrackStateFactory::RefCountedLinearizedTrackState
LinearizedTrackStateFactory::linearizedTrackState
(
5
const
GlobalPoint
& linP,
const
reco::TransientTrack
&
track
,
const
TrajectoryStateOnSurface
& tsos)
const
{
6
return
RefCountedLinearizedTrackState
(
new
PerigeeLinearizedTrackState
(linP,
track
, tsos));
7
}
8
9
LinearizedTrackStateFactory::RefCountedLinearizedTrackState
LinearizedTrackStateFactory::linearizedTrackState
(
10
const
GlobalPoint
& linP,
const
reco::TransientTrack
&
track
)
const
{
11
return
RefCountedLinearizedTrackState
(
new
PerigeeLinearizedTrackState
(linP,
track
,
track
.impactPointState()));
12
}
13
14
LinearizedTrackStateFactory::RefCountedLinearizedTrackState
LinearizedTrackStateFactory::linearizedTrackState
(
15
LinearizedTrackState<5>
* lts)
const
{
16
return
RefCountedLinearizedTrackState
(lts);
17
}
18
19
const
LinearizedTrackStateFactory
*
LinearizedTrackStateFactory::clone
()
const
{
20
return
new
LinearizedTrackStateFactory
(*
this
);
21
}
LinearizedTrackStateFactory.h
AbstractLTSFactory< 5 >::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
Definition:
AbstractLTSFactory.h:14
ReferenceCountingPointer< LinearizedTrackState< N > >
LinearizedTrackStateFactory::linearizedTrackState
RefCountedLinearizedTrackState linearizedTrackState(const GlobalPoint &linP, const reco::TransientTrack &track) const override
Definition:
LinearizedTrackStateFactory.cc:9
TrajectoryStateOnSurface
Definition:
TrajectoryStateOnSurface.h:16
LinearizedTrackStateFactory
Definition:
LinearizedTrackStateFactory.h:14
Point3DBase< float, GlobalTag >
reco::TransientTrack
Definition:
TransientTrack.h:19
PerigeeLinearizedTrackState.h
LinearizedTrackState< 5 >
HLT_2018_cff.track
track
Definition:
HLT_2018_cff.py:10352
PerigeeLinearizedTrackState
Definition:
PerigeeLinearizedTrackState.h:33
LinearizedTrackStateFactory::clone
const LinearizedTrackStateFactory * clone() const override
Definition:
LinearizedTrackStateFactory.cc:19
Generated for CMSSW Reference Manual by
1.8.16