#include <SimpleDiskBounds.h>
Public Member Functions | |
Bounds * | clone () const override |
float | innerRadius () const |
Extension of the Bounds interface. More... | |
bool | inside (const Local3DPoint &p) const override |
Determine if the point is inside the bounds. More... | |
bool | inside (const Local3DPoint &p, const LocalError &err, float scale) const override |
Determine if a point is inside the bounds, taking error into account. More... | |
virtual bool | inside (const Local2DPoint &p, const LocalError &err) const |
float | length () const override |
float | maxZ () const |
float | minZ () const |
float | outerRadius () const |
SimpleDiskBounds (float rmin, float rmax, float zmin, float zmax) | |
Construct the bounds from min and max R and Z in LOCAL coordinates. More... | |
float | thickness () const override |
float | width () const override |
Public Member Functions inherited from Bounds | |
void | computeSpan (Surface const &plane) |
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 Local2DPoint &p, const LocalError &err, float scale=1.f) const |
Determine if a 2D point is inside the bounds, taking error into account. More... | |
std::pair< float, float > const & | phiSpan () const |
std::pair< float, float > const & | rSpan () const |
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 | |
float | theRmax |
float | theRmin |
float | theZmax |
float | theZmin |
Plane bounds that define a disk with a concentric hole in the middle.
Definition at line 13 of file SimpleDiskBounds.h.
SimpleDiskBounds::SimpleDiskBounds | ( | float | rmin, |
float | rmax, | ||
float | zmin, | ||
float | zmax | ||
) |
Construct the bounds from min and max R and Z in LOCAL coordinates.
Definition at line 8 of file SimpleDiskBounds.cc.
References std::swap(), theRmax, theRmin, theZmax, and theZmin.
Referenced by clone().
|
overridevirtual |
Implements Bounds.
Definition at line 19 of file SimpleDiskBounds.cc.
References SimpleDiskBounds().
Referenced by inside().
|
inline |
Extension of the Bounds interface.
Definition at line 37 of file SimpleDiskBounds.h.
References theRmin.
Referenced by ThirdHitRZPredictionBase::initLayer().
|
inlineoverridevirtual |
Determine if the point is inside the bounds.
Implements Bounds.
Definition at line 23 of file SimpleDiskBounds.h.
References clone(), Bounds::inside(), AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::perp2(), Scenarios_cff::scale, theRmax, theRmin, theZmax, theZmin, and PV3DBase< T, PVType, FrameType >::z().
Referenced by MuRingForwardDoubleLayer::compatible().
|
overridevirtual |
Determine if a point is inside the bounds, taking error into account.
Implements Bounds.
Definition at line 25 of file SimpleDiskBounds.cc.
References deltaR(), f, SiStripPI::max, perp(), PV3DBase< T, PVType, FrameType >::perp2(), perp2(), mathSSE::sqrt(), theRmax, theRmin, theZmax, theZmin, PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Definition at line 15 of file SimpleDiskBounds.cc.
References Bounds::inside().
|
inlineoverridevirtual |
"Lenght" of the bounded volume; refer to the concrete class documentation for the specific definition.
Implements Bounds.
Definition at line 19 of file SimpleDiskBounds.h.
References theZmax, and theZmin.
Referenced by Vispa.Views.LineDecayView.DecayLine::arrowBoundingRect(), Vispa.Views.LineDecayView.DecayLine::labelBoundingRect(), and Vispa.Views.LineDecayView.DecayLine::paint().
|
inline |
|
inline |
|
inline |
Definition at line 38 of file SimpleDiskBounds.h.
References theRmax.
Referenced by ThirdHitRZPredictionBase::initLayer().
|
inlineoverridevirtual |
"Thickness" of the bound around the surface; refer to the concrete class documentation for the specific definition.
Implements Bounds.
Definition at line 21 of file SimpleDiskBounds.h.
References theZmax, and theZmin.
Referenced by ForwardDetLayer::zmax(), and ForwardDetLayer::zmin().
|
inlineoverridevirtual |
"width" of the bounds; refer to the concrete class documentation for the specific definition.
Implements Bounds.
Definition at line 20 of file SimpleDiskBounds.h.
References theRmax.
Referenced by Vispa.Main.MainWindow.MainWindow::_saveIni(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), Vispa.Gui.VispaWidget.VispaWidget::contentRect(), 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(), Vispa.Gui.VispaWidget.VispaWidget::imageRectF(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), Vispa.Views.PropertyView.PropertyView::resizeEvent(), Vispa.Views.PropertyView.PropertyView::sectionResized(), Vispa.Gui.VispaWidget.VispaWidget::setZoom(), and Vispa.Main.MainWindow.MainWindow::updateStartupScreenGeometry().
|
private |
Definition at line 45 of file SimpleDiskBounds.h.
Referenced by inside(), outerRadius(), SimpleDiskBounds(), and width().
|
private |
Definition at line 44 of file SimpleDiskBounds.h.
Referenced by innerRadius(), inside(), and SimpleDiskBounds().
|
private |
Definition at line 47 of file SimpleDiskBounds.h.
Referenced by inside(), length(), maxZ(), SimpleDiskBounds(), and thickness().
|
private |
Definition at line 46 of file SimpleDiskBounds.h.
Referenced by inside(), length(), minZ(), SimpleDiskBounds(), and thickness().