Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Experimental::detail::PolyhedronReferenceGenerator< nSEGS, aBARY > Struct Template Reference

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

Public Member Functions

const std::vector< Vector3references (const GeometryContext &gctx, const Surface &surface) const
 

Detailed Description

template<size_t nSEGS = 1u, bool aBARY = true>
struct Acts::Experimental::detail::PolyhedronReferenceGenerator< nSEGS, aBARY >

A struct to access generated vertices from surface polyhedrons These vertices are then used to find the bin boundary box for the indexed grid.

Template Parameters
nSEGSthe number of segments to be used for the polyhedron approximation of arcs between vertices
aBARYif true, the barycenter of the polyhedron is added

The grid filling then completes the empty bins in between and expands if necessary.

Definition at line 71 of file ReferenceGenerators.hpp.

View newest version in sPHENIX GitHub at line 71 of file ReferenceGenerators.hpp

Member Function Documentation

template<size_t nSEGS = 1u, bool aBARY = true>
const std::vector<Vector3> Acts::Experimental::detail::PolyhedronReferenceGenerator< nSEGS, aBARY >::references ( const GeometryContext gctx,
const Surface surface 
) const
inline

Helper to access the Center point of for filling the grid

Parameters
gctxthe geometry context of this operation
surfacethe surface for which the reference point is to be accessed
Returns
a vector of reference points for filling

Definition at line 78 of file ReferenceGenerators.hpp.

View newest version in sPHENIX GitHub at line 78 of file ReferenceGenerators.hpp

References merge_hashes::p, and Acts::Surface::polyhedronRepresentation().

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 file: