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
MuonCalib
MuonCalibExtraTree
MuonCalibExtraUtils
src
MuonCalibSimpleGeometry.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonCalibExtraUtils/MuonCalibSimpleGeometry.h
"
6
7
#include <iostream>
8
9
namespace
{
10
constexpr
double
z_match_tol = 0.00001;
11
}
12
namespace
MuonCalib
{
13
14
bool
MuonCalibDisk::inBounds
(
const
Amg::Vector3D
&
pos
,
double
tolerance
)
const
{
15
// check whether at same z
16
if
(std::abs(
pos
.z() -
zPos
) > z_match_tol)
return
false
;
17
18
// check radius distance
19
if
(
pos
.perp() -
radius
>
tolerance
)
return
false
;
20
21
return
true
;
22
}
23
24
bool
MuonCalibCylinder::inBounds
(
const
Amg::Vector3D
&
pos
,
double
tolerance
)
const
{
25
// check radius distance
26
if
(std::abs(
pos
.perp() -
radius
) > z_match_tol)
return
false
;
27
28
// check whether at same z
29
if
(std::abs(
pos
.z()) -
lenght
>
tolerance
)
return
false
;
30
31
return
true
;
32
}
33
34
}
// namespace MuonCalib
MuonCalib::MuonCalibCylinder::radius
double radius
Definition:
MuonCalibSimpleGeometry.h:30
MuonCalib::MuonCalibCylinder::lenght
double lenght
Definition:
MuonCalibSimpleGeometry.h:31
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition:
CscCalcPed.cxx:22
MuonCalib::MuonCalibCylinder::inBounds
bool inBounds(const Amg::Vector3D &pos, double tolerance=0.) const
Definition:
MuonCalibSimpleGeometry.cxx:24
tolerance
Definition:
suep_shower.h:17
MuonCalib::MuonCalibDisk::radius
double radius
Definition:
MuonCalibSimpleGeometry.h:23
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition:
GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition:
LumiBlobConversion.py:18
MuonCalib::MuonCalibDisk::inBounds
bool inBounds(const Amg::Vector3D &pos, double tolerance=0.) const
Definition:
MuonCalibSimpleGeometry.cxx:14
MuonCalib::MuonCalibDisk::zPos
double zPos
Definition:
MuonCalibSimpleGeometry.h:22
MuonCalibSimpleGeometry.h
Generated on Thu Apr 24 2025 21:15:22 for ATLAS Offline Software by
1.8.18