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
w
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
Database
AthenaRoot
RootAuxDynIO
src
RootAuxDynReader.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ROOTAUXDYNREADER_H
6
#define ROOTAUXDYNREADER_H
7
8
#include "
AthContainers/AuxStoreInternal.h
"
9
#include "
RootAuxDynIO/IRootAuxDynIO.h
"
10
11
#include <set>
12
13
class
RootAuxDynReader
:
virtual
public
RootAuxDynIO::IRootAuxDynReader
14
{
15
public :
17
const
SG::auxid_set_t
&
auxIDs
()
const
;
18
19
bool
addAuxID
(
const
SG::auxid_t
&
id
);
20
21
void
addBytes
(
size_t
bytes);
22
23
size_t
getBytesRead
()
const
;
24
25
void
resetBytesRead
();
26
27
virtual
~RootAuxDynReader
() =
default
;
28
29
protected
:
30
// auxids that could be found in registry for attribute names from the file
31
SG::auxid_set_t
m_auxids
;
32
33
// counter for bytes read
34
size_t
m_bytesRead
= 0;
35
};
36
37
38
39
inline
void
40
RootAuxDynReader::addBytes
(
size_t
bytes) {
41
m_bytesRead
+= bytes;
42
}
43
44
inline
size_t
45
RootAuxDynReader::getBytesRead
()
const
{
46
return
m_bytesRead
;
47
}
48
49
inline
void
50
RootAuxDynReader::resetBytesRead
() {
51
m_bytesRead
= 0;
52
}
53
54
inline
const
SG::auxid_set_t
&
55
RootAuxDynReader::auxIDs
()
const
{
56
return
m_auxids
;
57
}
58
59
inline
bool
60
RootAuxDynReader::addAuxID
(
const
SG::auxid_t
&
id
) {
61
if
(
id
!= SG::null_auxid ) {
62
m_auxids
.
insert
(
id
);
63
return
true
;
64
}
65
return
false
;
66
}
67
68
#endif
69
RootAuxDynReader::resetBytesRead
void resetBytesRead()
Definition:
RootAuxDynReader.h:50
RootAuxDynReader
Definition:
RootAuxDynReader.h:14
RootAuxDynReader::~RootAuxDynReader
virtual ~RootAuxDynReader()=default
RootAuxDynReader::m_bytesRead
size_t m_bytesRead
Definition:
RootAuxDynReader.h:34
RootAuxDynReader::auxIDs
const SG::auxid_set_t & auxIDs() const
Aux IDs of all the Aux attributes belonging to the Aux container being read.
Definition:
RootAuxDynReader.h:55
RootAuxDynReader::addBytes
void addBytes(size_t bytes)
Definition:
RootAuxDynReader.h:40
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition:
AuxTypes.h:27
CxxUtils::ConcurrentBitset::insert
ConcurrentBitset & insert(bit_t bit, bit_t new_nbits=0)
Set a bit to 1.
RootAuxDynReader::m_auxids
SG::auxid_set_t m_auxids
Definition:
RootAuxDynReader.h:31
RootAuxDynIO::IRootAuxDynReader
Definition:
IRootAuxDynIO.h:36
SG::auxid_set_t
A set of aux data identifiers.
Definition:
AuxTypes.h:47
RootAuxDynReader::addAuxID
bool addAuxID(const SG::auxid_t &id)
Definition:
RootAuxDynReader.h:60
RootAuxDynReader::getBytesRead
size_t getBytesRead() const
Definition:
RootAuxDynReader.h:45
AuxStoreInternal.h
An auxiliary data store that holds data internally.
IRootAuxDynIO.h
Generated on Sat May 10 2025 21:16:45 for ATLAS Offline Software by
1.8.18