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
Event
ByteStreamData
ByteStreamData
ByteStream.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef BYTESTREAMDATA_BYTESTREAM_H
6
#define BYTESTREAMDATA_BYTESTREAM_H
7
15
#include "
ByteStreamData/RawEvent.h
"
16
17
class
ByteStream
{
18
public
:
20
ByteStream
() :
m_nWord
(0),
m_start
(0) {}
21
23
ByteStream
(
int
nWord) :
m_nWord
(nWord) {
24
m_start
=
new
OFFLINE_FRAGMENTS_NAMESPACE::DataType
[
m_nWord
];
25
}
26
27
ByteStream
(
const
ByteStream
&) =
delete
;
28
ByteStream
&
operator=
(
const
ByteStream
&) =
delete
;
29
31
virtual
~ByteStream
() {
32
if
(
m_start
!= 0) {
33
delete
[]
m_start
;
m_start
= 0;
34
}
35
}
36
38
OFFLINE_FRAGMENTS_NAMESPACE::DataType
*
getBuffer
() {
return
m_start
; }
39
40
private
:
42
int
m_nWord
;
44
OFFLINE_FRAGMENTS_NAMESPACE::DataType
*
m_start
;
45
};
46
47
#include "
AthenaKernel/CLASS_DEF.h
"
48
CLASS_DEF
(
ByteStream
, 7001, 1)
49
#endif
OFFLINE_FRAGMENTS_NAMESPACE::DataType
uint32_t DataType
Definition:
RawEvent.h:24
ByteStream::ByteStream
ByteStream(int nWord)
constructor with nWord
Definition:
ByteStream.h:23
ByteStream::ByteStream
ByteStream(const ByteStream &)=delete
ByteStream::m_nWord
int m_nWord
number of words
Definition:
ByteStream.h:42
RawEvent.h
ByteStream::~ByteStream
virtual ~ByteStream()
destructor
Definition:
ByteStream.h:31
ByteStream::m_start
OFFLINE_FRAGMENTS_NAMESPACE::DataType * m_start
representation
Definition:
ByteStream.h:44
ByteStream::ByteStream
ByteStream()
default constructor
Definition:
ByteStream.h:20
ByteStream::operator=
ByteStream & operator=(const ByteStream &)=delete
ByteStream::getBuffer
OFFLINE_FRAGMENTS_NAMESPACE::DataType * getBuffer()
get internal buffer
Definition:
ByteStream.h:38
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
ByteStream
Transient data object, holding BS content of the event.
Definition:
ByteStream.h:17
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Mar 13 2025 21:07:51 for ATLAS Offline Software by
1.8.18