Loading [MathJax]/jax/input/TeX/config.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
BoltHandler.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/BoltHandler.h
"
6
#include "
AGDDModel/AGDDBolt.h
"
7
#include "
AGDDControl/AGDDController.h
"
8
#include <iostream>
9
10
BoltHandler::BoltHandler
(
const
std::string&
s
,
11
AGDDController
&
c
)
12
:
XMLHandler
(
s
,
c
)
13
{
14
}
15
16
void
BoltHandler::ElementHandle
(
AGDDController
&
c
,
17
xercesc::DOMNode *
t
)
18
{
19
bool
res
;
20
std::string
name
=
getAttributeAsString
(
c
,
t
,
"name"
,
res
);
21
std::string material=
getAttributeAsString
(
c
,
t
,
"material"
,
res
);
22
double
l
=
getAttributeAsDouble
(
c
,
t
,
"length"
,
res
);
23
double
d
=
getAttributeAsDouble
(
c
,
t
,
"diameter"
,
res
);
24
double
hd=
getAttributeAsDouble
(
c
,
t
,
"head_diameter"
,
res
);
25
double
hl=
getAttributeAsDouble
(
c
,
t
,
"head_length"
,
res
);
26
27
AGDDBolt
*
b
=
new
AGDDBolt
(
name
,
c
.GetVolumeStore(),
c
.GetSectionStore());
28
b
->SetMaterial(material);
29
b
->SetLength(
l
);
30
b
->SetHeadLength(hl);
31
b
->SetDiameter(
d
);
32
b
->SetHeadDiameter(hd);
33
34
std::string
col
=
getAttributeAsString
(
c
,
t
,
"color"
,
res
);
35
if
(
res
)
36
b
->SetColor(
col
);
37
}
BoltHandler.h
AGDDController.h
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
hist_file_dump.d
d
Definition:
hist_file_dump.py:143
UploadAMITag.l
list l
Definition:
UploadAMITag.larcaf.py:158
AGDDBolt
Definition:
AGDDBolt.h:13
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
AGDDController
Definition:
AGDDController.h:30
BoltHandler::BoltHandler
BoltHandler(const std::string &, AGDDController &c)
Definition:
BoltHandler.cxx:10
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
BoltHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition:
BoltHandler.cxx:16
AGDDBolt.h
python.compressB64.c
def c
Definition:
compressB64.py:93
Generated on Mon Mar 31 2025 21:07:44 for ATLAS Offline Software by
1.8.18