#include <Bounds.h>
Public Member Functions | |
virtual Bounds * | clone () const =0 |
void | computeSpan (Surface const &plane) |
virtual bool | inside (const Local2DPoint &p) const |
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 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 =0 |
Determine if the point is inside the bounds. 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 float | length () const =0 |
std::pair< float, float > const & | phiSpan () const |
std::pair< float, float > const & | rSpan () const |
virtual float | significanceInside (const Local3DPoint &, const LocalError &) 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 |
|
inline |
|
inlinevirtual |
Reimplemented in TrapezoidalPlaneBounds, RectangularPlaneBounds, and CSCLayerGeometry.
Definition at line 39 of file Bounds.h.
References inside(), and AlCaHLTBitMon_ParallelJobs::p.
Referenced by inside().
|
inlinevirtual |
Determine if a 2D point is inside the bounds, taking error into account.
Reimplemented in RectangularPlaneBounds, TrapezoidalPlaneBounds, and OpenBounds.
Definition at line 57 of file Bounds.h.
References runTheMatrix::err, inside(), AlCaHLTBitMon_ParallelJobs::p, and Scenarios_cff::scale.
|
inlinevirtual |
Determine if a point is inside the bounds, taking a tollerance into account.
Reimplemented in RectangularPlaneBounds.
Definition at line 42 of file Bounds.h.
References f, inside(), and AlCaHLTBitMon_ParallelJobs::p.
|
pure virtual |
Determine if the point is inside the bounds.
Implemented in SimpleConeBounds, TrapezoidalPlaneBounds, RectangularPlaneBounds, SimpleCylinderBounds, DiskSectorBounds, SimpleDiskBounds, OpenBounds, GeneralNSurfaceDelimitedBounds, FourPointPlaneBounds, and CSCLayerGeometry.
Referenced by MuonTrackLoader::buildTrackExtra(), TrackExtenderWithMTDT< TrackCollection >::buildTrackExtra(), InsideBoundsMeasurementEstimator::estimate(), Chi2MeasurementEstimatorBase::estimate(), SimpleDiskBounds::inside(), SimpleCylinderBounds::inside(), inside(), TrapezoidalPlaneBounds::inside(), SimpleConeBounds::inside(), MuonDetIdAssociator::insideElement(), TrackingRecHitStripGSPlugin::process(), MuonSimHitProducer::produce(), SETPatternRecognition::segmentCleaning(), and TrajectoryAtInvalidHit::TrajectoryAtInvalidHit().
|
pure virtual |
Determine if a point is inside the bounds, taking error into account.
Implemented in RectangularPlaneBounds, SimpleConeBounds, TrapezoidalPlaneBounds, SimpleCylinderBounds, DiskSectorBounds, SimpleDiskBounds, OpenBounds, FourPointPlaneBounds, CSCLayerGeometry, and GeneralNSurfaceDelimitedBounds.
|
pure virtual |
"Lenght" of the bounded volume; refer to the concrete class documentation for the specific definition.
Implemented in SimpleConeBounds, TrapezoidalPlaneBounds, GeneralNSurfaceDelimitedBounds, SimpleCylinderBounds, DiskSectorBounds, RectangularPlaneBounds, FourPointPlaneBounds, SimpleDiskBounds, and OpenBounds.
Referenced by TkLayerLess::barrelForwardLess(), RPCGeometryBuilderFromCondDB::build(), RPCGeometryBuilderFromDDD::buildGeometry(), DTGeometryValidate::compareShape(), RPCGeometryValidate::compareShape(), GEMGeometryValidate::compareShape(), ME0GeometryValidate::compareShape(), CSCGeometryValidate::compareShape(), ValidateGeometry::compareShape(), fastsim::TrackerSimHitProducer::createHitOnDetector(), FWTGeoRecoGeometryESProducer::createShape(), TIBLayer::cylinder(), RectangularEtaPhiTrackingRegion::estimator(), ApeEstimator::fillHitVariables(), MuonDetIdAssociator::getDetIdPoints(), TrackDetectorAssociator::getTAMuonChamberMatches(), GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi(), ThirdHitCorrection::init(), InnerDeltaPhi::initBarrelMS(), ThirdHitRZPredictionBase::initLayer(), ShallowGainCalibration::IsFarFromBorder(), SiStripGainFromData::IsFarFromBorder(), DeDxTools::IsFarFromBorder(), SimpleNavigationSchool::linkNextForwardLayer(), TrajectoryManager::makeSinglePSimHit(), MSLayer::MSLayer(), MuonResidualsFromTrack::MuonResidualsFromTrack(), TIBLayer::overlap(), PixelBlade::overlap(), Phase1PixelBlade::overlap(), MTDNavigationPrinter::printLayer(), MuonNavigationPrinter::printLayer(), TrackingRecHitStripGSPlugin::process(), PixelTemplateSmearerBase::process(), ValidateGeometry::validateDTLayerGeometry(), TracktoRPC::ValidRPCSurface(), and SimpleNavigableLayer::wellInside().
|
inline |
Definition at line 65 of file Bounds.h.
References m_span, and BoundSpan::phiSpan().
Referenced by Surface::phiSpan().
|
inline |
Definition at line 67 of file Bounds.h.
References m_span, and BoundSpan::rSpan().
Referenced by Surface::rSpan().
|
virtual |
Reimplemented in TrapezoidalPlaneBounds, and RectangularPlaneBounds.
|
pure virtual |
"Thickness" of the bound around the surface; refer to the concrete class documentation for the specific definition.
Implemented in SimpleConeBounds, TrapezoidalPlaneBounds, SimpleCylinderBounds, GeneralNSurfaceDelimitedBounds, DiskSectorBounds, RectangularPlaneBounds, FourPointPlaneBounds, SimpleDiskBounds, and OpenBounds.
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), SiStripLAProfileBooker::analyze(), SiStripDetInfoFileWriter::beginRun(), CSCGeometryBuilder::buildChamber(), DTGeometryValidate::compareShape(), GEMGeometryValidate::compareShape(), RPCGeometryValidate::compareShape(), ME0GeometryValidate::compareShape(), CSCGeometryValidate::compareShape(), ValidateGeometry::compareShape(), Cylinder::computeRadius(), TIBLayer::computeWindowSize(), fastsim::TrackerSimHitProducer::createHitOnDetector(), FWTGeoRecoGeometryESProducer::createShape(), TIBLayer::cylinder(), SiPixelDigitizerAlgorithm::digitize(), shallow::drift(), Pixel3DDigitizerAlgorithm::drift(), Phase2TrackerDigitizerAlgorithm::drift(), SiPixelDigitizerAlgorithm::drift(), SiStripLorentzAngleCalibration::effectiveThickness(), RectangularEtaPhiTrackingRegion::estimator(), ApeEstimator::fillHitVariables(), Phase2StripCPE::fillParam(), 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()(), StandaloneTrackMonitor::processClusters(), StandaloneTrackMonitor::processHit(), DeDxHitInfoProducer::processHit(), SiHitDigitizer::processHit(), MuonSimHitProducer::produce(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), StripSubClusterShapeFilterBase::testLastHit(), ValidateGeometry::validateDTLayerGeometry(), and SimpleNavigableLayer::wellInside().
|
pure virtual |
"width" of the bounds; refer to the concrete class documentation for the specific definition.
Implemented in SimpleConeBounds, TrapezoidalPlaneBounds, SimpleCylinderBounds, GeneralNSurfaceDelimitedBounds, DiskSectorBounds, RectangularPlaneBounds, FourPointPlaneBounds, SimpleDiskBounds, and OpenBounds.
Referenced by SiStripHitEffFromCalibTree::algoAnalyze(), HitEff::analyze(), DTGeometryValidate::compareShape(), GEMGeometryValidate::compareShape(), RPCGeometryValidate::compareShape(), ME0GeometryValidate::compareShape(), CSCGeometryValidate::compareShape(), ValidateGeometry::compareShape(), MTDTrayBarrelLayer::compatibleDets(), MuRodBarrelLayer::compatibleDets(), Cylinder::computeRadius(), fastsim::TrackerSimHitProducer::createHitOnDetector(), FWTGeoRecoGeometryESProducer::createShape(), ApeEstimator::fillHitVariables(), MuonDetIdAssociator::getDetIdPoints(), TrackDetectorAssociator::getTAMuonChamberMatches(), GlobalDetRodRangeZPhi::GlobalDetRodRangeZPhi(), TrajectoryManager::makeSinglePSimHit(), SiStripGainCosmicCalculator::moduleWidth(), MuonResidualsFromTrack::MuonResidualsFromTrack(), PixelTemplateSmearerBase::process(), tmtt::TrackerModule::TrackerModule(), ValidateGeometry::validateDTLayerGeometry(), TracktoRPC::ValidRPCSurface(), and widthAtHalfLength().
|
inlinevirtual |
Width at half length. Useful for e.g. pitch definition.
Reimplemented in TrapezoidalPlaneBounds.
Definition at line 35 of file Bounds.h.
References width().
|
inline |
Definition at line 66 of file Bounds.h.
References m_span, and BoundSpan::zSpan().
Referenced by Surface::zSpan().