#include <Bounds.h>
Public Member Functions | |
virtual Bounds * | clone () const =0 |
void | computeSpan (Surface const &plane) |
virtual bool | inside (const Local3DPoint &) const =0 |
Determine if the point is inside the bounds. More... | |
virtual bool | inside (const Local2DPoint &p) const |
virtual bool | inside (const Local2DPoint &p, float tollerance) const |
Determine if a point is inside the bounds, taking a tollerance into account. More... | |
virtual bool | inside (const Local3DPoint &, const LocalError &, float scale=1.f) const =0 |
Determine if a point is inside the bounds, taking error into account. More... | |
virtual bool | inside (const Local2DPoint &p, const LocalError &err, float scale=1.f) const |
Determine if a 2D point is inside the bounds, taking error into account. More... | |
virtual float | length () const =0 |
std::pair< float, float > const & | phiSpan () const |
std::pair< float, float > const & | rSpan () const |
virtual float | thickness () const =0 |
virtual float | width () const =0 |
virtual float | widthAtHalfLength () const |
Width at half length. Useful for e.g. pitch definition. More... | |
std::pair< float, float > const & | zSpan () const |
virtual | ~Bounds () |
Private Attributes | |
BoundSpan | m_span |
Abstract base class for Bounds.
Bounds provide a general way to specify the form of a concrete surface. For example, a BoundPlane with TrapezoidalPlaneBounds has a trapezoidal shape.
|
pure virtual |
Implemented in CSCLayerGeometry, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, TrapezoidalPlaneBounds, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, FourPointPlaneBounds, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Referenced by LinearSearchNavSurfaceImpl::addVolume(), and AlignableSiStripDet::consistifyAlignments().
|
inline |
|
pure virtual |
Determine if the point is inside the bounds.
Implemented in CSCLayerGeometry, GCC11_FINAL< T, TOPO >, TrapezoidalPlaneBounds, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, FourPointPlaneBounds, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Referenced by MuonTrackLoader::buildTrackExtra(), InsideBoundsMeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), inside(), TrapezoidalPlaneBounds::inside(), GCC11_FINAL< T, TOPO >::inside(), MuonDetIdAssociator::insideElement(), MuonSimHitProducer::produce(), SETPatternRecognition::segmentCleaning(), and TrajectoryAtInvalidHit::TrajectoryAtInvalidHit().
|
inlinevirtual |
Reimplemented in CSCLayerGeometry, and TrapezoidalPlaneBounds.
Definition at line 43 of file Bounds.h.
References inside(), PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
|
inlinevirtual |
Determine if a point is inside the bounds, taking a tollerance into account.
Definition at line 48 of file Bounds.h.
|
pure virtual |
Determine if a point is inside the bounds, taking error into account.
Implemented in CSCLayerGeometry, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, TrapezoidalPlaneBounds, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, FourPointPlaneBounds, and GCC11_FINAL< T, TOPO >.
|
inlinevirtual |
Determine if a 2D point is inside the bounds, taking error into account.
Reimplemented in TrapezoidalPlaneBounds.
Definition at line 63 of file Bounds.h.
References inside(), pileupReCalc_HLTpaths::scale, PV2DBase< T, PVType, FrameType >::x(), and PV2DBase< T, PVType, FrameType >::y().
|
pure virtual |
"Lenght" of the bounded volume; refer to the concrete class documentation for the specific definition.
Implemented in GCC11_FINAL< T, TOPO >, TrapezoidalPlaneBounds, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, FourPointPlaneBounds, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Referenced by GroupedCkfTrajectoryBuilder::advanceOneLayer(), Vispa.Views.LineDecayView.DecayLine::arrowBoundingRect(), TkLayerLess::barrelForwardLess(), PixelTopologyBuilder::build(), StripTopologyBuilder::build(), ValidateGeometry::compareShape(), FWTGeoRecoGeometryESProducer::createShape(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), MuonDetIdAssociator::getDetIdPoints(), TrackDetectorAssociator::getTAMuonChamberMatches(), GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi(), ThirdHitRZPredictionBase::initLayer(), DeDxDiscriminatorTools::IsFarFromBorder(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), SiStripGainFromCalibTree::IsFarFromBorder(), Vispa.Views.LineDecayView.DecayLine::labelBoundingRect(), SimpleNavigationSchool::linkNextForwardLayer(), TrajectoryManager::makeSinglePSimHit(), MSLayer::MSLayer(), Vispa.Views.LineDecayView.DecayLine::paint(), MuonNavigationPrinter::printLayer(), ValidateGeometry::validateDTLayerGeometry(), TracktoRPC::ValidRPCSurface(), and SimpleNavigableLayer::wellInside().
|
inline |
Definition at line 70 of file Bounds.h.
References m_span, and BoundSpan::phiSpan().
Referenced by Surface::phiSpan().
|
inline |
Definition at line 72 of file Bounds.h.
References m_span, and BoundSpan::rSpan().
Referenced by Surface::rSpan().
|
pure virtual |
"Thickness" of the bound around the surface; refer to the concrete class documentation for the specific definition.
Implemented in GCC11_FINAL< T, TOPO >, TrapezoidalPlaneBounds, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, FourPointPlaneBounds, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), SiStripLAProfileBooker::analyze(), SiStripDetInfoFileWriter::beginRun(), SiStripLAProfileBooker::beginRun(), CSCGeometryBuilder::buildChamber(), ValidateGeometry::compareShape(), GCC11_FINAL< T, TOPO >::computeRadius(), FWTGeoRecoGeometryESProducer::createShape(), SiPixelLorentzAngleCalibration::derivatives(), SiStripBackplaneCalibration::derivatives(), SiPixelDigitizerAlgorithm::digitize(), shallow::drift(), SiPixelDigitizerAlgorithm::drift(), SiStripLorentzAngleCalibration::effectiveThickness(), ClusterShapeHitFilter::getCotangent(), MuonDetIdAssociator::getDetIdPoints(), HitPairGeneratorFromLayerPairForPhotonConversion::getLayerRadius(), HitPairGeneratorFromLayerPairForPhotonConversion::getLayerZ(), GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi(), PixelTripletNoTipGenerator::hitTriplets(), InnerDeltaPhi::initBarrelLayer(), InnerDeltaPhi::initForwardLayer(), ThirdHitRZPredictionBase::initLayer(), ThirdHitPrediction::initLayer(), SiStripGainCosmicCalculator::moduleThickness(), MSLayer::MSLayer(), CylinderBuilderFromDet::operator()(), SiHitDigitizer::processHit(), MuonSimHitProducer::produce(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), ValidateGeometry::validateDTLayerGeometry(), and SimpleNavigableLayer::wellInside().
|
pure virtual |
"width" of the bounds; refer to the concrete class documentation for the specific definition.
Implemented in GCC11_FINAL< T, TOPO >, TrapezoidalPlaneBounds, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, GCC11_FINAL< T, TOPO >, FourPointPlaneBounds, GCC11_FINAL< T, TOPO >, and GCC11_FINAL< T, TOPO >.
Referenced by Vispa.Main.MainWindow.MainWindow::_saveIni(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), PixelTopologyBuilder::build(), StripTopologyBuilder::build(), ValidateGeometry::compareShape(), MuRodBarrelLayer::compatibleDets(), GCC11_FINAL< T, TOPO >::computeRadius(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), FWTGeoRecoGeometryESProducer::createShape(), Vispa.Gui.VispaWidget.VispaWidget::defineArrowBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineCircleBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::defineRoundRectBackgroundShape(), Vispa.Gui.VispaWidget.VispaWidget::drawHeaderBackground(), Vispa.Gui.ConnectableWidget.ConnectableWidget::drawPortNames(), SiTrackerGaussianSmearingRecHitConverter::gaussianSmearing(), MuonDetIdAssociator::getDetIdPoints(), TrackDetectorAssociator::getTAMuonChamberMatches(), GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), TrajectoryManager::makeSinglePSimHit(), SiStripGainCosmicCalculator::moduleWidth(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.PropertyView.PropertyView::resizeEvent(), Vispa.Views.PropertyView.PropertyView::sectionResized(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry(), ValidateGeometry::validateDTLayerGeometry(), TracktoRPC::ValidRPCSurface(), and widthAtHalfLength().
|
inlinevirtual |
Width at half length. Useful for e.g. pitch definition.
Reimplemented in TrapezoidalPlaneBounds.
Definition at line 39 of file Bounds.h.
References width().
Referenced by StripTopologyBuilder::build().
|
inline |
Definition at line 71 of file Bounds.h.
References m_span, and BoundSpan::zSpan().
Referenced by Surface::zSpan().