Template Struct Channel

Struct Documentation

template<typename signal_t, Acts::BoundIndices... kParameters>
struct ActsFatras::Channel

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

Template Parameters
  • signal_t: Type of the signal, requires += operator

  • kParameters: … The parameters pack

Public Functions

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

Channel constructor.

Parameters
  • cellId_: The Cell idenficiation and position

  • value_: The Cell value

  • links_: The (optional) links to e.g. truth indices

Channel() = delete

Public Members

std::array<Cell, sizeof...(kParameters)> 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.