#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(), TkClonerImpl::operator()(), TkClonerImpl::project(), FastTrackerRecHitMatcher::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 BaseTrackerRecHit::BaseTrackerRecHit(), ApeEstimator::fillHitVariables(), TkPixelMeasurementDet::measurements(), TkPhase2OTMeasurementDet::recHits(), and PixelTemplateSmearerBase::smearHit().
|
inline |
Definition at line 24 of file LocalError.h.
References thexx.
Referenced by MuonDT2ChamberResidual::addResidual(), MuonCSCChamberResidual::addResidual(), MuonDT13ChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CkfDebugger::analyseCompatibleMeasurements(), SiPixelPhase1RecHitsV::analyze(), SiStripElectronAnalyzer::analyze(), MuonIdDQM::analyze(), SiPixelRecHitSource::analyze(), MuonIdVal::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackerDpgAnalysis::analyze(), BaseTrackerRecHit::BaseTrackerRecHit(), FWCSCRecHitProxyBuilder::build(), ME0ReDigiProducer::buildDigis(), FWME0RecHitProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), FWGEMRecHitProxyBuilder::buildViewType(), CSCPairResidualsConstraint::calculatePhi(), TkGluedMeasurementDet::checkHitProjection(), SimpleDAFHitCollector::clone(), Traj2TrackHits::clone(), ForwardDetLayer::compatible(), MTDRingForwardDoubleLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MTDRingForwardLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), RPCRecHitStandardAlgo::compute(), CSCCondSegFit::correctTheCovX(), geometryXMLparser.Alignable::covariance(), CaloDetIdAssociator::crossedElement(), OutsideInMuonSeeder::doLayer(), CSCValidation::doRecHits(), DTSegment2DQuality::dqmAnalyze(), DTSegment2DSLPhiQuality::dqmAnalyze(), DTSegment4DQuality::dqmAnalyze(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), SiPixelRecHitsValid::fillBarrel(), SiPixelRecHitsValid::fillForward(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), ReferenceTrajectory::fillMeasurementAndError(), MuonIdProducer::fillMuonId(), CSCEfficiency::fillRechitsSegments_info(), SETFilter::findChi2(), CollinearFitAtTM::fit(), CSCCondSegFit::fit(), CollinearFitAtTM2::fit(), DTSegmentUpdator::fit(), CSCSegFit::fitlsq(), GEMCSCSegFit::fitlsq(), GlobalTrajectoryBuilderBase::fixTEC(), ME0SegAlgoRU::getHitSegChi2(), BaseTrackerRecHit::getKfComponents1D(), BaseTrackerRecHit::getKfComponents2D(), TrackDetectorAssociator::getTAMuonChamberMatches(), CachedTrajectory::getWideTrajectory(), fastTrackingUtilities::hitLocalError(), TrackerMuonHitExtractor::init(), RectangularPlaneBounds::inout(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), GeneralNSurfaceDelimitedBounds::inside(), TrapezoidalPlaneBounds::inside(), RectangularPlaneBounds::inside(), CSCLayerGeometry::inside(), DTSegmentExtendedCand::isCompatible(), muon::isGoodMuon(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_dist(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), ForwardMeasurementEstimator::maximalLocalDisplacement(), BarrelMeasurementEstimator::maximalLocalDisplacement(), RectangularStripTopology::measurementError(), DTTopology::measurementError(), TrapezoidalStripTopology::measurementError(), RectangularMTDTopology::measurementError(), RectangularPixelTopology::measurementError(), CSCRadialStripTopology::measurementError(), TkRadialStripTopology::measurementError(), TkPixelMeasurementDet::measurements(), MuonResidualsFromTrack::MuonResidualsFromTrack(), TkClonerImpl::operator()(), operator<<(), RecHit2DLocalPos::parametersError(), RecHit1D::parametersError(), TRecHit2DPosConstraint::parametersError(), BeamSpotTransientTrackingRecHit::parametersError(), KFBasedPixelFitter::MyBeamSpotHit::parametersError(), HelpertRecHit2DLocalPos::parError(), DTSLRecCluster::parError(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), ApeEstimator::positionAndError2(), HIPAlignmentAlgorithm::processHit1D(), HIPAlignmentAlgorithm::processHit2D(), MuonTrackProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TkClonerImpl::project(), FastTrackerRecHitMatcher::projectOnly(), RecHitPropagator::propagate(), CSCSegAlgoST::prune_bad_hits(), SiStripRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), DTRecHitQuality::recHitPositionError(), ApeEstimator::rectangularPositionAndError2(), rotateCosSin(), MTDTrackingRecHitProducer::run(), scale(), StateSegmentMatcher::setAPE2d(), StateSegmentMatcher::setAPE4d(), CSCCondSegFit::setChi2(), CSCSegFit::setChi2(), GEMCSCSegFit::setChi2(), TrapezoidalPlaneBounds::significanceInside(), RectangularPlaneBounds::significanceInside(), PixelTemplateSmearerBase::smearHit(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), trajectoryToResiduals(), ErrorFrameTransformer::transform(), CSCSegFit::weightMatrix(), GEMCSCSegFit::weightMatrix(), SimpleNavigableLayer::wellInside(), MuRodBarrelLayer::xError(), and MTDTrayBarrelLayer::xError().
|
inline |
Definition at line 25 of file LocalError.h.
References thexy.
Referenced by MuonCSCChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), SiStripElectronAnalyzer::analyze(), BaseTrackerRecHit::BaseTrackerRecHit(), ME0ReDigiProducer::buildDigis(), CSCPairResidualsConstraint::calculatePhi(), TkGluedMeasurementDet::checkHitProjection(), geometryXMLparser.Alignable::covariance(), CaloDetIdAssociator::crossedElement(), CSCValidation::doRecHits(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), ApeEstimator::fillHitVariables(), ReferenceTrajectory::fillMeasurementAndError(), CSCEfficiency::fillRechitsSegments_info(), SETFilter::findChi2(), CollinearFitAtTM::fit(), CSCCondSegFit::fit(), CollinearFitAtTM2::fit(), CSCSegFit::fitlsq(), GEMCSCSegFit::fitlsq(), BaseTrackerRecHit::getKfComponents2D(), CachedTrajectory::getWideTrajectory(), fastTrackingUtilities::hitLocalError(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), GlobalMuonTrackMatcher::match_dist(), RectangularStripTopology::measurementError(), TrapezoidalStripTopology::measurementError(), CSCRadialStripTopology::measurementError(), TkRadialStripTopology::measurementError(), TkClonerImpl::operator()(), operator<<(), RecHit2DLocalPos::parametersError(), TRecHit2DPosConstraint::parametersError(), HelpertRecHit2DLocalPos::parError(), HIPAlignmentAlgorithm::processHit2D(), AlignmentMuonHIPTrajectorySelector::produce(), TkClonerImpl::project(), FastTrackerRecHitMatcher::projectOnly(), RecHitPropagator::propagate(), SiStripRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), rotateCosSin(), scale(), CSCCondSegFit::setChi2(), CSCSegFit::setChi2(), GEMCSCSegFit::setChi2(), PixelTemplateSmearerBase::smearHit(), TkGluedMeasurementDet::testStrips(), ErrorFrameTransformer::transform(), CSCSegFit::weightMatrix(), and GEMCSCSegFit::weightMatrix().
|
inline |
Definition at line 26 of file LocalError.h.
References theyy.
Referenced by MuonCSCChamberResidual::addResidual(), TrackDetectorAssociator::addTAMuonSegmentMatch(), CkfDebugger::analyseCompatibleMeasurements(), SiPixelPhase1RecHitsV::analyze(), SiStripElectronAnalyzer::analyze(), MuonIdDQM::analyze(), SiPixelRecHitSource::analyze(), MuonIdVal::analyze(), SiPixelErrorEstimation::analyze(), SiPixelTrackingRecHitsValid::analyze(), TrackerDpgAnalysis::analyze(), BaseTrackerRecHit::BaseTrackerRecHit(), FWCSCRecHitProxyBuilder::build(), ME0ReDigiProducer::buildDigis(), FWME0RecHitProxyBuilder::buildViewType(), FWRPCRecHitProxyBuilder::buildViewType(), FWGEMRecHitProxyBuilder::buildViewType(), CSCPairResidualsConstraint::calculatePhi(), TkGluedMeasurementDet::checkHitProjection(), ForwardDetLayer::compatible(), MTDRingForwardDoubleLayer::compatible(), MuRingForwardDoubleLayer::compatible(), MTDRingForwardLayer::compatibleDets(), MuRingForwardLayer::compatibleDets(), geometryXMLparser.Alignable::covariance(), CaloDetIdAssociator::crossedElement(), OutsideInMuonSeeder::doLayer(), CSCValidation::doRecHits(), DTSegment4DQuality::dqmAnalyze(), ConversionForwardEstimator::estimate(), ConversionBarrelEstimator::estimate(), AlignmentMonitorMuonResiduals::event(), AlignmentMonitorGeneric::event(), SiPixelRecHitsValid::fillBarrel(), SiPixelRecHitsValid::fillForward(), TrackerValidationVariables::fillHitQuantities(), ApeEstimator::fillHitVariables(), ReferenceTrajectory::fillMeasurementAndError(), MuonIdProducer::fillMuonId(), CSCEfficiency::fillRechitsSegments_info(), SETFilter::findChi2(), CollinearFitAtTM::fit(), CSCCondSegFit::fit(), CollinearFitAtTM2::fit(), CSCSegFit::fitlsq(), GEMCSCSegFit::fitlsq(), GlobalTrajectoryBuilderBase::fixTEC(), BaseTrackerRecHit::getKfComponents2D(), TrackDetectorAssociator::getTAMuonChamberMatches(), CachedTrajectory::getWideTrajectory(), fastTrackingUtilities::hitLocalError(), TrackerMuonHitExtractor::init(), RectangularPlaneBounds::inout(), SimpleDiskBounds::inside(), DiskSectorBounds::inside(), SimpleCylinderBounds::inside(), GeneralNSurfaceDelimitedBounds::inside(), TrapezoidalPlaneBounds::inside(), RectangularPlaneBounds::inside(), SimpleConeBounds::inside(), CSCLayerGeometry::inside(), DeDxTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), muon::isGoodMuon(), TwoBodyDecayTrajectoryFactory::match(), GlobalMuonTrackMatcher::match_dist(), Chi2MeasurementEstimatorBase::maximalLocalDisplacement(), ForwardMeasurementEstimator::maximalLocalDisplacement(), BarrelMeasurementEstimator::maximalLocalDisplacement(), RectangularStripTopology::measurementError(), DTTopology::measurementError(), TrapezoidalStripTopology::measurementError(), RectangularMTDTopology::measurementError(), RectangularPixelTopology::measurementError(), CSCRadialStripTopology::measurementError(), TkRadialStripTopology::measurementError(), TkPixelMeasurementDet::measurements(), TkClonerImpl::operator()(), operator<<(), RecHit2DLocalPos::parametersError(), TRecHit2DPosConstraint::parametersError(), HelpertRecHit2DLocalPos::parError(), CSCSegmentValidation::plotResolution(), CSCRecHit2DValidation::plotResolution(), ApeEstimator::positionAndError2(), HIPAlignmentAlgorithm::processHit2D(), MuonTrackProducer::produce(), AlignmentMuonHIPTrajectorySelector::produce(), TkClonerImpl::project(), FastTrackerRecHitMatcher::projectOnly(), RecHitPropagator::propagate(), SiStripRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripRecHitsValid::rechitanalysis_matched(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), TkPhase2OTMeasurementDet::recHits(), ApeEstimator::rectangularPositionAndError2(), rotateCosSin(), MTDTrackingRecHitProducer::run(), scale(), StateSegmentMatcher::setAPE4d(), CSCCondSegFit::setChi2(), CSCSegFit::setChi2(), GEMCSCSegFit::setChi2(), TrapezoidalPlaneBounds::significanceInside(), RectangularPlaneBounds::significanceInside(), PixelTemplateSmearerBase::smearHit(), TkGluedMeasurementDet::testStrips(), TrackEfficiencyMonitor::testTrackerTracks(), trajectoryToResiduals(), ErrorFrameTransformer::transform(), CSCSegFit::weightMatrix(), GEMCSCSegFit::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().