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
}
TrajectoryStateOnSurface.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
BTSOS
BasicSingleTrajectoryState BTSOS
Definition:
TrajectoryStateOnSurface.cc:4
Surface
Definition:
Surface.h:36
SurfaceSideDefinition::SurfaceSide
SurfaceSide
Definition:
SurfaceSideDefinition.h:8
LocalTrajectoryParameters
Definition:
LocalTrajectoryParameters.h:25
TrajectoryStateOnSurface::TrajectoryStateOnSurface
TrajectoryStateOnSurface()
Definition:
TrajectoryStateOnSurface.h:24
BasicSingleTrajectoryState
Definition:
BasicSingleTrajectoryState.h:10
LocalTrajectoryError
Definition:
LocalTrajectoryError.h:20
runTheMatrix.err
err
Definition:
runTheMatrix.py:288
ProxyBase11::unsharedData
T & unsharedData()
Definition:
ProxyBase11.h:56
TrajectoryStateOnSurface::update
void update(const LocalTrajectoryParameters &p, const SurfaceType &aSurface, const MagneticField *field, SurfaceSide side=SurfaceSideDefinition::atCenterOfSurface)
Definition:
TrajectoryStateOnSurface.cc:6
BasicSingleTrajectoryState.h
ProxyBase11::data
const T & data() const
Definition:
ProxyBase11.h:51
MagneticField
Definition:
MagneticField.h:19
Generated for CMSSW Reference Manual by
1.8.16