Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
InnerDetector
InDetDigitization
SiDigitization
src
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
15
#include "
SiDigitization/SiChargedDiode.h
"
16
17
18
// Constructor with parameters:
19
SiChargedDiode::SiChargedDiode
(
const
InDetDD::SiCellId
& diode,
const
InDetDD::SiReadoutCellId
& roCell,
int
flagword,
SiChargedDiode
* nextInCluster)
20
: m_diode(diode),
21
m_readoutCell(roCell),
22
m_word(flagword),
23
m_nextInCluster(nextInCluster)
24
{}
25
26
// add another charge
27
// If the current charge is large than max, update
28
// If we update, replace the track parameters
29
void
SiChargedDiode::add
(
const
SiCharge
&
charge
) {
30
// add the charge
31
m_totalCharge
.
add
(
charge
);
32
}
33
35
// Input/Output stream functions:
37
std::ostream &
operator<<
(std::ostream &
out
,
const
SiChargedDiode
&chargedDiode)
38
{
39
out
<<
"Diode="
<< chargedDiode.
diode
()
40
<<
" "
<< chargedDiode.
totalCharge
();
41
return
out
;
42
}
43
SiChargedDiode
Definition:
SiChargedDiode.h:30
python.AthDsoLogger.out
out
Definition:
AthDsoLogger.py:71
SiCharge
Definition:
SiCharge.h:25
SiChargedDiode.h
SiChargedDiode::add
void add(const SiCharge &charge)
Definition:
SiChargedDiode.cxx:29
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
SiChargedDiode::totalCharge
const SiTotalCharge & totalCharge() const
Definition:
SiChargedDiode.h:107
SiTotalCharge::add
void add(const SiCharge &charge)
Definition:
SiTotalCharge.cxx:62
SiChargedDiode::SiChargedDiode
SiChargedDiode()
charge
double charge(const T &p)
Definition:
AtlasPID.h:931
InDetDD::SiCellId
Definition:
SiCellId.h:29
operator<<
std::ostream & operator<<(std::ostream &out, const SiChargedDiode &chargedDiode)
Definition:
SiChargedDiode.cxx:37
InDetDD::SiReadoutCellId
Definition:
SiReadoutCellId.h:42
Generated on Sun Mar 30 2025 21:18:35 for ATLAS Offline Software by
1.8.18