Loading [MathJax]/jax/output/SVG/config.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
Trigger
TrigT1
TrigT1Interfaces
src
BcmCTP.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
#include "
TrigT1Interfaces/BcmCTP.h
"
5
6
// STL includes(s):
7
#include <sstream>
8
#include <iomanip>
9
10
// local includes
11
#include "
TrigT1Interfaces/BitOp.h
"
12
13
namespace
LVL1
{
14
15
BcmCTP::BcmCTP
(
unsigned
int
word0 )
16
: m_cableWord0(word0)
17
{
18
}
19
20
const
std::string
BcmCTP::dump
()
const
21
{
22
std::ostringstream
s
;
23
24
s
<<
" 0x"
<< std::hex << std::setw(8) << std::setfill(
'0'
) <<
m_cableWord0
25
<< std::dec << std::setfill(
' '
) << std::endl;
26
27
return
s
.str();
28
}
29
30
const
std::string
BcmCTP::print
()
const
31
{
32
std::ostringstream
s
;
33
34
s
<< std::setfill(
'0'
)
35
<<
" Side-to-side:"
<< std::setw(6) <<
BitOp::printBits
(
m_cableWord0
, 0, 1)
36
<<
" Wide:"
<< std::setw(6) <<
BitOp::printBits
(
m_cableWord0
, 2, 2)
37
<<
" A-side multiplicities:"
<< std::setw(6) <<
BitOp::printBits
(
m_cableWord0
, 3, 4)
38
<<
" C-side multiplicities:"
<< std::setw(6) <<
BitOp::printBits
(
m_cableWord0
, 5, 6)
39
<< std::setfill(
' '
) << std::endl;
40
41
return
s
.str();
42
}
43
44
}
45
LVL1::BcmCTP::m_cableWord0
const uint32_t m_cableWord0
A data member to contain 9 bits of information.
Definition:
BcmCTP.h:45
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
LVL1::BcmCTP::print
const std::string print() const
print object content in a human readable form to string
Definition:
BcmCTP.cxx:30
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition:
ICMMCPHitsCnvTool.h:18
LVL1::BcmCTP::dump
const std::string dump() const
dump raw object content to string
Definition:
BcmCTP.cxx:20
BitOp.h
BitOp::printBits
static const std::string printBits(const int value, const int startbit, const int endbit)
print selected bit range into string
Definition:
BitOp.cxx:100
LVL1::BcmCTP::BcmCTP
BcmCTP(uint32_t word0=0)
Definition:
BcmCTP.cxx:15
BcmCTP.h
Generated on Sun Mar 30 2025 21:07:37 for ATLAS Offline Software by
1.8.18