#include <GlobalErrorBase.h>
Classes | |
class | NullMatrix |
Tag to request a null error matrix. More... | |
Public Member Functions | |
T | cxx () const |
T | cyx () const |
T | cyy () const |
T | czx () const |
T | czy () const |
T | czz () const |
GlobalErrorBase (const AlgebraicSymMatrix33 &err) | |
GlobalErrorBase (const NullMatrix &) | |
GlobalErrorBase (T c11, T c21, T c22, T c31, T c32, T c33) | |
GlobalErrorBase () | |
const AlgebraicSymMatrix33 & | matrix () const |
const AlgebraicSymMatrix33 & | matrix_new () const |
GlobalErrorBase | operator+ (const GlobalErrorBase &err) const |
GlobalErrorBase | operator- (const GlobalErrorBase &err) const |
T | phierr (const GlobalPoint &aPoint) const |
T | rerr (const GlobalPoint &aPoint) const |
~GlobalErrorBase () | |
Private Attributes | |
AlgebraicSymMatrix33 | theCartesianError |
Templated class representing a symmetric 3*3 matrix describing, according to the ErrorWeightType tag, a (cartesian) covariance matrix or the weight matrix (the inverse of the covariance matrix).
The typedefs should be used in the code.
Definition at line 26 of file GlobalErrorBase.h.
GlobalErrorBase< T, ErrorWeightType >::GlobalErrorBase | ( | ) | [inline] |
Default constructor, creating a null 3*3 matrix (all values are 0)
Definition at line 36 of file GlobalErrorBase.h.
Referenced by GlobalErrorBase< double, ErrorMatrixTag >::operator+(), and GlobalErrorBase< double, ErrorMatrixTag >::operator-().
{}
GlobalErrorBase< T, ErrorWeightType >::GlobalErrorBase | ( | const NullMatrix & | ) | [inline] |
Obsolete Constructor that allocates a null GlobalErrorBase (it does not create the error matrix at all)
Definition at line 41 of file GlobalErrorBase.h.
{}
GlobalErrorBase< T, ErrorWeightType >::GlobalErrorBase | ( | T | c11, |
T | c21, | ||
T | c22, | ||
T | c31, | ||
T | c32, | ||
T | c33 | ||
) | [inline] |
Constructor. The symmetric matrix stored as a lower triangular matrix
Definition at line 48 of file GlobalErrorBase.h.
{ theCartesianError(0,0)=c11; theCartesianError(1,0)=c21; theCartesianError(1,1)=c22; theCartesianError(2,0)=c31; theCartesianError(2,1)=c32; theCartesianError(2,2)=c33; }
GlobalErrorBase< T, ErrorWeightType >::GlobalErrorBase | ( | const AlgebraicSymMatrix33 & | err | ) | [inline] |
Constructor from SymMatrix. The original matrix has to be a 3*3 matrix.
Definition at line 60 of file GlobalErrorBase.h.
: theCartesianError(err) { }
GlobalErrorBase< T, ErrorWeightType >::~GlobalErrorBase | ( | ) | [inline] |
Definition at line 63 of file GlobalErrorBase.h.
{}
T GlobalErrorBase< T, ErrorWeightType >::cxx | ( | ) | const [inline] |
Definition at line 65 of file GlobalErrorBase.h.
Referenced by CkfDebugger::analyseCompatibleMeasurements(), TestHits::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), RecoVertex::convertError(), Flight2DSvFilter::DistanceSignificance2DToBeamLine(), VertexFitterResult::fill(), GetLineCovMatrix::GetLineCovMatrix(), SeedFromConsecutiveHitsCreator::initialError(), SeedForPhotonConversion1Leg::initialError(), SeedForPhotonConversionFromQuadruplets::initialError(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), GlobalErrorBase< double, ErrorMatrixTag >::phierr(), PrimaryVertexProducer::produce(), GeometryAligner::removeGlobalTransform(), GlobalErrorBase< double, ErrorMatrixTag >::rerr(), KFBasedPixelFitter::run(), CandKinematicVertexFitter::set(), DistanceOfVertices::terms2D(), ErrorFrameTransformer::transform(), and AlignmentPositionError::valid().
{ return theCartesianError(0,0); }
T GlobalErrorBase< T, ErrorWeightType >::cyx | ( | ) | const [inline] |
Definition at line 69 of file GlobalErrorBase.h.
Referenced by RecoVertex::convertError(), Flight2DSvFilter::DistanceSignificance2DToBeamLine(), GetLineCovMatrix::GetLineCovMatrix(), GlobalErrorBase< double, ErrorMatrixTag >::phierr(), GeometryAligner::removeGlobalTransform(), GlobalErrorBase< double, ErrorMatrixTag >::rerr(), CandKinematicVertexFitter::set(), DistanceOfVertices::terms2D(), and ErrorFrameTransformer::transform().
{ return theCartesianError(1,0); }
T GlobalErrorBase< T, ErrorWeightType >::cyy | ( | ) | const [inline] |
Definition at line 73 of file GlobalErrorBase.h.
Referenced by CkfDebugger::analyseCompatibleMeasurements(), TestHits::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), RecoVertex::convertError(), Flight2DSvFilter::DistanceSignificance2DToBeamLine(), VertexFitterResult::fill(), GetLineCovMatrix::GetLineCovMatrix(), GlobalErrorBase< double, ErrorMatrixTag >::phierr(), PrimaryVertexProducer::produce(), GeometryAligner::removeGlobalTransform(), GlobalErrorBase< double, ErrorMatrixTag >::rerr(), CandKinematicVertexFitter::set(), DistanceOfVertices::terms2D(), ErrorFrameTransformer::transform(), and AlignmentPositionError::valid().
{ return theCartesianError(1,1); }
T GlobalErrorBase< T, ErrorWeightType >::czx | ( | ) | const [inline] |
Definition at line 77 of file GlobalErrorBase.h.
Referenced by RecoVertex::convertError(), GetLineCovMatrix::GetLineCovMatrix(), GeometryAligner::removeGlobalTransform(), CandKinematicVertexFitter::set(), DistanceOfVertices::terms3D(), and ErrorFrameTransformer::transform().
{ return theCartesianError(2,0); }
T GlobalErrorBase< T, ErrorWeightType >::czy | ( | ) | const [inline] |
Definition at line 81 of file GlobalErrorBase.h.
Referenced by RecoVertex::convertError(), GetLineCovMatrix::GetLineCovMatrix(), GeometryAligner::removeGlobalTransform(), CandKinematicVertexFitter::set(), DistanceOfVertices::terms3D(), and ErrorFrameTransformer::transform().
{ return theCartesianError(2,1); }
T GlobalErrorBase< T, ErrorWeightType >::czz | ( | ) | const [inline] |
Definition at line 85 of file GlobalErrorBase.h.
Referenced by CkfDebugger::analyseCompatibleMeasurements(), TestHits::analyze(), TestTrackHits::analyze(), TestSmoothHits::analyze(), BarrelDetLayer::compatible(), RecoVertex::convertError(), VertexFitterResult::fill(), GetLineCovMatrix::GetLineCovMatrix(), SeedFromConsecutiveHitsCreator::initialError(), SeedForPhotonConversion1Leg::initialError(), SeedForPhotonConversionFromQuadruplets::initialError(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), PrimaryVertexProducer::produce(), GeometryAligner::removeGlobalTransform(), PixelFitterByConformalMappingAndLine::run(), KFBasedPixelFitter::run(), CandKinematicVertexFitter::set(), TransientTrackingRecHit::setPositionErrors(), DistanceOfVertices::terms3D(), ErrorFrameTransformer::transform(), AlignmentPositionError::valid(), and SimpleNavigableLayer::wellInside().
{ return theCartesianError(2,2); }
const AlgebraicSymMatrix33& GlobalErrorBase< T, ErrorWeightType >::matrix | ( | void | ) | const [inline] |
Access method to the matrix, /return The SymMatrix
Definition at line 93 of file GlobalErrorBase.h.
Referenced by AlignableDetUnit::alignmentErrors(), AlignableDet::alignmentErrors(), AlignableBeamSpot::alignmentErrors(), VertexDistance3D::compatibility(), VertexDistanceXY::compatibility(), BasicSingleVertexState::computeError(), BasicSingleVertexState::computeWeight(), VertexDistance3D::distance(), VertexDistanceXY::distance(), CocoaDBMgr::GetAlignInfoErrorFromOptO(), KinematicVertex::operator==(), and PrimaryVertexProducer::produce().
{ return theCartesianError; }
const AlgebraicSymMatrix33& GlobalErrorBase< T, ErrorWeightType >::matrix_new | ( | ) | const [inline] |
Definition at line 96 of file GlobalErrorBase.h.
Referenced by GsfVertexWeightCalculator::calculate(), BasicSingleVertexState::computePosition(), BasicSingleVertexState::computeWeightTimesPos(), reco::GhostTrackPrediction::init(), reco::GhostTrackState::lambdaError(), KalmanVertexUpdator< N >::positionUpdate(), KalmanVertexTrackUpdator< 5 >::trackRefit(), trackVertexCompat(), vertexAtState(), KVFHelper< N >::vertexChi2(), reco::GhostTrackVertexFinder::vertexCompat(), and vtxErrorLong().
{ return theCartesianError; }
GlobalErrorBase GlobalErrorBase< T, ErrorWeightType >::operator+ | ( | const GlobalErrorBase< T, ErrorWeightType > & | err | ) | const [inline] |
Definition at line 123 of file GlobalErrorBase.h.
{ return GlobalErrorBase(theCartesianError + err.theCartesianError); }
GlobalErrorBase GlobalErrorBase< T, ErrorWeightType >::operator- | ( | const GlobalErrorBase< T, ErrorWeightType > & | err | ) | const [inline] |
Definition at line 126 of file GlobalErrorBase.h.
{ return GlobalErrorBase(theCartesianError - err.theCartesianError); }
T GlobalErrorBase< T, ErrorWeightType >::phierr | ( | const GlobalPoint & | aPoint | ) | const [inline] |
Definition at line 112 of file GlobalErrorBase.h.
Referenced by GlobalTrackQualityProducer::kink(), and TransientTrackingRecHit::setPositionErrors().
T GlobalErrorBase< T, ErrorWeightType >::rerr | ( | const GlobalPoint & | aPoint | ) | const [inline] |
Definition at line 101 of file GlobalErrorBase.h.
Referenced by HLTmmkFilter::hltFilter(), HLTmmkkFilter::hltFilter(), PixelFitterByConformalMappingAndLine::run(), and TransientTrackingRecHit::setPositionErrors().
AlgebraicSymMatrix33 GlobalErrorBase< T, ErrorWeightType >::theCartesianError [private] |
Definition at line 132 of file GlobalErrorBase.h.
Referenced by GlobalErrorBase< double, ErrorMatrixTag >::cxx(), GlobalErrorBase< double, ErrorMatrixTag >::cyx(), GlobalErrorBase< double, ErrorMatrixTag >::cyy(), GlobalErrorBase< double, ErrorMatrixTag >::czx(), GlobalErrorBase< double, ErrorMatrixTag >::czy(), GlobalErrorBase< double, ErrorMatrixTag >::czz(), GlobalErrorBase< double, ErrorMatrixTag >::GlobalErrorBase(), GlobalErrorBase< double, ErrorMatrixTag >::matrix(), GlobalErrorBase< double, ErrorMatrixTag >::matrix_new(), GlobalErrorBase< double, ErrorMatrixTag >::operator+(), and GlobalErrorBase< double, ErrorMatrixTag >::operator-().