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
MuonPhaseII
MuonDetDescr
MuonReadoutGeometryR4
src
RadialStripDesign.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include <
MuonReadoutGeometryR4/RadialStripDesign.h
>
5
namespace
MuonGMR4
{
6
bool
RadialStripDesign::operator<
(
const
RadialStripDesign
&
other
)
const
{
7
if
(
other
.m_strips.size() !=
m_strips
.size()) {
8
return
m_strips
.size() <
other
.m_strips.size();
9
}
10
for
(
unsigned
int
strip = 0; strip <
m_strips
.size(); ++strip) {
11
if
(
m_strips
[strip].distOnBottom !=
other
.m_strips[strip].distOnBottom) {
12
return
m_strips
[strip].distOnBottom <
other
.m_strips[strip].distOnBottom;
13
}
14
if
(
m_strips
[strip].distOnTop !=
other
.m_strips[strip].distOnTop) {
15
return
m_strips
[strip].distOnTop <
other
.m_strips[strip].distOnTop;
16
}
17
}
18
return
static_cast<
const
StripDesign
&
>
(*this) <
other
;
19
}
20
void
RadialStripDesign::addStrip
(
const
double
posOnBottom,
21
const
double
posOnTop) {
22
m_strips
.emplace_back(0.5*
lenBottomEdge
() + posOnBottom, 0.5*
lenTopEdge
()+ posOnTop, *
this
);
25
if
(
m_strips
.size() == 2) {
26
m_reversedStripOrder
=
m_strips
[1].distOnBottom <
m_strips
[0].distOnBottom;
27
}
28
}
29
}
MuonGMR4::StripDesign
Definition:
StripDesign.h:30
MuonGMR4::StripDesign::lenBottomEdge
double lenBottomEdge() const
Length of the edge from bottom left -> bottom right.
RadialStripDesign.h
MuonGMR4::RadialStripDesign::addStrip
void addStrip(const double posOnBottom, const double posOnTop)
: Defines a new radial strip.
Definition:
RadialStripDesign.cxx:20
MuonGMR4::RadialStripDesign::m_reversedStripOrder
bool m_reversedStripOrder
Definition:
RadialStripDesign.h:100
MuonGMR4::RadialStripDesign::operator<
bool operator<(const RadialStripDesign &other) const
set sorting operator
Definition:
RadialStripDesign.cxx:6
MuonGMR4::RadialStripDesign::m_strips
stripEdgeVec m_strips
Definition:
RadialStripDesign.h:98
MuonGMR4
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...
Definition:
MdtCalibInput.h:19
InDetDD::other
@ other
Definition:
InDetDD_Defs.h:16
MuonGMR4::RadialStripDesign
Definition:
RadialStripDesign.h:23
MuonGMR4::StripDesign::lenTopEdge
double lenTopEdge() const
Length of the the edge from top left -> top right.
Generated on Wed Mar 26 2025 21:17:15 for ATLAS Offline Software by
1.8.18