ATLAS Offline Software
|
#include <NoBounds.h>
Public Types | |
enum | BoundsType { Cone = 0, Cylinder = 1, Diamond = 2, Disc = 3, Ellipse = 5, Rectangle = 6, RotatedTrapezoid = 7, Trapezoid = 8, Triangle = 9, DiscTrapezoidal = 10, Annulus = 11, Other = 12 } |
Public Member Functions | |
NoBounds ()=default | |
Default Constructor. More... | |
NoBounds (const NoBounds &)=default | |
NoBounds & | operator= (const NoBounds &)=default |
NoBounds (NoBounds &&) noexcept=default | |
NoBounds & | operator= (NoBounds &&) noexcept=default |
~NoBounds ()=default | |
Destructor. More... | |
virtual bool | operator== (const SurfaceBounds &sbo) const override final |
Equality operator. More... | |
virtual SurfaceBounds::BoundsType | type () const override |
Return SurfaceBounds for persistency. More... | |
virtual bool | inside (const Amg::Vector2D &locpo, double tol1=0., double tol2=0.) const override final |
Method inside() returns true for any case. More... | |
virtual bool | inside (const Amg::Vector2D &locpo, const BoundaryCheck &bchk) const override final |
virtual bool | insideLoc1 (const Amg::Vector2D &locpo, double tol1=0.) const override final |
This method checks inside bounds in loc1. More... | |
virtual bool | insideLoc2 (const Amg::Vector2D &locpo, double tol2=0.) const override final |
This method checks inside bounds in loc2. More... | |
virtual double | minDistance (const Amg::Vector2D &pos) const override final |
Minimal distance to boundary (=0 if inside) More... | |
virtual NoBounds * | clone () const override final |
Clone method to complete inherited interface. More... | |
virtual double | r () const override final |
r() method to complete inherited interface More... | |
virtual MsgStream & | dump (MsgStream &sl) const override final |
Output Method for MsgStream. More... | |
virtual std::ostream & | dump (std::ostream &sl) const override final |
Output Method for std::ostream. More... | |
virtual bool | operator!= (const SurfaceBounds &sb) const |
Non-Equality operator. More... | |
Protected Member Functions | |
void | swap (double &b1, double &b2) |
Swap method to be called from DiscBounds or TrapezoidalBounds. More... | |
virtual void | initCache () |
virtual initCache method for object persistency More... | |
Bounds object for a boundless surface (...)
Definition at line 29 of file NoBounds.h.
|
inherited |
This enumerator simplifies the persistency, by saving a dynamic_cast to happen.
Other is reserved for the GeometrySurfaces implementation.
Enumerator | |
---|---|
Cone | |
Cylinder | |
Diamond | |
Disc | |
Ellipse | |
Rectangle | |
RotatedTrapezoid | |
Trapezoid | |
Triangle | |
DiscTrapezoidal | |
Annulus | |
Other |
Definition at line 58 of file SurfaceBounds.h.
|
default |
Default Constructor.
|
defaultnoexcept |
|
default |
Destructor.
|
finaloverridevirtual |
Clone method to complete inherited interface.
Implements Trk::SurfaceBounds.
|
finaloverridevirtual |
Output Method for MsgStream.
Implements Trk::SurfaceBounds.
|
finaloverridevirtual |
Output Method for std::ostream.
Implements Trk::SurfaceBounds.
|
inlineprotectedvirtualinherited |
virtual initCache method for object persistency
Reimplemented in Trk::RotatedTrapezoidBounds, Trk::ConeBounds, Trk::RotatedDiamondBounds, and Trk::DiamondBounds.
Definition at line 129 of file SurfaceBounds.h.
|
finaloverridevirtual |
Implements Trk::SurfaceBounds.
|
finaloverridevirtual |
Method inside() returns true for any case.
Implements Trk::SurfaceBounds.
|
finaloverridevirtual |
This method checks inside bounds in loc1.
Implements Trk::SurfaceBounds.
|
finaloverridevirtual |
This method checks inside bounds in loc2.
Implements Trk::SurfaceBounds.
|
finaloverridevirtual |
Minimal distance to boundary (=0 if inside)
Implements Trk::SurfaceBounds.
|
inlinevirtualinherited |
Non-Equality operator.
Reimplemented in Trk::InvalidBounds.
Definition at line 141 of file SurfaceBounds.h.
|
finaloverridevirtual |
Equality operator.
Implements Trk::SurfaceBounds.
|
finaloverridevirtual |
r() method to complete inherited interface
Implements Trk::SurfaceBounds.
|
inlineprotectedinherited |
Swap method to be called from DiscBounds or TrapezoidalBounds.
Definition at line 133 of file SurfaceBounds.h.
|
inlineoverridevirtual |
Return SurfaceBounds for persistency.
Implements Trk::SurfaceBounds.
Definition at line 45 of file NoBounds.h.