ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
detray::attach< kSORT > Struct Template Reference

An attach populator that adds a new entry to a given bin. More...

#include <detray/utils/grid/populators.hpp>

Public Member Functions

template<typename bin_t, typename entry_t>
void operator() (bin_t &&bin, entry_t &&entry) const
 Append a new entry to the bin - forwarding.

Detailed Description

template<bool kSORT = false>
struct detray::attach< kSORT >

An attach populator that adds a new entry to a given bin.

Template Parameters
kSORTsort the entries in the bin

Member Function Documentation

◆ operator()()

template<bool kSORT = false>
template<typename bin_t, typename entry_t>
void detray::attach< kSORT >::operator() ( bin_t && bin,
entry_t && entry ) const

Append a new entry to the bin - forwarding.

Parameters
binthe bin for which to replace the content
entryEntry to append.