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
ForwardDetectors
LUCID
LUCID_Cnv
LUCID_RawDataByteStreamCnv
LUCID_RawDataByteStreamCnv
LUCID_RodEncoder.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LUCID_RODENCODER_H
6
#define LUCID_RODENCODER_H
7
8
#include <inttypes.h>
9
10
#include "
ByteStreamData/RawEvent.h
"
11
12
#include "GaudiKernel/Bootstrap.h"
13
#include "GaudiKernel/ISvcLocator.h"
14
#include "GaudiKernel/MsgStream.h"
15
16
#include "
LUCID_RawEvent/LUCID_Digit.h
"
17
#include "
LUCID_RawEvent/LUCID_RawData.h
"
18
19
class
LUCID_RodEncoder
20
{
21
public
:
22
typedef
std::vector<const LUCID_Digit*>
VDIGIT
;
23
struct
Cache
24
{
25
unsigned
int
hitcounter0
= 0;
26
unsigned
int
hitcounter1
= 0;
27
unsigned
int
hitcounter2
= 0;
28
unsigned
int
hitcounter3
= 0;
29
VDIGIT
Digits
{};
30
};
31
32
LUCID_RodEncoder
();
33
~LUCID_RodEncoder
();
34
35
void
addDigit
(
const
LUCID_Digit
*
digit
,
Cache
& cache)
const
36
{
37
cache.
Digits
.push_back(
digit
);
38
}
39
void
encode
(std::vector<uint32_t>& data_block,
40
Cache& cache,
41
MsgStream&
log
)
const
;
42
43
const
VDIGIT
&
getDigits
(
Cache
& cache)
const
{
return
cache.
Digits
; }
44
45
private
:
46
};
47
48
#endif
LUCID_RodEncoder
Definition:
LUCID_RodEncoder.h:20
LUCID_RodEncoder::Cache::hitcounter1
unsigned int hitcounter1
Definition:
LUCID_RodEncoder.h:26
LUCID_RawData.h
LUCID_RodEncoder::getDigits
const VDIGIT & getDigits(Cache &cache) const
Definition:
LUCID_RodEncoder.h:43
checkRpcDigits.digit
digit
Definition:
checkRpcDigits.py:186
LUCID_RodEncoder::Cache::Digits
VDIGIT Digits
Definition:
LUCID_RodEncoder.h:29
LUCID_RodEncoder::Cache::hitcounter3
unsigned int hitcounter3
Definition:
LUCID_RodEncoder.h:28
LUCID_RodEncoder::encode
void encode(std::vector< uint32_t > &data_block, Cache &cache, MsgStream &log) const
Definition:
LUCID_RodEncoder.cxx:12
LUCID_Digit
Definition:
LUCID_Digit.h:8
LUCID_RodEncoder::Cache
Definition:
LUCID_RodEncoder.h:24
RawEvent.h
LUCID_RodEncoder::VDIGIT
std::vector< const LUCID_Digit * > VDIGIT
Definition:
LUCID_RodEncoder.h:22
LUCID_Digit.h
LUCID_RodEncoder::Cache::hitcounter2
unsigned int hitcounter2
Definition:
LUCID_RodEncoder.h:27
LUCID_RodEncoder::LUCID_RodEncoder
LUCID_RodEncoder()
Definition:
LUCID_RodEncoder.cxx:7
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
LUCID_RodEncoder::~LUCID_RodEncoder
~LUCID_RodEncoder()
Definition:
LUCID_RodEncoder.cxx:9
LUCID_RodEncoder::addDigit
void addDigit(const LUCID_Digit *digit, Cache &cache) const
Definition:
LUCID_RodEncoder.h:35
LUCID_RodEncoder::Cache::hitcounter0
unsigned int hitcounter0
Definition:
LUCID_RodEncoder.h:25
Generated on Mon Apr 21 2025 21:14:23 for ATLAS Offline Software by
1.8.18