src
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::clone
const LinearizedTrackStateFactory * clone() const override
Definition:
LinearizedTrackStateFactory.cc:19
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
LinearizedTrackState< 5 >
ReferenceCountingPointer< LinearizedTrackState< N > >
PerigeeLinearizedTrackState.h
reco::TransientTrack
Definition:
TransientTrack.h:19
AbstractLTSFactory< 5 >::RefCountedLinearizedTrackState
ReferenceCountingPointer< LinearizedTrackState< N > > RefCountedLinearizedTrackState
Definition:
AbstractLTSFactory.h:14
PerigeeLinearizedTrackState
Definition:
PerigeeLinearizedTrackState.h:33
Point3DBase< float, GlobalTag >
LinearizedTrackStateFactory.h
HLT_2023v12_cff.track
track
Definition:
HLT_2023v12_cff.py:9595
Generated for CMSSW Reference Manual by
1.8.14