ATLAS Offline Software
Loading...
Searching...
No Matches
SiChargedDiode.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// SiChargedDiode.cxx
7// Implementation file for class SiChargedDiode
9// (c) ATLAS Detector software
11// Version 2.1 09/06/2001 David Calvet
12// Davide Costanzo. Revisited version. 04-03-03
14
16
17
18// Constructor with parameters:
25
26// add another charge
27// If the current charge is large than max, update
28// If we update, replace the track parameters
30 // add the charge
32}
33
35// Input/Output stream functions:
37std::ostream &operator<<(std::ostream &out,const SiChargedDiode &chargedDiode)
38{
39 out << "Diode=" << chargedDiode.diode()
40 << " " << chargedDiode.totalCharge();
41 return out;
42}
43
std::ostream & operator<<(std::ostream &out, const SiChargedDiode &chargedDiode)
Identifier for the strip or pixel cell.
Definition SiCellId.h:29
Identifier for the strip or pixel readout cell.
const InDetDD::SiCellId & diode() const
SiChargedDiode(const InDetDD::SiCellId &diode, const InDetDD::SiReadoutCellId &roCell, int flagword=0, SiChargedDiode *nextInCluster=nullptr)
InDetDD::SiCellId m_diode
InDetDD::SiReadoutCellId m_readoutCell
SiTotalCharge m_totalCharge
double charge() const
SiChargedDiode * m_nextInCluster
const SiTotalCharge & totalCharge() const
void add(const SiCharge &charge)
SiChargedDiode * nextInCluster()