|
ACTS
Experiment-independent tracking
|
Base class for diamond shaped portal shells, e.g single volumes with polygon shape or stacked (multiple) volumes (TODO). More...
#include <Acts/Geometry/DiamondPortalShell.hpp>
Public Types | |
| using | Face = DiamondVolumeBounds::Face |
Public Member Functions | |
| void | fill (TrackingVolume &volume) override |
Fill the open slots of the shell with a TrivialPortalLink to the given volume. | |
| virtual std::shared_ptr< Portal > | portalPtr (Face face)=0 |
| Retrieve a shared_ptr for the portal associated to the given face. | |
| virtual void | setPortal (std::shared_ptr< Portal > portal, Face face)=0 |
| Set the portal associated to the given face. | |
| Public Member Functions inherited from Acts::PortalShellBase | |
| virtual | ~PortalShellBase ()=default |
| Virtual destructor. | |
| virtual void | applyToVolume ()=0 |
| Instruct the shell to register the portals with the volume, handing over shared ownership in the process. | |
| virtual bool | isValid () const =0 |
| Check if a portal is valid, e.g. | |
| virtual std::string | label () const =0 |
| Get a label for the portal shell for debugging purposes. | |
| virtual std::size_t | size () const =0 |
| Get the number of portals in the shell. | |
Base class for diamond shaped portal shells, e.g single volumes with polygon shape or stacked (multiple) volumes (TODO).
|
overridevirtual |
Fill the open slots of the shell with a TrivialPortalLink to the given volume.
| volume | The volume to connect |
Implements Acts::PortalShellBase.
Retrieve a shared_ptr for the portal associated to the given face.
Can be nullptr if unset.
| face | The face to retrieve the portal for |
Implemented in Acts::SingleDiamondPortalShell.
|
pure virtual |
Set the portal associated to the given face.
| portal | The portal to set |
| face | The face to set the portal |
Implemented in Acts::SingleDiamondPortalShell.