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
TestBeam
TBDetDescr
TBDetDescr
TBElement.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
//==============================================
6
// File TBElement.h
7
// define the position of one detector
8
//=============================================
9
#ifndef TBElement_H
10
#define TBElement_H
11
12
//#include <CLHEP/Geometry/Vector3D.h>
13
//#include <CLHEP/Vector/Rotation.h>
14
#include "
GeoPrimitives/GeoPrimitives.h
"
15
#include "
TBDetDescr/TBElementID.h
"
16
#include <string>
17
18
19
class
TBElement
20
{
21
friend
class
TBDetDescrManager
;
22
23
public
:
24
25
TBElement
();
26
TBElement
(
TBElementID::TBElementID
id
,
const
std::string&
name
,
27
const
Amg::Vector3D
&
position
,
28
const
Amg::RotationMatrix3D
&
rotation
);
29
30
virtual
~TBElement
() {}
31
32
// accessor
33
TBElementID::TBElementID
id
()
const
{
return
m_id
; }
34
const
std::string&
name
()
const
{
return
m_name
; }
35
Amg::Vector3D
position
()
const
{
return
m_position
; }
36
Amg::RotationMatrix3D
rotation
()
const
{
return
m_rotation
; }
37
38
// Convertion operator to a std::string
39
// Can be used in a cast operation : (std::string) TBElement
40
virtual
operator
std::string()
const
;
41
42
private
:
43
44
TBElementID::TBElementID
m_id
;
45
std::string
m_name
;
46
Amg::Vector3D
m_position
;
47
Amg::RotationMatrix3D
m_rotation
;
48
49
};
50
51
#endif
TBElement::name
const std::string & name() const
Definition:
TBElement.h:34
TBElementID::TBElementID
TBElementID
Definition:
TBElementID.h:11
TBElement::m_name
std::string m_name
Definition:
TBElement.h:45
TBElement::TBElement
TBElement()
Definition:
TBElement.cxx:18
GeoPrimitives.h
TBElement::m_rotation
Amg::RotationMatrix3D m_rotation
Definition:
TBElement.h:47
TBElement::~TBElement
virtual ~TBElement()
Definition:
TBElement.h:30
TBElement::position
Amg::Vector3D position() const
Definition:
TBElement.h:35
TBElement::rotation
Amg::RotationMatrix3D rotation() const
Definition:
TBElement.h:36
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition:
GeoPrimitives.h:47
TBDetDescrManager
Definition:
TBDetDescrManager.h:21
Amg::RotationMatrix3D
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Definition:
GeoPrimitives.h:49
TBElement
Definition:
TBElement.h:20
TBElementID.h
TBElement::m_id
TBElementID::TBElementID m_id
Definition:
TBElement.h:44
TBElement::id
TBElementID::TBElementID id() const
Definition:
TBElement.h:33
TBElement::m_position
Amg::Vector3D m_position
Definition:
TBElement.h:46
Generated on Mon Apr 7 2025 21:19:33 for ATLAS Offline Software by
1.8.18