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

A functor that retrieves material and prints it. More...

#include <detray/utils/print_detector.hpp>

Public Member Functions

template<typename material_coll_t, typename index_t>
void operator() (const material_coll_t &material_coll, const index_t idx, std::stringstream &os) const
 Print material.

Detailed Description

A functor that retrieves material and prints it.

Member Function Documentation

◆ operator()()

template<typename material_coll_t, typename index_t>
void detray::utils::detail::material_printer::operator() ( const material_coll_t & material_coll,
const index_t idx,
std::stringstream & os ) const

Print material.

Parameters
material_collcollection of material
idxthe specific grid to be checked
osStream receiving the output.