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
MuonConditions
MuonCondCabling
RPC_CondCabling
src
RPCPadParameters.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
/***************************************************************************
6
RPCPadParameters
7
-----------------------------------------
8
***************************************************************************/
9
10
#include "
RPC_CondCabling/RPCPadParameters.h
"
11
12
#include <iostream>
13
14
RPCPadParameters::RPCPadParameters
() {
15
m_eta_and_phi
=
true
;
16
m_feet_on
=
false
;
17
m_cma_mask
= 0x0;
// no mask
18
m_feet_thresholds
= 0x88;
19
}
20
21
RPCPadParameters::RPCPadParameters
(
const
RPCPadParameters
&
parameters
) {
22
m_eta_and_phi
=
parameters
.eta_and_phi();
23
m_feet_on
=
parameters
.feet_on();
24
m_feet_thresholds
=
parameters
.feet_thresholds();
25
m_cma_mask
=
parameters
.cma_mask();
26
}
27
28
RPCPadParameters::~RPCPadParameters
() {}
29
30
RPCPadParameters
&
RPCPadParameters::operator=
(
const
RPCPadParameters
&
parameters
) {
31
if
(
this
!= &
parameters
) {
32
m_eta_and_phi
=
parameters
.eta_and_phi();
33
m_feet_on
=
parameters
.feet_on();
34
m_feet_thresholds
=
parameters
.feet_thresholds();
35
m_cma_mask
=
parameters
.cma_mask();
36
}
37
return
*
this
;
38
}
39
40
unsigned
short
int
RPCPadParameters::feet_threshold
(
unsigned
short
int
it
)
const
{
41
if
(
it
>= 3)
return
0;
42
return
(0x7 & (
m_feet_thresholds
>> (3 *
it
)));
43
}
44
45
bool
RPCPadParameters::set_feet_threshold
(
unsigned
short
int
it
,
unsigned
short
int
th
) {
46
static
const
short
int
mask
[3] = {0x1F8, 0x1c7, 0x3F};
47
48
if
(
it
>= 3 ||
th
>= 6)
return
false
;
49
50
m_feet_thresholds
= (
m_feet_thresholds
&
mask
[
it
]) + (
th
<< (3 *
it
));
51
return
true
;
52
}
53
54
void
RPCPadParameters::Print
(std::ostream&
stream
)
const
{
55
stream
<<
"Pad Parameters : "
56
<<
" eta_and_phi = "
<<
m_eta_and_phi
<<
" cma_mask = "
<<
m_cma_mask
<<
" feet_on = "
<<
m_feet_on
;
57
if
(
m_feet_on
)
stream
<<
" feet_thresholds = "
<<
feet_threshold
(0) <<
" "
<<
feet_threshold
(1) <<
" "
<<
feet_threshold
(2);
58
stream
<< std::endl;
59
}
RPCPadParameters::RPCPadParameters
RPCPadParameters()
Definition:
RPCPadParameters.cxx:14
skel.it
it
Definition:
skel.GENtoEVGEN.py:401
RPCPadParameters::m_cma_mask
unsigned short int m_cma_mask
Definition:
RPCPadParameters.h:24
RPCPadParameters
Definition:
RPCPadParameters.h:16
RPCPadParameters::feet_threshold
unsigned short int feet_threshold(unsigned short int it) const
Definition:
RPCPadParameters.cxx:40
RPCPadParameters::~RPCPadParameters
~RPCPadParameters()
Definition:
RPCPadParameters.cxx:28
AthenaPoolTestWrite.stream
string stream
Definition:
AthenaPoolTestWrite.py:12
python.utils.AtlRunQueryLookup.mask
string mask
Definition:
AtlRunQueryLookup.py:460
python.TriggerHandler.th
th
Definition:
TriggerHandler.py:296
RPCPadParameters::m_feet_on
bool m_feet_on
Definition:
RPCPadParameters.h:21
RPCPadParameters::operator=
RPCPadParameters & operator=(const RPCPadParameters &)
Definition:
RPCPadParameters.cxx:30
RPCPadParameters::Print
void Print(std::ostream &stream) const
Definition:
RPCPadParameters.cxx:54
RPCPadParameters::m_eta_and_phi
bool m_eta_and_phi
Definition:
RPCPadParameters.h:22
RPCPadParameters::set_feet_threshold
bool set_feet_threshold(unsigned short int it, unsigned short int th)
Definition:
RPCPadParameters.cxx:45
physics_parameters.parameters
parameters
Definition:
physics_parameters.py:144
RPCPadParameters.h
RPCPadParameters::m_feet_thresholds
unsigned short int m_feet_thresholds
Definition:
RPCPadParameters.h:23
Generated on Fri Mar 14 2025 21:17:50 for ATLAS Offline Software by
1.8.18