src
TrackingTools
TrajectoryState
src
TrajectoryStateOnSurface.cc
Go to the documentation of this file.
1
#include "
TrackingTools/TrajectoryState/interface/TrajectoryStateOnSurface.h
"
2
#include "
TrackingTools/TrajectoryState/interface/BasicSingleTrajectoryState.h
"
3
4
typedef
BasicSingleTrajectoryState
BTSOS
;
5
6
void
TrajectoryStateOnSurface::update
(
const
LocalTrajectoryParameters
&
p
,
7
const
SurfaceType
& aSurface,
8
const
MagneticField
* field,
9
const
SurfaceSide
side
) {
10
if
(
data
().canUpdateLocalParameters()) {
11
unsharedData
().update(
p
, aSurface, field,
side
);
12
}
else
{
13
*
this
=
TrajectoryStateOnSurface
(
p
, aSurface, field,
side
);
14
}
15
}
16
17
void
TrajectoryStateOnSurface::update
(
const
LocalTrajectoryParameters
&
p
,
18
const
LocalTrajectoryError
&
err
,
19
const
SurfaceType
& aSurface,
20
const
MagneticField
* field,
21
const
SurfaceSide
side
) {
22
if
(
data
().canUpdateLocalParameters()) {
23
unsharedData
().update(1.,
p
,
err
, aSurface, field,
side
);
24
}
else
{
25
*
this
=
TrajectoryStateOnSurface
(1.,
p
,
err
, aSurface, field,
side
);
26
}
27
}
BasicSingleTrajectoryState
Definition:
BasicSingleTrajectoryState.h:10
Surface
Definition:
Surface.h:36
ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side
ALPAKA_FN_ACC int side(int ieta, int iphi)
Definition:
KernelHelpers.dev.cc:92
MagneticField
Definition:
MagneticField.h:19
BTSOS
BasicSingleTrajectoryState BTSOS
Definition:
TrajectoryStateOnSurface.cc:4
submitPVResolutionJobs.err
err
Definition:
submitPVResolutionJobs.py:84
SurfaceSideDefinition::SurfaceSide
SurfaceSide
Definition:
SurfaceSideDefinition.h:8
TrajectoryStateOnSurface::update
void update(const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
Definition:
TrajectoryStateOnSurface.cc:6
ProxyBase11::unsharedData
T & unsharedData()
Definition:
ProxyBase11.h:56
TrajectoryStateOnSurface::TrajectoryStateOnSurface
TrajectoryStateOnSurface()
Definition:
TrajectoryStateOnSurface.h:24
ProxyBase11::data
const T & data() const
Definition:
ProxyBase11.h:51
BasicSingleTrajectoryState.h
LocalTrajectoryParameters
Definition:
LocalTrajectoryParameters.h:25
TrajectoryStateOnSurface.h
LocalTrajectoryError
Definition:
LocalTrajectoryError.h:20
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
Generated for CMSSW Reference Manual by
1.8.14