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
DetectorDescription
AGDD
AGDDHandlers
src
UbeamHandler.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AGDDHandlers/UbeamHandler.h
"
6
#include "
AGDDModel/AGDDUbeam.h
"
7
#include "
AGDDControl/AGDDController.h
"
8
#include <iostream>
9
10
11
UbeamHandler::UbeamHandler
(
const
std::string&
s
,
12
AGDDController
&
c
)
13
:
XMLHandler
(
s
,
c
)
14
{
15
// std::cout<<"Creating handler for Ubeam"<<std::endl;
16
}
17
18
void
UbeamHandler::ElementHandle
(
AGDDController
&
c
,
19
xercesc::DOMNode *
t
)
20
{
21
bool
res
;
22
std::string
name
=
getAttributeAsString
(
c
,
t
,
"name"
,
res
);
23
std::string material=
getAttributeAsString
(
c
,
t
,
"material"
,
res
);
24
25
double
l
=
getAttributeAsDouble
(
c
,
t
,
"length"
,
res
);
26
double
w
=
getAttributeAsDouble
(
c
,
t
,
"width"
,
res
);
27
double
sw=
getAttributeAsDouble
(
c
,
t
,
"small_width"
,
res
);
28
double
h
=
getAttributeAsDouble
(
c
,
t
,
"heigth"
,
res
);
29
double
sh
=
getAttributeAsDouble
(
c
,
t
,
"small_heigth"
,
res
);
30
31
AGDDUbeam
*
b
=
new
AGDDUbeam
(
name
,
c
.GetVolumeStore(),
c
.GetSectionStore());
32
b
->SetMaterial(material);
33
b
->SetLength(
l
);
34
b
->SetWidth(
w
);
35
b
->SetSmallWidth(sw);
36
b
->SetHeigth(
h
);
37
b
->SetSmallHeigth(
sh
);
38
39
std::string
col
=
getAttributeAsString
(
c
,
t
,
"color"
,
res
);
40
if
(!
col
.empty())
41
b
->SetColor(
col
);
42
}
UbeamHandler::UbeamHandler
UbeamHandler(const std::string &, AGDDController &c)
Definition:
UbeamHandler.cxx:11
AGDDController.h
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
UbeamHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition:
UbeamHandler.cxx:18
UploadAMITag.l
list l
Definition:
UploadAMITag.larcaf.py:158
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
XMLHandler::getAttributeAsDouble
double getAttributeAsDouble(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition:
XMLHandler.cxx:78
AGDDUbeam.h
AGDDController
Definition:
AGDDController.h:30
UbeamHandler.h
RCU::Shell
Definition:
ShellExec.cxx:28
res
std::pair< std::vector< unsigned int >, bool > res
Definition:
JetGroupProductTest.cxx:11
XMLHandler::getAttributeAsString
std::string getAttributeAsString(AGDDController &c, const xercesc::DOMNode *t, const std::string &) const
Definition:
XMLHandler.cxx:69
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
plotBeamSpotMon.b
b
Definition:
plotBeamSpotMon.py:77
XMLHandler
Definition:
XMLHandler.h:15
query_example.col
col
Definition:
query_example.py:7
h
python.IoTestsLib.w
def w
Definition:
IoTestsLib.py:200
python.compressB64.c
def c
Definition:
compressB64.py:93
AGDDUbeam
Definition:
AGDDUbeam.h:13
Generated on Mon Mar 31 2025 21:22:43 for ATLAS Offline Software by
1.8.18