#include <LocalError.h>
Public Member Functions | |
bool | invalid () const |
LocalError () | |
LocalError (InvalidError) | |
LocalError (float xx, float xy, float yy) | |
LocalError | rotate (float x, float y) const |
Return a new LocalError, rotated by an angle defined by the direction (x,y) More... | |
LocalError | rotate (float phi) const |
Return a new LocalError, rotated by an angle phi. More... | |
LocalError | rotateCosSin (float c, float s, float mag2i=1.f) const |
Return a new LocalError, rotated by an angle defined by it's cosine and sine. More... | |
LocalError | scale (float s) const |
bool | valid () const |
float | xx () const |
float | xy () const |
float | yy () const |
Private Attributes | |
float | thexx |
float | thexy |
float | theyy |
A very simple class for 2D error matrix components, used for the local frame.
Definition at line 12 of file LocalError.h.
|
inline |
|
inline |
Definition at line 15 of file LocalError.h.
|
inline |
Definition at line 17 of file LocalError.h.
|
inline |
|
inline |
Return a new LocalError, rotated by an angle defined by the direction (x,y)
Definition at line 39 of file LocalError.h.
References f, and rotateCosSin().
Referenced by CaloDetIdAssociator::crossedElement(), GlobalTrajectoryBuilderBase::fixTEC(), CachedTrajectory::getWideTrajectory(), DiskSectorBounds::inside(), TrackingRecHitProjector< ResultingHit >::project(), GSRecHitMatcher::projectOnly(), and TkGluedMeasurementDet::testStrips().
|
inline |
Return a new LocalError, rotated by an angle phi.
Definition at line 44 of file LocalError.h.
References funct::cos(), rotateCosSin(), and funct::sin().
|
inline |
Return a new LocalError, rotated by an angle defined by it's cosine and sine.
Definition at line 49 of file LocalError.h.
References f, LocalError(), xx(), xy(), and yy().
Referenced by rotate().
|
inline |
Return a new LocalError, scaled by a factor interpreted as a number of sigmas (standard deviations). The error matrix components are actually multiplied with the square of the factor.
Definition at line 33 of file LocalError.h.
References LocalError(), alignCSCRings::s, indexGen::s2, xx(), xy(), and yy().
Referenced by Vispa.Gui.PortWidget.PortWidget::connectionPoint(), CaloDetIdAssociator::crossedElement(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), Vispa.Gui.ConnectableWidget.ConnectableWidget::getEffectivePortHeight(), CachedTrajectory::getWideTrajectory(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.VispaWidget.VispaWidget::move(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::sizeHint().
|
inline |
Definition at line 21 of file LocalError.h.
References invalid().
Referenced by HelpertRecHit2DLocalPos::getKfComponents(), MuonTransientTrackingRecHit::parametersError(), HelpertRecHit2DLocalPos::parError(), and HelpertRecHit2DLocalPos::updateWithAPE().
|
inline |
Definition at line 24 of file LocalError.h.
References thexx.
Referenced by MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), MuonDT2ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CkfDebugger::analyseCompatibleMeasurements(), DTSegment2DQuality::analyze(), DTSegment2DSLPhiQuality::analyze(), SiStripElectronAnalyzer::analyze(), DTSegment4DQuality::analyze(), MuonIdDQM::analyze(), SiStripRecHitsValid::analyze(), SiPixelRecHitSource::analyze(), MuonIdVal::analyze(), SiPixelErrorEstimation::analyze(), SiStripTrackingRecHitsValid::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackerDpgAnalysis::analyze(), FWCSCRecHitProxyBuilder::build(), FWRPCRecHitProxyBuilder::buildViewType(), CSCPairResidualsConstraint::calculatePhi(), TkGluedMeasurementDet::checkHitProjection(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuRingForwardLayer::compatibleDets(), CSCSegAlgoST::correctTheCovX(), geometryXMLparser.Alignable::covariance(), CaloDetIdAssociator::crossedElement(), CSCValidation::doRecHits(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), SiPixelRecHitsValid::fillBarrel(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), SiPixelRecHitsValid::fillForward(), TrackerValidationVariables::fillHitQuantities(), ReferenceTrajectory::fillMeasurementAndError(), MuonIdProducer::fillMuonId(), CSCEfficiency::fillRechitsSegments_info(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), SETFilter::findChi2(), CollinearFitAtTM::fit(), CollinearFitAtTM2::fit(), DTSegmentUpdator::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), GlobalTrajectoryBuilderBase::fixTEC(), GSSiTrackerRecHit2DLocalPos::getKfComponents(), HelpertRecHit2DLocalPos::getKfComponents(), BaseSiTrackerRecHit2DLocalPos::getKfComponents(), BaseTrackerRecHit::getKfComponents1D(), BaseTrackerRecHit::getKfComponents2D(), TrackDetectorAssociator::getTAMuonChamberMatches(), CachedTrajectory::getWideTrajectory(), TkPixelMeasurementDet::hasBadComponents(), BaseSiTrackerRecHit2DLocalPos::hasPositionAndError(), BaseTrackerRecHit::hasPositionAndError(), TrackerMuonHitExtractor::init(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), GeneralTrapezoidalPlaneBounds::inside(), GeneralNSurfaceDelimitedBounds::inside(), RectangularPlaneBounds::inside(), TrapezoidalPlaneBounds::inside(), CSCLayerGeometry::inside(), DTSegmentExtendedCand::isCompatible(), TrackerRecHit::largerError(), TrackerRecHit::localError(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_dist(), cms::HICSeedMeasurementEstimator::maximalLocalDisplacement(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), ForwardMeasurementEstimator::maximalLocalDisplacement(), BarrelMeasurementEstimator::maximalLocalDisplacement(), RectangularStripTopology::measurementError(), TrapezoidalStripTopology::measurementError(), DTTopology::measurementError(), RectangularPixelTopology::measurementError(), RadialStripTopology::measurementError(), MuonResidualsFromTrack::MuonResidualsFromTrack(), operator<<(), RecHit2DLocalPos::parametersError(), TRecHit2DPosConstraint::parametersError(), RecHit1D::parametersError(), MuonTransientTrackingRecHit::parametersError(), KFBasedPixelFitter::MyBeamSpotHit::parametersError(), BeamSpotTransientTrackingRecHit::parametersError(), HelpertRecHit2DLocalPos::parError(), DTSLRecCluster::parError(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), ShallowRechitClustersProducer::produce(), MuonTrackProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackingRecHitProjector< ResultingHit >::project(), GSRecHitMatcher::projectOnly(), RecHitPropagator::propagate(), CSCSegAlgoST::prune_bad_hits(), CSCSegAlgoHitPruning::pruneBadHits(), DTRecHitQuality::recHitPositionError(), rotateCosSin(), RoadSearchTrackCandidateMakerAlgorithm::run(), TrackCandidateProducer::sameLocalParameters(), scale(), StateSegmentMatcher::setAPE2d(), StateSegmentMatcher::setAPE4d(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), trajectoryToResiduals(), ErrorFrameTransformer::transform(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), HelpertRecHit2DLocalPos::updateWithAPE(), CSCSegAlgoHitPruning::weightMatrix(), CSCSegAlgoShowering::weightMatrix(), CSCSegAlgoTC::weightMatrix(), CSCSegAlgoST::weightMatrix(), CSCSegAlgoDF::weightMatrix(), CSCSegAlgoSK::weightMatrix(), SimpleNavigableLayer::wellInside(), and MuRodBarrelLayer::xError().
|
inline |
Definition at line 25 of file LocalError.h.
References thexy.
Referenced by MuonCSCChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripElectronAnalyzer::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), CSCPairResidualsConstraint::calculatePhi(), TkGluedMeasurementDet::checkHitProjection(), geometryXMLparser.Alignable::covariance(), CaloDetIdAssociator::crossedElement(), CSCValidation::doRecHits(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), ReferenceTrajectory::fillMeasurementAndError(), CSCEfficiency::fillRechitsSegments_info(), SETFilter::findChi2(), CollinearFitAtTM::fit(), CollinearFitAtTM2::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), GSSiTrackerRecHit2DLocalPos::getKfComponents(), HelpertRecHit2DLocalPos::getKfComponents(), BaseSiTrackerRecHit2DLocalPos::getKfComponents(), BaseTrackerRecHit::getKfComponents2D(), CachedTrajectory::getWideTrajectory(), BaseSiTrackerRecHit2DLocalPos::hasPositionAndError(), BaseTrackerRecHit::hasPositionAndError(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), TrackerRecHit::largerError(), TrackerRecHit::localError(), StripCPEfromTemplate::localParameters(), GlobalMuonTrackMatcher::match_dist(), RectangularStripTopology::measurementError(), TrapezoidalStripTopology::measurementError(), RadialStripTopology::measurementError(), operator<<(), RecHit2DLocalPos::parametersError(), TRecHit2DPosConstraint::parametersError(), MuonTransientTrackingRecHit::parametersError(), HelpertRecHit2DLocalPos::parError(), HIPAlignmentAlgorithm::processHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), TrackingRecHitProjector< ResultingHit >::project(), GSRecHitMatcher::projectOnly(), RecHitPropagator::propagate(), rotateCosSin(), TrackCandidateProducer::sameLocalParameters(), scale(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), TkGluedMeasurementDet::testStrips(), ErrorFrameTransformer::transform(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), HelpertRecHit2DLocalPos::updateWithAPE(), CSCSegAlgoHitPruning::weightMatrix(), CSCSegAlgoShowering::weightMatrix(), CSCSegAlgoTC::weightMatrix(), CSCSegAlgoST::weightMatrix(), CSCSegAlgoDF::weightMatrix(), and CSCSegAlgoSK::weightMatrix().
|
inline |
Definition at line 26 of file LocalError.h.
References theyy.
Referenced by MuonCSCChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CkfDebugger::analyseCompatibleMeasurements(), SiStripElectronAnalyzer::analyze(), DTSegment4DQuality::analyze(), MuonIdDQM::analyze(), SiStripRecHitsValid::analyze(), SiPixelRecHitSource::analyze(), MuonIdVal::analyze(), SiPixelErrorEstimation::analyze(), SiStripTrackingRecHitsValid::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackerDpgAnalysis::analyze(), FWCSCRecHitProxyBuilder::build(), FWRPCRecHitProxyBuilder::buildViewType(), CSCPairResidualsConstraint::calculatePhi(), TkGluedMeasurementDet::checkHitProjection(), ForwardDetLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MuRingForwardLayer::compatibleDets(), geometryXMLparser.Alignable::covariance(), CaloDetIdAssociator::crossedElement(), CSCValidation::doRecHits(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), SiPixelRecHitsValid::fillBarrel(), CSCSegAlgoHitPruning::fillChiSquared(), CSCSegAlgoST::fillChiSquared(), CSCSegAlgoSK::fillChiSquared(), CSCSegAlgoTC::fillChiSquared(), SiPixelRecHitsValid::fillForward(), TrackerValidationVariables::fillHitQuantities(), ReferenceTrajectory::fillMeasurementAndError(), MuonIdProducer::fillMuonId(), CSCEfficiency::fillRechitsSegments_info(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), SETFilter::findChi2(), CollinearFitAtTM::fit(), CollinearFitAtTM2::fit(), CSCSegAlgoHitPruning::fitSlopes(), CSCSegAlgoST::fitSlopes(), CSCSegAlgoSK::fitSlopes(), CSCSegAlgoTC::fitSlopes(), GlobalTrajectoryBuilderBase::fixTEC(), HelpertRecHit2DLocalPos::getKfComponents(), GSSiTrackerRecHit2DLocalPos::getKfComponents(), BaseSiTrackerRecHit2DLocalPos::getKfComponents(), BaseTrackerRecHit::getKfComponents2D(), TrackDetectorAssociator::getTAMuonChamberMatches(), CachedTrajectory::getWideTrajectory(), TkPixelMeasurementDet::hasBadComponents(), BaseSiTrackerRecHit2DLocalPos::hasPositionAndError(), BaseTrackerRecHit::hasPositionAndError(), TrackerMuonHitExtractor::init(), RoadSearchTrackCandidateMakerAlgorithm::initialTrajectory(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), GeneralTrapezoidalPlaneBounds::inside(), SimpleCylinderBounds::inside(), GeneralNSurfaceDelimitedBounds::inside(), RectangularPlaneBounds::inside(), TrapezoidalPlaneBounds::inside(), SimpleConeBounds::inside(), CSCLayerGeometry::inside(), DeDxDiscriminatorTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), TrackerRecHit::largerError(), TrackerRecHit::localError(), StripCPEfromTemplate::localParameters(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_dist(), cms::HICSeedMeasurementEstimator::maximalLocalDisplacement(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), ForwardMeasurementEstimator::maximalLocalDisplacement(), BarrelMeasurementEstimator::maximalLocalDisplacement(), RectangularStripTopology::measurementError(), TrapezoidalStripTopology::measurementError(), DTTopology::measurementError(), RectangularPixelTopology::measurementError(), RadialStripTopology::measurementError(), operator<<(), RecHit2DLocalPos::parametersError(), TRecHit2DPosConstraint::parametersError(), MuonTransientTrackingRecHit::parametersError(), HelpertRecHit2DLocalPos::parError(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), HIPAlignmentAlgorithm::processHit2D(), ShallowRechitClustersProducer::produce(), MuonTrackProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TrackingRecHitProjector< ResultingHit >::project(), GSRecHitMatcher::projectOnly(), RecHitPropagator::propagate(), rotateCosSin(), RoadSearchTrackCandidateMakerAlgorithm::run(), TrackCandidateProducer::sameLocalParameters(), scale(), StateSegmentMatcher::setAPE4d(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), trajectoryToResiduals(), ErrorFrameTransformer::transform(), CSCSegAlgoShowering::updateParameters(), CSCSegAlgoDF::updateParameters(), HelpertRecHit2DLocalPos::updateWithAPE(), CSCSegAlgoHitPruning::weightMatrix(), CSCSegAlgoShowering::weightMatrix(), CSCSegAlgoTC::weightMatrix(), CSCSegAlgoST::weightMatrix(), CSCSegAlgoDF::weightMatrix(), CSCSegAlgoSK::weightMatrix(), and SimpleNavigableLayer::wellInside().
|
private |
Definition at line 58 of file LocalError.h.
|
private |
Definition at line 59 of file LocalError.h.
Referenced by xy().
|
private |
Definition at line 60 of file LocalError.h.
Referenced by yy().