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
TRT_ReadoutGeometry
TRT_DetElementLink_xk.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Header file for class TRT_DetElementLink_xk
8
// (c) ATLAS Detector software
10
// Class for detector elements links
12
// Version 1.0 3/10/2004 I.Gavrilenko
14
15
#ifndef TRT_DetElementLink_xk_H
16
#define TRT_DetElementLink_xk_H
17
18
#include <array>
19
#include <vector>
20
21
#include "
TRT_ReadoutGeometry/TRT_BaseElement.h
"
22
23
namespace
InDet
{
24
25
class
TRT_DetElementLink_xk
{
27
// Public methods:
29
30
public
:
31
class
Used_t
{
32
public
:
33
Used_t
() :
m_used
(false) {}
34
35
bool
used
()
const
{
return
m_used
; }
36
37
void
setUsed
() {
m_used
=
true
; }
38
39
private
:
40
bool
m_used
;
41
};
42
using
TRT_DetElemUsedMap
= std::array<std::vector<std::vector<Used_t> >, 3>;
43
44
TRT_DetElementLink_xk
();
45
TRT_DetElementLink_xk
(
const
InDetDD::TRT_BaseElement
*&,
const
double
*);
46
47
TRT_DetElementLink_xk
(
const
TRT_DetElementLink_xk
&) =
default
;
48
TRT_DetElementLink_xk
(
TRT_DetElementLink_xk
&&) =
default
;
49
50
TRT_DetElementLink_xk
&
operator=
(
const
TRT_DetElementLink_xk
&) =
default
;
51
TRT_DetElementLink_xk
&
operator=
(
TRT_DetElementLink_xk
&&) =
default
;
52
54
// Main methods
56
57
const
InDetDD::TRT_BaseElement
*
detElement
()
const
{
return
m_detelement
; }
58
const
float
&
phi
()
const
{
return
m_phi
; }
59
const
float
&
sin
()
const
{
return
m_sin
; }
60
const
float
&
cos
()
const
{
return
m_cos
; }
61
const
float
&
centerf
()
const
{
return
m_centerf
; }
62
63
protected
:
65
// Protected Data
67
68
const
InDetDD::TRT_BaseElement
*
m_detelement
;
69
float
m_phi
;
70
float
m_sin
;
71
float
m_cos
;
72
float
m_centerf
;
73
75
// Methods
77
};
78
80
// Inline methods
82
83
inline
TRT_DetElementLink_xk::TRT_DetElementLink_xk
() {
84
m_detelement
= 0;
85
m_phi
= 0.;
86
m_sin
= 0.;
87
m_cos
= 0.;
88
m_centerf
= 0.;
89
}
90
91
inline
InDet::TRT_DetElementLink_xk::TRT_DetElementLink_xk
(
92
const
InDetDD::TRT_BaseElement
*&
el
,
const
double
*
P
) {
93
m_detelement
=
el
;
// det elements
94
m_phi
=
float
(
P
[2]);
// azimuthal angle
95
m_sin
=
float
(
P
[5]);
// sin(phi)
96
m_cos
=
float
(
P
[6]);
// cos(phi)
97
m_centerf
=
float
(
P
[18]);
//
98
}
99
100
}
// namespace InDet
101
102
#endif // TRT_DetElementLink_xk
103
InDet::TRT_DetElementLink_xk::sin
const float & sin() const
Definition:
TRT_DetElementLink_xk.h:59
InDet::TRT_DetElementLink_xk::m_detelement
const InDetDD::TRT_BaseElement * m_detelement
Definition:
TRT_DetElementLink_xk.h:68
InDet::TRT_DetElementLink_xk::TRT_DetElementLink_xk
TRT_DetElementLink_xk(const TRT_DetElementLink_xk &)=default
InDet::TRT_DetElementLink_xk::Used_t::setUsed
void setUsed()
Definition:
TRT_DetElementLink_xk.h:37
InDet::TRT_DetElementLink_xk::cos
const float & cos() const
Definition:
TRT_DetElementLink_xk.h:60
DMTest::P
P_v1 P
Definition:
P.h:23
InDet
Primary Vertex Finder.
Definition:
VP1ErrorUtils.h:36
InDet::TRT_DetElementLink_xk::centerf
const float & centerf() const
Definition:
TRT_DetElementLink_xk.h:61
InDet::TRT_DetElementLink_xk::phi
const float & phi() const
Definition:
TRT_DetElementLink_xk.h:58
InDet::TRT_DetElementLink_xk::Used_t::Used_t
Used_t()
Definition:
TRT_DetElementLink_xk.h:33
InDet::TRT_DetElementLink_xk::TRT_DetElementLink_xk
TRT_DetElementLink_xk(TRT_DetElementLink_xk &&)=default
InDet::TRT_DetElementLink_xk
Definition:
TRT_DetElementLink_xk.h:25
InDet::TRT_DetElementLink_xk::m_cos
float m_cos
Definition:
TRT_DetElementLink_xk.h:71
InDet::TRT_DetElementLink_xk::TRT_DetElementLink_xk
TRT_DetElementLink_xk()
Definition:
TRT_DetElementLink_xk.h:83
InDet::TRT_DetElementLink_xk::Used_t::used
bool used() const
Definition:
TRT_DetElementLink_xk.h:35
InDet::TRT_DetElementLink_xk::m_centerf
float m_centerf
Definition:
TRT_DetElementLink_xk.h:72
plotIsoValidation.el
el
Definition:
plotIsoValidation.py:197
InDet::TRT_DetElementLink_xk::m_phi
float m_phi
Definition:
TRT_DetElementLink_xk.h:69
TRT_BaseElement.h
InDet::TRT_DetElementLink_xk::operator=
TRT_DetElementLink_xk & operator=(TRT_DetElementLink_xk &&)=default
InDet::TRT_DetElementLink_xk::Used_t::m_used
bool m_used
Definition:
TRT_DetElementLink_xk.h:40
InDet::TRT_DetElementLink_xk::m_sin
float m_sin
Definition:
TRT_DetElementLink_xk.h:70
InDet::TRT_DetElementLink_xk::detElement
const InDetDD::TRT_BaseElement * detElement() const
Definition:
TRT_DetElementLink_xk.h:57
InDet::TRT_DetElementLink_xk::TRT_DetElemUsedMap
std::array< std::vector< std::vector< Used_t > >, 3 > TRT_DetElemUsedMap
Definition:
TRT_DetElementLink_xk.h:42
InDet::TRT_DetElementLink_xk::operator=
TRT_DetElementLink_xk & operator=(const TRT_DetElementLink_xk &)=default
InDet::TRT_DetElementLink_xk::Used_t
Definition:
TRT_DetElementLink_xk.h:31
InDetDD::TRT_BaseElement
Definition:
TRT_BaseElement.h:52
python.LArMinBiasAlgConfig.float
float
Definition:
LArMinBiasAlgConfig.py:65
Generated on Wed Apr 23 2025 21:22:28 for ATLAS Offline Software by
1.8.18