#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 35 of file HelpertRecHit2DLocalPos.cc.
References KfComponentsHolder::errors(), TrackingRecHit::getKfComponents(), GeomDet::localAlignmentError(), m, LocalError::valid(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by GCC11_FINAL::getKfComponents().
{ hit2dLocalPos.getKfComponents(holder); LocalError lape = det.localAlignmentError(); if (lape.valid()) { 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 50 of file HelpertRecHit2DLocalPos.cc.
References KfComponentsHolder::errors(), GeomDet::localAlignmentError(), m, LocalError::valid(), and LocalError::xx().
{ hit1D.getKfComponents(holder); LocalError lape =det.localAlignmentError(); if (lape.valid()) { AlgebraicSymMatrix11 &m = holder.errors<1>(); m(0, 0) += lape.xx(); } }
AlgebraicSymMatrix HelpertRecHit2DLocalPos::parError | ( | const LocalError & | le, |
const GeomDet & | det | ||
) | [static] |
Definition at line 17 of file HelpertRecHit2DLocalPos.cc.
References GeomDet::localAlignmentError(), m, LocalError::valid(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by DualKalmanTrajectory::hitErrorWithAPE(), GCC11_FINAL::parametersError(), and trajectoryToResiduals().
void HelpertRecHit2DLocalPos::updateWithAPE | ( | LocalError & | le, |
const GeomDet & | det | ||
) | [static] |
Definition at line 7 of file HelpertRecHit2DLocalPos.cc.
References GeomDet::localAlignmentError(), LocalError::valid(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by SiStripRecHitMatcher::match().
{ LocalError lape = det.localAlignmentError(); if (lape.valid()) le = LocalError(le.xx()+lape.xx(), le.xy()+lape.xy(), le.yy()+lape.yy() ); }