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
MuonAlignment
MuonAlignmentData
MuonAlignmentData
BLinePar.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONALIGNMENTDATA_BLINEPAR_H
6
#define MUONALIGNMENTDATA_BLINEPAR_H
7
8
#include "
MuonAlignmentData/MuonAlignmentPar.h
"
9
#include <array>
10
#include <climits>
11
#include <iostream>
12
#include <algorithm>
13
14
class
BLinePar
:
public
MuonAlignmentPar
{
15
public
:
16
// Default constructor
17
BLinePar
() =
default
;
18
// destructor
19
virtual
~BLinePar
()
override
=
default
;
20
21
enum class
Parameter
{
22
bz
=0,
// tube bow in plane,
23
bp
,
// tube bow out of plane,
24
bn
,
// tube bow out of plane
25
sp
,
// cross plate sag out of plane
26
sn
,
// cross plate sag out of plane
27
tw
,
// twist
28
pg
,
// parallelogram
29
tr
,
// trapezoid
30
eg
,
// global expansion
31
ep
,
// local expansion
32
en
,
// local expansion
33
numPars
34
};
35
static
constexpr
double
expansionScale
= 1.e-3;
37
void
setParameters
(
float
bz,
float
bp,
float
bn,
float
sp,
float
sn,
float
tw,
float
pg,
float
tr,
float
eg,
float
ep,
float
en);
38
40
float
getParameter
(
const
Parameter
p
)
const
{
41
return
m_payload
[
static_cast<
unsigned
int
>
(
p
)];
42
}
44
operator
bool
()
const
{
45
return
std::find_if(
m_payload
.begin(),
46
m_payload
.end(),[](
const
float
par
){
47
return std::abs(par) > std::numeric_limits<float>::epsilon();
48
}) !=
m_payload
.end();
49
}
50
51
private
:
52
std::array<float, static_cast<unsigned int>(
Parameter::numPars
)>
m_payload
{};
53
};
54
55
std::ostream&
operator<<
(std::ostream& ostr,
const
BLinePar
&
par
);
56
57
58
#endif // MUONALIGNMENTDATA_BLINEPAR_H
BLinePar::Parameter::sp
@ sp
BLinePar::Parameter::tr
@ tr
BLinePar::Parameter::bn
@ bn
BLinePar::m_payload
std::array< float, static_cast< unsigned int >Parameter::numPars)> m_payload
Definition:
BLinePar.h:52
BLinePar::Parameter::eg
@ eg
BLinePar::getParameter
float getParameter(const Parameter p) const
Returns a given parameter.
Definition:
BLinePar.h:40
BLinePar::Parameter::ep
@ ep
BLinePar::Parameter::tw
@ tw
python.utils.AtlRunQueryDQUtils.p
p
Definition:
AtlRunQueryDQUtils.py:210
BLinePar::expansionScale
static constexpr double expansionScale
Definition:
BLinePar.h:35
BLinePar::setParameters
void setParameters(float bz, float bp, float bn, float sp, float sn, float tw, float pg, float tr, float eg, float ep, float en)
Cast the parameter to an unsigned int
Definition:
BLinePar.cxx:26
BLinePar::Parameter::numPars
@ numPars
MuonAlignmentPar.h
BLinePar::Parameter::bz
@ bz
BLinePar
Definition:
BLinePar.h:14
BLinePar::Parameter::bp
@ bp
MuonAlignmentPar
Basic class to map the MuonAlignment parameters to the different subdetectors inside the muon system.
Definition:
MuonAlignmentPar.h:15
createCoolChannelIdFile.par
par
Definition:
createCoolChannelIdFile.py:29
BLinePar::~BLinePar
virtual ~BLinePar() override=default
BLinePar::BLinePar
BLinePar()=default
BLinePar::Parameter
Parameter
Definition:
BLinePar.h:21
BLinePar::Parameter::en
@ en
operator<<
std::ostream & operator<<(std::ostream &ostr, const BLinePar &par)
Definition:
BLinePar.cxx:6
BLinePar::Parameter::pg
@ pg
BLinePar::Parameter::sn
@ sn
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition:
TrigDecision_v1.cxx:60
Generated on Thu Apr 17 2025 21:07:48 for ATLAS Offline Software by
1.8.18