Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::Experimental::detail::BinningValueReferenceGenerator< bVAL > 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<BinningValue bVAL = BinningValue::binValues>
struct Acts::Experimental::detail::BinningValueReferenceGenerator< bVAL >

A struct to access reference positions based on bin values

Template Parameters
bVALthe binning value to be used for the binning position call

This generator will provide only one filling point and hence only a single bin in the indexed grid.

Definition at line 47 of file ReferenceGenerators.hpp.

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

Member Function Documentation

template<BinningValue bVAL = BinningValue::binValues>
const std::vector<Vector3> Acts::Experimental::detail::BinningValueReferenceGenerator< bVAL >::references ( const GeometryContext gctx,
const Surface surface 
) const
inline

Helper to access a reference position based on binning value

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 54 of file ReferenceGenerators.hpp.

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

References Acts::GeometryObject::binningPosition().

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: