13 Trajectory::DataContainer::const_iterator i_fwd =
15 Trajectory::DataContainer::const_reverse_iterator i_bwd =
17 Trajectory::DataContainer::const_iterator i_end =
19 Trajectory::DataContainer::const_reverse_iterator i_rend =
22 for (; forward ? i_fwd != i_end : i_bwd != i_rend;
23 ++i_fwd, ++i_bwd, ++i_residual) {
38 edm::LogError(
"InvalideState")<<
"the combined state is invalid";
52 double x = (dethit_localpos.
x() - combo_localpos.
x()) /
53 sqrt(error_including_alignment[0][0]);
54 double y = (dethit_localpos.
y() - combo_localpos.
y()) /
55 sqrt(error_including_alignment[1][1]);
61 double x = (dethit_localpos.
x() - combo_localpos.
x()) /
62 sqrt(error_including_alignment[0][0] + combo_localerr.
xx());
63 double y = (dethit_localpos.
y() - combo_localpos.
y()) /
64 sqrt(error_including_alignment[1][1] + combo_localerr.
yy());
ConstRecHitPointer const & recHit() const
LocalPoint localPosition() const
static AlgebraicSymMatrix parError(const LocalError &le, const GeomDet &det)
void setPullXY(int idx, double pullX, double pullY)
LocalError positionError() const
PropagationDirection const & direction() const
DataContainer const & measurements() const
static type combine(const A &_1, const B &_2)
const LocalTrajectoryError & localError() const
TrajectoryStateOnSurface const & forwardPredictedState() const
Access to forward predicted state (from fitter or builder)
void setResidualXY(int idx, double residualX, double residualY)
CLHEP::HepSymMatrix AlgebraicSymMatrix
reco::TrackResiduals trajectoryToResiduals(const Trajectory &trajectory, enum reco::TrackResiduals::ResidualType type)
TrajectoryStateOnSurface const & backwardPredictedState() const
Access to backward predicted state (from smoother)