|
ACTS
Experiment-independent tracking
|
A helper class that fills surfaces into predefined grids. More...
#include <Acts/Geometry/IndexGrid.hpp>
Public Member Functions | |
| template<typename index_grid, typename indices> | |
| void | assignToAll (index_grid &iGrid, const indices &idcs) const |
| Helper method to fill a dedicated list of indices into the entire grid. | |
| 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. | |
| const Logger & | logger () const |
| Access to the logger. | |
Public Attributes | |
| std::vector< std::size_t > | binExpansion = {} |
| Bin expansion where needed - in integer bins. | |
| std::unique_ptr< const Logger > | oLogger |
| Screen output logger. | |
| std::vector< double > | referenceExpansion = {} |
| Reference expansion - is applied before bin expansion. | |
A helper class that fills surfaces into predefined grids.
| void Acts::IndexGridFiller::assignToAll | ( | index_grid & | iGrid, |
| const indices & | idcs ) const |
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.
| void Acts::IndexGridFiller::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.
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 |
| const Logger & Acts::IndexGridFiller::logger | ( | ) | const |
Access to the logger.
| std::vector<std::size_t> Acts::IndexGridFiller::binExpansion = {} |
Bin expansion where needed - in integer bins.
| std::unique_ptr<const Logger> Acts::IndexGridFiller::oLogger |
Screen output logger.
| std::vector<double> Acts::IndexGridFiller::referenceExpansion = {} |
Reference expansion - is applied before bin expansion.