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
InDetDetDescr
TRT_ReadoutGeometry
src
TRT_BarrelDescriptor.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
TRT_ReadoutGeometry/TRT_BarrelDescriptor.h
"
6
7
#include "
TrkSurfaces/CylinderBounds.h
"
8
9
#include "CLHEP/Units/SystemOfUnits.h"
10
11
namespace
InDetDD
{
12
13
TRT_BarrelDescriptor::TRT_BarrelDescriptor
()
14
: m_length(0),
15
m_zDead(0),
16
m_zPos(0),
17
m_innerTubeRadius(2*
CLHEP
::
mm
),
// FIXME: Hardwired for now!!
18
m_f(nullptr),
19
m_o(0),
20
m_bounds()
21
{
22
}
23
24
25
void
TRT_BarrelDescriptor::addStraw
(
double
xPos,
double
yPos) {
26
27
m_x
.push_back(xPos);
28
m_y
.push_back(yPos);
29
30
}
31
32
33
void
TRT_BarrelDescriptor::setStrawTransformField
(
const
GeoXF::Function *xf,
size_t
offsetInto) {
34
m_f
=xf;
35
m_o
=offsetInto;
36
}
37
38
const
Trk::SurfaceBounds
&
39
TRT_BarrelDescriptor::strawBounds
()
const
40
{
41
if
(not
m_bounds
)
m_bounds
.set(std::make_unique<Trk::CylinderBounds>(
m_innerTubeRadius
, 0.5*
m_length
));
42
return
*
m_bounds
;
43
}
44
45
46
}
InDetDD::TRT_BarrelDescriptor::m_length
double m_length
Definition:
TRT_BarrelDescriptor.h:105
Trk::SurfaceBounds
Definition:
SurfaceBounds.h:47
InDetDD::TRT_BarrelDescriptor::m_x
std::vector< double > m_x
Definition:
TRT_BarrelDescriptor.h:103
CLHEP
STD'S.
Definition:
IAtRndmGenSvc.h:19
InDetDD::TRT_BarrelDescriptor::m_bounds
CxxUtils::CachedUniquePtr< Trk::CylinderBounds > m_bounds
Definition:
TRT_BarrelDescriptor.h:112
TRT_BarrelDescriptor.h
InDetDD::TRT_BarrelDescriptor::m_o
size_t m_o
Definition:
TRT_BarrelDescriptor.h:110
InDetDD::TRT_BarrelDescriptor::strawBounds
const Trk::SurfaceBounds & strawBounds() const
Get Bounds.
Definition:
TRT_BarrelDescriptor.cxx:39
python.SystemOfUnits.mm
int mm
Definition:
SystemOfUnits.py:83
CylinderBounds.h
InDetDD::TRT_BarrelDescriptor::setStrawTransformField
void setStrawTransformField(const GeoXF::Function *xf, size_t offsetInto)
Sets the transform field for straws and offset.
Definition:
TRT_BarrelDescriptor.cxx:33
InDetDD::TRT_BarrelDescriptor::m_y
std::vector< double > m_y
Definition:
TRT_BarrelDescriptor.h:104
InDetDD
Message Stream Member.
Definition:
FakeTrackBuilder.h:8
InDetDD::TRT_BarrelDescriptor::m_innerTubeRadius
double m_innerTubeRadius
Definition:
TRT_BarrelDescriptor.h:108
InDetDD::TRT_BarrelDescriptor::m_f
const GeoXF::Function * m_f
Definition:
TRT_BarrelDescriptor.h:109
InDetDD::TRT_BarrelDescriptor::addStraw
void addStraw(double xPos, double yPos)
Add a new straw at position x, y:
Definition:
TRT_BarrelDescriptor.cxx:25
InDetDD::TRT_BarrelDescriptor::TRT_BarrelDescriptor
TRT_BarrelDescriptor()
Constructor:
Definition:
TRT_BarrelDescriptor.cxx:13
Generated on Wed Mar 26 2025 21:22:00 for ATLAS Offline Software by
1.8.18