|
ACTS
Experiment-independent tracking
|
This class describes a cylinder shell containing multiple volumes. More...
#include <Acts/Geometry/CylinderPortalShell.hpp>
Public Types | |
| using | SingleShell = SingleCylinderPortalShell |
| Type alias for single cylinder portal shell type used in stacks. | |
| Public Types inherited from Acts::CylinderPortalShell | |
| using | Face = CylinderVolumeBounds::Face |
| Type alias for cylinder volume bounds face enumeration. | |
Public Member Functions | |
| CylinderStackPortalShell (const GeometryContext &gctx, std::vector< CylinderPortalShell * > shells, AxisDirection direction, const Logger &logger=getDummyLogger()) | |
| Construct the portal shell stack from the given shells. | |
| void | applyToVolume () override |
| Instruct the shell to register the portals with the volume, handing over shared ownership in the process. | |
| bool | isValid () const override |
| Check if a portal is valid, e.g. | |
| std::string | label () const override |
| Get a label for the portal shell for debugging purposes. | |
| std::shared_ptr< Portal > | portal (Face face) final |
| Retrieve a shared_ptr for the portal associated to the given face. | |
| void | setPortal (std::shared_ptr< Portal > portal, Face face) final |
| Set the portal associated to the given face. | |
| std::size_t | size () const final |
| Get the number of portals in the shell. | |
| Public Member Functions inherited from Acts::CylinderPortalShell | |
| void | fill (TrackingVolume &volume) override |
Fill the open slots of the shell with a TrivialPortalLink to the given volume. | |
| Public Member Functions inherited from Acts::PortalShellBase | |
| virtual | ~PortalShellBase ()=default |
| Virtual destructor. | |
This class describes a cylinder shell containing multiple volumes.
The available faces depend on the configuration of the cylinder volume bounds.
Type alias for single cylinder portal shell type used in stacks.
| Acts::CylinderStackPortalShell::CylinderStackPortalShell | ( | const GeometryContext & | gctx, |
| std::vector< CylinderPortalShell * > | shells, | ||
| AxisDirection | direction, | ||
| const Logger & | logger = getDummyLogger() ) |
Construct the portal shell stack from the given shells.
| gctx | The geometry context |
| shells | The shells to stack |
| direction | The stacking direction |
| logger | A logging instance for debugging |
|
overridevirtual |
Instruct the shell to register the portals with the volume, handing over shared ownership in the process.
CylinerStackPortalShell register portals to the correct volumes. Implements Acts::PortalShellBase.
|
overridevirtual |
Check if a portal is valid, e.g.
if non of the portals has two unconnected sides.
Implements Acts::PortalShellBase.
|
overridevirtual |
Get a label for the portal shell for debugging purposes.
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 |
Implements Acts::CylinderPortalShell.
|
finalvirtual |
Set the portal associated to the given face.
| portal | The portal to set |
| face | The face to set the portal |
Implements Acts::CylinderPortalShell.
|
finalvirtual |
Get the number of portals in the shell.
This number depends on the volume type
Implements Acts::PortalShellBase.