Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsFatras::Channel< signal_t, kSize > Struct Template Reference

#include <acts/blob/sPHENIX/Fatras/include/ActsFatras/Digitization/DigitizationData.hpp>

+ Collaboration diagram for ActsFatras::Channel< signal_t, kSize >:

Public Member Functions

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

Public Attributes

std::array< Cell, kSize > cellId
 The cell identification in sizeof..(kParameters) dimensions.
 
signal_t value = 0
 
std::unordered_set< unsigned int > links = {}
 The potential (truth) links.
 

Detailed Description

template<typename signal_t, 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

Definition at line 27 of file DigitizationData.hpp.

View newest version in sPHENIX GitHub at line 27 of file DigitizationData.hpp

Constructor & Destructor Documentation

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

Channel constructor

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

Definition at line 41 of file DigitizationData.hpp.

View newest version in sPHENIX GitHub at line 41 of file DigitizationData.hpp

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

Member Data Documentation

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

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

Definition at line 29 of file DigitizationData.hpp.

View newest version in sPHENIX GitHub at line 29 of file DigitizationData.hpp

Referenced by ActsFatras::mergeChannels().

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

The potential (truth) links.

Definition at line 34 of file DigitizationData.hpp.

View newest version in sPHENIX GitHub at line 34 of file DigitizationData.hpp

template<typename signal_t , 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

Definition at line 32 of file DigitizationData.hpp.

View newest version in sPHENIX GitHub at line 32 of file DigitizationData.hpp

Referenced by pump.Token::__str__(), and pump.Token::Clone().


The documentation for this struct was generated from the following file: