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
MuonSpectrometer
MuonDetDescr
MuonAGDDBase
src
sTGCHandler.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 "
MuonAGDDBase/sTGCHandler.h
"
6
#include "
MuonAGDDBase/AGDDsTGC.h
"
7
#include "
AGDDControl/AGDDController.h
"
8
#include <iostream>
9
10
11
sTGCHandler::sTGCHandler
(
const
std::string&
s
,
12
AGDDController
&
c
)
13
:
XMLHandler
(
s
,
c
)
14
{
15
}
16
17
void
sTGCHandler::ElementHandle
(
AGDDController
&
c
,
18
xercesc::DOMNode *
t
)
19
{
20
21
// std::cout<<" this is sTGCHandler::Handle"<<std::endl;
22
23
bool
ret=
true
;
24
std::string
name
=
getAttributeAsString
(
c
,
t
,
"type"
,ret);
25
std::string sType=
getAttributeAsString
(
c
,
t
,
"subType"
,ret);
26
std::vector<double> vvv;
27
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"sWidth"
,ret));
28
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"lWidth"
,ret));
29
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"Length"
,ret));
30
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"Tck"
,ret));
31
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"yCutout"
,0.));
32
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"stripPitch"
,0.));
33
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"wirePitch"
,0.));
34
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"stripWidth"
,0.));
35
vvv.push_back(
getAttributeAsDouble
(
c
,
t
,
"yCutoutCathode"
,0.));
36
37
//double ttt=getAttributeAsDouble(c, t, "yCutout",0.);
38
//std::cout<<"+++++++++++++++++++++++> yCutout "<<ttt<<std::endl;
39
40
std::string technology=
getAttributeAsString
(
c
,
t
,
"tech"
,ret);
41
42
AGDDsTGC
*
b
=
new
AGDDsTGC
(
name
,
43
c
.GetDetectorStore(),
44
c
.GetVolumeStore(),
45
c
.GetSectionStore());
46
m_sTGCCurrent
=
b
;
47
b
->SetXYZ(vvv);
48
b
->subType(sType);
49
b
->tech=technology;
50
51
double
xf=
getAttributeAsDouble
(
c
,
t
,
"xFrame"
,0.);
52
b
->xFrame(xf);
53
double
ysf=
getAttributeAsDouble
(
c
,
t
,
"ysFrame"
,0.);
54
b
->ysFrame(ysf);
55
double
ylf=
getAttributeAsDouble
(
c
,
t
,
"ylFrame"
,0.);
56
b
->ylFrame(ylf);
57
58
}
59
60
sTGCDetectorDescription
*
sTGCHandler::GetsTGCCurrent
()
61
{
62
return
m_sTGCCurrent
;
63
}
64
AGDDController.h
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
AGDDsTGC.h
AGDDsTGC
Definition:
AGDDsTGC.h:19
sTGCHandler.h
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
sTGCDetectorDescription
Definition:
sTGCDetectorDescription.h:51
AGDDController
Definition:
AGDDController.h:30
sTGCHandler::ElementHandle
virtual void ElementHandle(AGDDController &c, xercesc::DOMNode *t) override
Definition:
sTGCHandler.cxx:17
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:228
plotBeamSpotMon.b
b
Definition:
plotBeamSpotMon.py:77
XMLHandler
Definition:
XMLHandler.h:15
sTGCHandler::sTGCHandler
sTGCHandler(const std::string &, AGDDController &c)
Definition:
sTGCHandler.cxx:11
sTGCHandler::GetsTGCCurrent
sTGCDetectorDescription * GetsTGCCurrent()
Definition:
sTGCHandler.cxx:60
sTGCHandler::m_sTGCCurrent
sTGCDetectorDescription * m_sTGCCurrent
Definition:
sTGCHandler.h:22
python.compressB64.c
def c
Definition:
compressB64.py:93
Generated on Fri Mar 14 2025 21:19:02 for ATLAS Offline Software by
1.8.18