Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Experimental::AllPortalsExtractor Struct Reference

Helper extractors: all portals. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Detector/DetectorVolume.hpp>

Static Public Member Functions

static const std::vector
< const Portal * > 
extract ([[maybe_unused]] const GeometryContext &gctx, const NavigationState &nState)
 
static const std::vector
< const Portal * > 
extract ([[maybe_unused]] const GeometryContext &gctx, const NavigationState &nState,[[maybe_unused]] const std::vector< size_t > &indices={})
 

Detailed Description

Helper extractors: all portals.

Helper extractors: all surfaces.

Definition at line 442 of file DetectorVolume.hpp.

View newest version in sPHENIX GitHub at line 442 of file DetectorVolume.hpp

Member Function Documentation

static const std::vector<const Portal*> Acts::Experimental::AllPortalsExtractor::extract ( [[maybe_unused] ] const GeometryContext gctx,
const NavigationState nState,
[[maybe_unused] ] const std::vector< size_t > &  indices = {} 
)
inlinestatic

Extract the surfaces from the volume

Parameters
gctxthe geometry contextfor this extraction call
nStateis the navigation state for the extraction
indicesis an ignored index vector

Definition at line 64 of file NavigationStateUpdatorsTests.cpp.

View newest version in sPHENIX GitHub at line 64 of file NavigationStateUpdatorsTests.cpp

static const std::vector<const Portal*> Acts::Experimental::AllPortalsExtractor::extract ( [[maybe_unused] ] const GeometryContext gctx,
const NavigationState nState 
)
inlinestatic

Extract the portals from the volume

Parameters
gctxthe geometry contextfor this extraction call
nStateis the current navigation state
Returns
a vector of raw Portal pointers

Definition at line 449 of file DetectorVolume.hpp.

View newest version in sPHENIX GitHub at line 449 of file DetectorVolume.hpp

References Acts::Experimental::NavigationState::currentVolume, and Acts::Experimental::DetectorVolume::portals().

Referenced by BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:


The documentation for this struct was generated from the following files: