Struct Acts::DigitizationCellΒΆ

struct DigitizationCell

pair of ints for definition of a cell

Public Functions

inline DigitizationCell(size_t ch0, size_t ch1, float d = 0.)
DigitizationCell(const DigitizationCell &dc) = default
inline void addCell(const DigitizationCell &dc, bool analogueReadout)

To merge cells in case they are at the same position.

Note

this function is needed because possible derived classes may calculate the energy deposit differently. Furthermore this allows to apply an energy cut, because the energy deposit can also be stored for digital readout.

Parameters
  • dc – the cell to be added to the current cell

  • analogueReadout – flag indicating if we have analgue readout

inline double depositedEnergy() const

the deposited energy

Note

this function is needed because possible derived classes may calculate the energy deposit differently. Furthermore this allows to apply an energy cut, because the energy deposit can also be stored for digital readout.

Public Members

size_t channel0 = 0
size_t channel1 = 1
float data = 0.