Analysis Software
Documentation for sPHENIX simulation software
|
A helper class that fills surfaces into predefined grids. More...
#include <acts/blob/sPHENIX/Core/include/Acts/Detector/detail/IndexedGridFiller.hpp>
Public Member Functions | |
template<typename index_grid , typename indexed_objects , typename reference_generator > | |
void | fill (const GeometryContext &gctx, index_grid &iGrid, const indexed_objects &iObjects, const reference_generator &rGenerator, const typename index_grid::grid_type::value_type &aToAll={}) const |
This method takes a collection of objects and fills them into an index grid - it uses a reference generator for grid query points and then completes the bins in between. | |
template<typename index_grid , typename indices > | |
void | assignToAll (index_grid &iGrid, const indices &idcs) const |
const Logger & | logger () const |
Public Attributes | |
std::vector< std::size_t > | binExpansion = {} |
Bin expansion where needed. | |
std::unique_ptr< const Logger > | oLogger |
Screen output logger. | |
A helper class that fills surfaces into predefined grids.
Definition at line 161 of file IndexedGridFiller.hpp.
View newest version in sPHENIX GitHub at line 161 of file IndexedGridFiller.hpp
|
inline |
Helper method to fill a dedicated list of indices into the entire grid
This is useful if e.g. certain objects are to be attempted in any case, regardless of their binning.
Definition at line 236 of file IndexedGridFiller.hpp.
View newest version in sPHENIX GitHub at line 236 of file IndexedGridFiller.hpp
|
inline |
This method takes a collection of objects and fills them into an index grid - it uses a reference generator for grid query points and then completes the bins in between.
It also allows for expanding the fill view.
index_grid | the type of the index grid |
indexed_objects | the type of the object container |
reference_generator | the generator for reference points to be filled |
gctx | the geometry context of the operation |
iGrid | [in,out] the index grid object to be filled |
iObjects | the object container to be indexed |
rGenerator | the reference point generator for position queries |
aToAll | the indices that are assigned to all bins |
Definition at line 190 of file IndexedGridFiller.hpp.
View newest version in sPHENIX GitHub at line 190 of file IndexedGridFiller.hpp
|
inline |
Access to the logger
Definition at line 250 of file IndexedGridFiller.hpp.
View newest version in sPHENIX GitHub at line 250 of file IndexedGridFiller.hpp
References oLogger.
std::vector<std::size_t> Acts::Experimental::detail::IndexedGridFiller::binExpansion = {} |
Bin expansion where needed.
Definition at line 163 of file IndexedGridFiller.hpp.
View newest version in sPHENIX GitHub at line 163 of file IndexedGridFiller.hpp
std::unique_ptr<const Logger> Acts::Experimental::detail::IndexedGridFiller::oLogger |
Screen output logger.
Definition at line 166 of file IndexedGridFiller.hpp.
View newest version in sPHENIX GitHub at line 166 of file IndexedGridFiller.hpp
Referenced by BOOST_AUTO_TEST_CASE(), and logger().