ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::DigitizationCell Struct Reference

pair of ints for definition of a cell More...

#include <acts/blob/master/Plugins/Digitization/include/Acts/Plugins/Digitization/DigitizationCell.hpp>

Public Member Functions

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

Public Attributes

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

Detailed Description

pair of ints for definition of a cell

Definition at line 17 of file DigitizationCell.hpp.

View newest version in sPHENIX GitHub at line 17 of file DigitizationCell.hpp

Constructor & Destructor Documentation

virtual Acts::DigitizationCell::~DigitizationCell ( )
virtualdefault
Acts::DigitizationCell::DigitizationCell ( size_t  ch0,
size_t  ch1,
float  d = 0. 
)
inline

Definition at line 25 of file DigitizationCell.hpp.

View newest version in sPHENIX GitHub at line 25 of file DigitizationCell.hpp

Acts::DigitizationCell::DigitizationCell ( const DigitizationCell dc)
default

Member Function Documentation

virtual void Acts::DigitizationCell::addCell ( const DigitizationCell dc,
bool  analogueReadout 
)
inlinevirtual

To merge cells in case they are at the same position

Parameters
dcthe cell to be added to the current cell
analogueReadoutflag indicating if we have analgue readout
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.

Definition at line 37 of file DigitizationCell.hpp.

View newest version in sPHENIX GitHub at line 37 of file DigitizationCell.hpp

References data.

virtual double Acts::DigitizationCell::depositedEnergy ( ) const
inlinevirtual

the deposited energy

Parameters
analogueReadoutflag indicating if we have analgue readout
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.

Definition at line 48 of file DigitizationCell.hpp.

View newest version in sPHENIX GitHub at line 48 of file DigitizationCell.hpp

References data.

Member Data Documentation

size_t Acts::DigitizationCell::channel0 = 0
size_t Acts::DigitizationCell::channel1 = 1
float Acts::DigitizationCell::data = 0.

Definition at line 23 of file DigitizationCell.hpp.

View newest version in sPHENIX GitHub at line 23 of file DigitizationCell.hpp

Referenced by addCell(), and depositedEnergy().


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