Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PortalHelper.hpp File Reference
#include "Acts/Definitions/Algebra.hpp"
#include "Acts/Definitions/Common.hpp"
#include "Acts/Definitions/Direction.hpp"
#include "Acts/Detector/Portal.hpp"
#include "Acts/Geometry/GeometryContext.hpp"
#include "Acts/Utilities/BinningType.hpp"
#include <memory>
#include <tuple>
#include <vector>
+ Include dependency graph for PortalHelper.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Acts
 Acts includes to create all necessary definitions.
 
namespace  Acts::Experimental
 
namespace  Acts::Experimental::detail
 
namespace  Acts::Experimental::detail::PortalHelper
 

Typedefs

using Acts::Experimental::PortalReplacement = std::tuple< std::shared_ptr< Experimental::Portal >, unsigned int, Direction, std::vector< ActsScalar >, BinningValue >
 Definition of a portal replacement when building proto containers.
 

Functions

void Acts::Experimental::detail::PortalHelper::attachDetectorVolumeUpdator (Portal &portal, const std::shared_ptr< DetectorVolume > &volume, const Direction &direction)
 Method to attach a single detector volume to a portal.
 
void Acts::Experimental::detail::PortalHelper::attachDetectorVolumesUpdator (const GeometryContext &gctx, Portal &portal, const std::vector< std::shared_ptr< DetectorVolume >> &volumes, const Direction &direction, const std::vector< ActsScalar > &boundaries, const BinningValue &binning)
 Create and attach the multi link updator, the portal will get a volume updator attached, that points to the different sub volumes depending on the global position and binning - single assignment case.
 
void Acts::Experimental::detail::PortalHelper::attachDetectorVolumeUpdators (const GeometryContext &gctx, const std::vector< std::shared_ptr< DetectorVolume >> &volumes, std::vector< PortalReplacement > &pReplacements)
 Create and attach the multi link updator, the portal will get a volume updator attached, that points to the different sub volumes depending on the global position and binning.
 
std::vector< std::shared_ptr
< DetectorVolume > > 
Acts::Experimental::detail::PortalHelper::attachedDetectorVolumes (Portal &portal) noexcept(false)
 Method that strips out attached volumes from portals and provides them back to the caller.