ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::utils::detail::accelerator_printer Struct Reference

A functor that retrieves an acceleration struct and prints it. More...

#include <detray/utils/print_detector.hpp>

Public Member Functions

template<typename accel_coll_t, typename index_t>
void operator() (const accel_coll_t &accel_coll, const index_t idx, std::stringstream &os) const
 Print an acceleration structure.

Detailed Description

A functor that retrieves an acceleration struct and prints it.

Member Function Documentation

◆ operator()()

template<typename accel_coll_t, typename index_t>
void detray::utils::detail::accelerator_printer::operator() ( const accel_coll_t & accel_coll,
const index_t idx,
std::stringstream & os ) const

Print an acceleration structure.

Parameters
accel_collcollection of acceleration structs
idxthe specific grid to be checked
osStream receiving the output.