ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SiChargedDiode Class Reference

#include <SiChargedDiode.h>

Collaboration diagram for SiChargedDiode:

Public Member Functions

 SiChargedDiode (const InDetDD::SiCellId &diode, const InDetDD::SiReadoutCellId &roCell, int flagword=0, SiChargedDiode *nextInCluster=nullptr)
 
const InDetDD::SiCellIddiode () const
 
const InDetDD::SiReadoutCellIdgetReadoutCell () const
 
const SiTotalChargetotalCharge () const
 
double charge () const
 
int flag () const
 
SiChargedDiodenextInCluster ()
 
void add (const SiCharge &charge)
 
void add (const SiTotalCharge &totcharge)
 
void setNextInCluster (SiChargedDiode *nextInCluster)
 

Private Member Functions

 SiChargedDiode ()
 

Private Attributes

InDetDD::SiCellId m_diode
 
SiTotalCharge m_totalCharge
 
InDetDD::SiReadoutCellId m_readoutCell
 
int m_word
 
SiChargedDiodem_nextInCluster
 

Friends

class SiHelper
 

Detailed Description

Definition at line 30 of file SiChargedDiode.h.

Constructor & Destructor Documentation

◆ SiChargedDiode() [1/2]

SiChargedDiode::SiChargedDiode ( const InDetDD::SiCellId diode,
const InDetDD::SiReadoutCellId roCell,
int  flagword = 0,
SiChargedDiode nextInCluster = nullptr 
)

Definition at line 19 of file SiChargedDiode.cxx.

20  : m_diode(diode),
21  m_readoutCell(roCell),
22  m_word(flagword),
24 {}

◆ SiChargedDiode() [2/2]

SiChargedDiode::SiChargedDiode ( )
private

Member Function Documentation

◆ add() [1/2]

void SiChargedDiode::add ( const SiCharge charge)

Definition at line 29 of file SiChargedDiode.cxx.

29  {
30  // add the charge
32 }

◆ add() [2/2]

void SiChargedDiode::add ( const SiTotalCharge totcharge)
inline

Definition at line 125 of file SiChargedDiode.h.

126 {
127  m_totalCharge.add(totcharge);
128 }

◆ charge()

double SiChargedDiode::charge ( ) const
inline

Definition at line 115 of file SiChargedDiode.h.

116 {
117  return m_totalCharge.charge();
118 }

◆ diode()

const InDetDD::SiCellId & SiChargedDiode::diode ( ) const
inline

Definition at line 97 of file SiChargedDiode.h.

98 {
99  return m_diode;
100 }

◆ flag()

int SiChargedDiode::flag ( ) const
inline

Definition at line 102 of file SiChargedDiode.h.

103 {
104  return m_word;
105 }

◆ getReadoutCell()

const InDetDD::SiReadoutCellId & SiChargedDiode::getReadoutCell ( ) const
inline

Definition at line 111 of file SiChargedDiode.h.

111  {
112  return m_readoutCell;
113 }

◆ nextInCluster()

SiChargedDiode * SiChargedDiode::nextInCluster ( )
inline

Definition at line 120 of file SiChargedDiode.h.

121 {
122  return m_nextInCluster;
123 }

◆ setNextInCluster()

void SiChargedDiode::setNextInCluster ( SiChargedDiode nextInCluster)
inline

Definition at line 130 of file SiChargedDiode.h.

131 {
133 }

◆ totalCharge()

const SiTotalCharge & SiChargedDiode::totalCharge ( ) const
inline

Definition at line 107 of file SiChargedDiode.h.

108 {
109  return m_totalCharge;
110 }

Friends And Related Function Documentation

◆ SiHelper

friend class SiHelper
friend

Definition at line 32 of file SiChargedDiode.h.

Member Data Documentation

◆ m_diode

InDetDD::SiCellId SiChargedDiode::m_diode
private

Definition at line 86 of file SiChargedDiode.h.

◆ m_nextInCluster

SiChargedDiode* SiChargedDiode::m_nextInCluster
private

Definition at line 91 of file SiChargedDiode.h.

◆ m_readoutCell

InDetDD::SiReadoutCellId SiChargedDiode::m_readoutCell
private

Definition at line 89 of file SiChargedDiode.h.

◆ m_totalCharge

SiTotalCharge SiChargedDiode::m_totalCharge
private

Definition at line 88 of file SiChargedDiode.h.

◆ m_word

int SiChargedDiode::m_word
private

Definition at line 90 of file SiChargedDiode.h.


The documentation for this class was generated from the following files:
SiChargedDiode::m_diode
InDetDD::SiCellId m_diode
Definition: SiChargedDiode.h:86
SiChargedDiode::m_nextInCluster
SiChargedDiode * m_nextInCluster
Definition: SiChargedDiode.h:91
SiTotalCharge::charge
double charge() const
Definition: SiTotalCharge.h:118
SiChargedDiode::charge
double charge() const
Definition: SiChargedDiode.h:115
SiChargedDiode::m_totalCharge
SiTotalCharge m_totalCharge
Definition: SiChargedDiode.h:88
SiChargedDiode::diode
const InDetDD::SiCellId & diode() const
Definition: SiChargedDiode.h:97
SiTotalCharge::add
void add(const SiCharge &charge)
Definition: SiTotalCharge.cxx:62
SiChargedDiode::m_readoutCell
InDetDD::SiReadoutCellId m_readoutCell
Definition: SiChargedDiode.h:89
SiChargedDiode::m_word
int m_word
Definition: SiChargedDiode.h:90
SiChargedDiode::nextInCluster
SiChargedDiode * nextInCluster()
Definition: SiChargedDiode.h:120