|
ACTS
Experiment-independent tracking
|
Base class for cylinder shaped portal shells, e.g. More...
#include <Acts/Geometry/CylinderPortalShell.hpp>
Public Types | |
| using | Face = CylinderVolumeBounds::Face |
| Type alias for cylinder volume bounds face enumeration. | |
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 > | portal (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 cylinder shaped portal shells, e.g.
shells for cylinder volumes
Type alias for cylinder volume bounds face enumeration.
|
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::CylinderStackPortalShell, and Acts::SingleCylinderPortalShell.
|
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::CylinderStackPortalShell, and Acts::SingleCylinderPortalShell.