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
InDetSimUtils
TRT_PAI_Process
src
TRT_PAI_gasComponent.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TRT_PAI_element.h
"
6
#include "
TRT_PAI_gasComponent.h
"
7
8
//___________________________________________________________________________
9
10
void
TRT_PAI_gasComponent::addElement
(
TRT_PAI_element
*
pe
,
11
unsigned
int
n
) {
12
m_pelements
.push_back(
pe
);
13
m_elementMultiplicity
.push_back(
n
);
14
return
;
15
}
16
17
//___________________________________________________________________________
18
19
double
TRT_PAI_gasComponent::getDensity
(
double
tempK) {
20
double
mass
= 0.;
21
int
n
=
m_pelements
.size();
22
for
(
int
i
=0;
i
<
n
; ++
i
) {
23
mass
+=
m_elementMultiplicity
[
i
] *
m_pelements
[
i
]->getAtomicA();
24
}
25
double
density =
mass
/22400.;
26
if
( tempK>0. ) density = density*293./tempK;
27
return
density;
28
}
29
30
//___________________________________________________________________________
Base_Fragment.mass
mass
Definition:
Sherpa_i/share/common/Base_Fragment.py:59
TRT_PAI_gasComponent::addElement
void addElement(TRT_PAI_element *pe, unsigned int n)
Add element to gas component.
Definition:
TRT_PAI_gasComponent.cxx:10
TRT_PAI_gasComponent::m_pelements
std::vector< TRT_PAI_element * > m_pelements
Definition:
TRT_PAI_gasComponent.h:68
TRT_PAI_gasComponent::m_elementMultiplicity
std::vector< unsigned int > m_elementMultiplicity
Definition:
TRT_PAI_gasComponent.h:69
LArG4AODNtuplePlotter.pe
pe
Definition:
LArG4AODNtuplePlotter.py:116
lumiFormat.i
int i
Definition:
lumiFormat.py:85
beamspotman.n
n
Definition:
beamspotman.py:731
TRT_PAI_gasComponent.h
TRT_PAI_element.h
TRT_PAI_gasComponent::getDensity
double getDensity(double tempK=293.)
Get density of gas component (molecule) at atmospheric preassure.
Definition:
TRT_PAI_gasComponent.cxx:19
TRT_PAI_element
Chemical element.
Definition:
TRT_PAI_element.h:14
Generated on Thu Apr 10 2025 21:21:33 for ATLAS Offline Software by
1.8.18