#include <HelpertRecHit2DLocalPos.h>
Static Public Member Functions | |
static void | getKfComponents (KfComponentsHolder &holder, const TrackingRecHit &hit2dLocalPos, const GeomDet &det) |
static void | getKfComponents (KfComponentsHolder &holder, const SiStripRecHit1D &hit1D, const GeomDet &det) |
Fills in KFComponents delegating to hit1D, plus adding APE if available. | |
static AlgebraicSymMatrix | parError (const LocalError &le, const GeomDet &det) |
static void | updateWithAPE (LocalError &le, const GeomDet &det) |
Definition at line 16 of file HelpertRecHit2DLocalPos.h.
void HelpertRecHit2DLocalPos::getKfComponents | ( | KfComponentsHolder & | holder, |
const TrackingRecHit & | hit2dLocalPos, | ||
const GeomDet & | det | ||
) | [static] |
Fills in KFComponents delegating to hit2dLocalPos, plus adding APE if available hit2dLocalPos MUST BE a 2D rechit measuring local position (e.g. BaseSiTrackerRecHit2DLocalPos)
Definition at line 38 of file HelpertRecHit2DLocalPos.cc.
References GeomDet::alignmentPositionError(), KfComponentsHolder::errors(), TrackingRecHit::getKfComponents(), AlignmentPositionError::globalError(), m, GeomDet::surface(), ErrorFrameTransformer::transform(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by TSiStripMatchedRecHit::getKfComponents(), TSiPixelRecHit::getKfComponents(), ProjectedRecHit2D::getKfComponents(), TSiStripRecHit2DLocalPos::getKfComponents(), TSiTrackerMultiRecHit::getKfComponents(), and TSiStripRecHit1D::getKfComponents().
{ hit2dLocalPos.getKfComponents(holder); if ( det.alignmentPositionError() != 0) { LocalError lape = ErrorFrameTransformer().transform( det.alignmentPositionError()->globalError(), det.surface()); AlgebraicSymMatrix22 &m = holder.errors<2>(); m(0, 0) += lape.xx(); m(0, 1) += lape.xy(); m(1, 1) += lape.yy(); } }
void HelpertRecHit2DLocalPos::getKfComponents | ( | KfComponentsHolder & | holder, |
const SiStripRecHit1D & | hit1D, | ||
const GeomDet & | det | ||
) | [static] |
Fills in KFComponents delegating to hit1D, plus adding APE if available.
Definition at line 55 of file HelpertRecHit2DLocalPos.cc.
References GeomDet::alignmentPositionError(), KfComponentsHolder::errors(), SiStripRecHit1D::getKfComponents(), AlignmentPositionError::globalError(), m, GeomDet::surface(), ErrorFrameTransformer::transform(), and LocalError::xx().
{ hit1D.getKfComponents(holder); if ( det.alignmentPositionError() != 0) { LocalError lape = ErrorFrameTransformer().transform( det.alignmentPositionError()->globalError(), det.surface()); AlgebraicSymMatrix11 &m = holder.errors<1>(); m(0, 0) += lape.xx(); } }
AlgebraicSymMatrix HelpertRecHit2DLocalPos::parError | ( | const LocalError & | le, |
const GeomDet & | det | ||
) | [static] |
Definition at line 18 of file HelpertRecHit2DLocalPos.cc.
References GeomDet::alignmentPositionError(), AlignmentPositionError::globalError(), m, GeomDet::surface(), ErrorFrameTransformer::transform(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by DualKalmanTrajectory::hitErrorWithAPE(), TSiStripRecHit1D::parametersError(), TSiStripMatchedRecHit::parametersError(), TSiStripRecHit2DLocalPos::parametersError(), TSiTrackerMultiRecHit::parametersError(), TSiPixelRecHit::parametersError(), GenericProjectedRecHit2D::parametersError(), ProjectedRecHit2D::parametersError(), and trajectoryToResiduals().
{ AlgebraicSymMatrix m(2); if ( det.alignmentPositionError() != 0) { LocalError lape = ErrorFrameTransformer().transform( det.alignmentPositionError()->globalError(), det.surface()); m[0][0] = le.xx()+lape.xx(); m[0][1] = le.xy()+lape.xy(); m[1][1] = le.yy()+lape.yy(); } else { m[0][0] = le.xx(); m[0][1] = le.xy(); m[1][1] = le.yy(); }; return m; }
void HelpertRecHit2DLocalPos::updateWithAPE | ( | LocalError & | le, |
const GeomDet & | det | ||
) | [static] |
Definition at line 7 of file HelpertRecHit2DLocalPos.cc.
References GeomDet::alignmentPositionError(), AlignmentPositionError::globalError(), GeomDet::surface(), ErrorFrameTransformer::transform(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by SiStripRecHitMatcher::match().
{ if ( det.alignmentPositionError() != 0) { LocalError lape = ErrorFrameTransformer().transform( det.alignmentPositionError()->globalError(), det.surface()); le = LocalError(le.xx()+lape.xx(), le.xy()+lape.xy(), le.yy()+lape.yy()); } }