![]() |
ATLAS Offline Software
|
Base class for all volumes inside the tracking realm, it defines the interface for inherited Volume classes regarding the geometrical information. More...
#include <Volume.h>
Public Member Functions | |
| Volume ()=default | |
| Defaults copies are special due ot unique ptr data member. | |
| Volume (Volume &&)=default | |
| Volume & | operator= (Volume &&)=default |
| virtual | ~Volume ()=default |
| Volume (std::unique_ptr< Amg::Transform3D > htrans, std::shared_ptr< VolumeBounds > volBounds) | |
| Constructor with arguments. | |
| Volume (const Volume &vol) | |
| Copy Constructor. | |
| Volume (const Volume &vol, const Amg::Transform3D &shift) | |
| Copy Constructor. | |
| Volume & | operator= (const Volume &vol) |
| Assignment operator. | |
| virtual Volume * | clone () const |
| polymorpic deep copy | |
| const Amg::Transform3D & | transform () const |
| Return methods for geometry transform. | |
| const Amg::Vector3D & | center () const |
| returns the center of the volume | |
| const VolumeBounds & | volumeBounds () const |
| returns the volumeBounds() | |
| VolumeBounds & | volumeBounds () |
| bool | inside (const Amg::Vector3D &gp, double tol=0.) const |
| Inside() method for checks. | |
| ObjectAccessor | boundarySurfaceAccessor (const Amg::Vector3D &gp, const Amg::Vector3D &mom, bool forceInside=false) const |
| Provide accessor for BoundarySurfaces. | |
Protected Attributes | |
| std::unique_ptr< Amg::Transform3D > | m_transform = nullptr |
| Transform3D (optional). | |
| Amg::Vector3D | m_center = Trk::s_origin |
| center position of the surface | |
| std::shared_ptr< VolumeBounds > | m_volumeBounds = nullptr |
| the volumeBounds | |
Base class for all volumes inside the tracking realm, it defines the interface for inherited Volume classes regarding the geometrical information.
|
default |
Defaults copies are special due ot unique ptr data member.
|
default |
|
virtualdefault |
| Trk::Volume::Volume | ( | std::unique_ptr< Amg::Transform3D > | htrans, |
| std::shared_ptr< VolumeBounds > | volBounds ) |
Constructor with arguments.
Definition at line 22 of file Volume.cxx.
| Trk::Volume::Volume | ( | const Volume & | vol | ) |
Copy Constructor.
Definition at line 30 of file Volume.cxx.
| Trk::Volume::Volume | ( | const Volume & | vol, |
| const Amg::Transform3D & | shift ) |
Copy Constructor.
Definition at line 38 of file Volume.cxx.
| Trk::ObjectAccessor Trk::Volume::boundarySurfaceAccessor | ( | const Amg::Vector3D & | gp, |
| const Amg::Vector3D & | mom, | ||
| bool | forceInside = false ) const |
Provide accessor for BoundarySurfaces.
Definition at line 82 of file Volume.cxx.
|
inline |
|
virtual |
polymorpic deep copy
Definition at line 60 of file Volume.cxx.
| ATH_FLATTEN bool Trk::Volume::inside | ( | const Amg::Vector3D & | gp, |
| double | tol = 0. ) const |
| Trk::Volume & Trk::Volume::operator= | ( | const Volume & | vol | ) |
Assignment operator.
Definition at line 47 of file Volume.cxx.
|
inline |
Return methods for geometry transform.
Definition at line 83 of file Volume.h.
|
inline |
|
inline |
returns the volumeBounds()
|
protected |
|
protected |
Transform3D (optional).
|
protected |