ATLAS Offline Software
|
#include <InvalidBounds.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 | |
InvalidBounds ()=default | |
Default Constructor. More... | |
InvalidBounds (const InvalidBounds &)=default | |
InvalidBounds & | operator= (const InvalidBounds &)=default |
InvalidBounds (InvalidBounds &&) noexcept=default | |
InvalidBounds & | operator= (InvalidBounds &&) noexcept=default |
virtual | ~InvalidBounds ()=default |
Destructor. More... | |
virtual bool | operator== (const SurfaceBounds &) const override |
Equality operator. More... | |
virtual bool | operator!= (const SurfaceBounds &) const override |
Non-Equality operator. More... | |
InvalidBounds * | operator& () |
'address of' will return nullptr More... | |
virtual SurfaceBounds::BoundsType | type () const override |
Return SurfaceBounds for persistency. More... | |
virtual bool | inside (const Amg::Vector2D &, double=0., double=0.) const override |
Method inside() returns false for any case. More... | |
virtual bool | inside (const Amg::Vector2D &, const BoundaryCheck &) const override |
virtual bool | insideLoc1 (const Amg::Vector2D &, double=0.) const override |
This method checks inside bounds in loc1. More... | |
virtual bool | insideLoc2 (const Amg::Vector2D &, double=0.) const override |
This method checks inside bounds in loc2. More... | |
virtual double | minDistance (const Amg::Vector2D &) const override |
Minimal distance to boundary (=0 if inside) More... | |
virtual InvalidBounds * | clone () const override |
Invalidate cloning of an invalid object. More... | |
virtual double | r () const override |
r() method to complete inherited interface More... | |
virtual MsgStream & | dump (MsgStream &sl) const override |
Output Method for MsgStream. More... | |
virtual std::ostream & | dump (std::ostream &sl) const override |
Output Method for std::ostream. 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... | |
Invalid Bounds object
Definition at line 29 of file InvalidBounds.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.
|
default |
|
defaultnoexcept |
|
virtualdefault |
Destructor.
|
inlineoverridevirtual |
Invalidate cloning of an invalid object.
Implements Trk::SurfaceBounds.
Definition at line 69 of file InvalidBounds.h.
|
inlineoverridevirtual |
Output Method for MsgStream.
Implements Trk::SurfaceBounds.
Definition at line 84 of file InvalidBounds.h.
|
inlineoverridevirtual |
Output Method for std::ostream.
Implements Trk::SurfaceBounds.
Definition at line 91 of file InvalidBounds.h.
|
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.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Method inside() returns false for any case.
Implements Trk::SurfaceBounds.
Definition at line 55 of file InvalidBounds.h.
|
inlineoverridevirtual |
This method checks inside bounds in loc1.
Implements Trk::SurfaceBounds.
Definition at line 59 of file InvalidBounds.h.
|
inlineoverridevirtual |
This method checks inside bounds in loc2.
Implements Trk::SurfaceBounds.
Definition at line 63 of file InvalidBounds.h.
|
inlineoverridevirtual |
Minimal distance to boundary (=0 if inside)
Implements Trk::SurfaceBounds.
Definition at line 66 of file InvalidBounds.h.
|
inlineoverridevirtual |
Non-Equality operator.
Reimplemented from Trk::SurfaceBounds.
Definition at line 46 of file InvalidBounds.h.
|
inline |
'address of' will return nullptr
Definition at line 49 of file InvalidBounds.h.
|
default |
|
defaultnoexcept |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
r() method to complete inherited interface
Implements Trk::SurfaceBounds.
Definition at line 72 of file InvalidBounds.h.
|
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 52 of file InvalidBounds.h.