Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::DigitizationCell Struct Referencefinal

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

#include <acts/blob/sPHENIX/Core/include/Acts/Digitization/DigitizationCell.hpp>

Public Member Functions

 DigitizationCell (size_t ch0, size_t ch1, float d=0.)
 
void addCell (const DigitizationCell &dc, bool analogueReadout)
 
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 15 of file DigitizationCell.hpp.

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

Constructor & Destructor Documentation

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

Definition at line 22 of file DigitizationCell.hpp.

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

Member Function Documentation

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

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 analogue 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 32 of file DigitizationCell.hpp.

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

References data.

double Acts::DigitizationCell::depositedEnergy ( ) const
inline

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.

Definition at line 43 of file DigitizationCell.hpp.

View newest version in sPHENIX GitHub at line 43 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 19 of file DigitizationCell.hpp.

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

Referenced by addCell(), and depositedEnergy().


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