File PortalHelper.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
namespace Experimental
Typedefs
-
using PortalReplacement = std::tuple<std::shared_ptr<Experimental::Portal>, unsigned int, NavigationDirection, std::vector<ActsScalar>, BinningValue>¶
Definition of a portal replacement when building proto containers It consists of the new portal, the index, the direction, the parameters gathered from the sub volumes, the binning description.
Functions
Create and attach the multi link updator.
- Parameters
gctx – the geometry context
volumes – are the volumes that are pointed to
pReplacements – are the portal replacements that are newly connected
-
std::vector<std::shared_ptr<DetectorVolume>> attachedDetectorVolumes(Portal &portal) noexcept(false)¶
Method that strips out attached volumes from portals.
Note
it throws an exception if both sides are already taken
- Parameters
portal – the portal to be resolved
- Returns
a vector of attached volumes
-
using PortalReplacement = std::tuple<std::shared_ptr<Experimental::Portal>, unsigned int, NavigationDirection, std::vector<ActsScalar>, BinningValue>¶
-
namespace Experimental