ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsFatras::Channel< signal_t, kSize > Struct Template Reference

A channel definition: Cell identification, readout word, links. More...

#include <ActsFatras/Digitization/DigitizationData.hpp>

Collaboration diagram for ActsFatras::Channel< signal_t, kSize >:
[legend]

Public Member Functions

 Channel ()=delete
 Channel (std::array< Cell, kSize > cellId_, signal_t value_, std::unordered_set< unsigned int > links_={})
 Channel constructor.

Public Attributes

std::array< Cell, kSize > cellId
 The cell identification in sizeof..(kParameters) dimensions.
std::unordered_set< unsigned int > links = {}
 The potential (truth) links.
signal_t value = 0
 The signal value, as complex as possible, but need += operator and double() cast for the weight.

Detailed Description

template<typename signal_t, std::size_t kSize>
struct ActsFatras::Channel< signal_t, kSize >

A channel definition: Cell identification, readout word, links.

Template Parameters
signal_tType of the signal, requires += operator
kSizeNumber of channel coordinates

Constructor & Destructor Documentation

◆ Channel() [1/2]

template<typename signal_t, std::size_t kSize>
ActsFatras::Channel< signal_t, kSize >::Channel ( std::array< Cell, kSize > cellId_,
signal_t value_,
std::unordered_set< unsigned int > links_ = {} )

Channel constructor.

Parameters
cellId_The Cell identification and position
value_The Cell value
links_The (optional) links to e.g. truth indices

◆ Channel() [2/2]

template<typename signal_t, std::size_t kSize>
ActsFatras::Channel< signal_t, kSize >::Channel ( )
delete

Member Data Documentation

◆ cellId

template<typename signal_t, std::size_t kSize>
std::array<Cell, kSize> ActsFatras::Channel< signal_t, kSize >::cellId

The cell identification in sizeof..(kParameters) dimensions.

◆ links

template<typename signal_t, std::size_t kSize>
std::unordered_set<unsigned int> ActsFatras::Channel< signal_t, kSize >::links = {}

The potential (truth) links.

◆ value

template<typename signal_t, std::size_t kSize>
signal_t ActsFatras::Channel< signal_t, kSize >::value = 0

The signal value, as complex as possible, but need += operator and double() cast for the weight.