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
Database
AthenaPOOL
EventSelectorAthenaPool
src
registerKeys.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
11
#include "
registerKeys.h
"
12
#include "
PersistentDataModel/DataHeader.h
"
13
#include "
StoreGate/StoreGateSvc.h
"
14
15
//namespace EventSelectorAthenaPoolUtil {
16
22
void
EventSelectorAthenaPoolUtil::registerKeys
(
const
DataHeaderElement
& dhe,
StoreGateSvc
*
store
) {
23
const
std::vector<DataHeaderElement::sgkey_t>&
hashes
= dhe.
getHashes
();
24
if
(!
hashes
.empty()) {
25
// May be empty if we're reading an old file.
26
const
std::set<CLID> clids = dhe.
getClassIDs
();
27
size_t
i
= 0;
28
for
(std::set<CLID>::const_iterator
it
= clids.begin();
it
!= clids.end(); ++
it
, ++
i
) {
29
store
->
registerKey
(
hashes
[
i
], dhe.
getKey
(), *
it
);
30
}
31
}
32
}
33
39
void
EventSelectorAthenaPoolUtil::registerKeys
(
const
DataHeader
&
dh
,
StoreGateSvc
*
store
) {
40
for
(std::vector<DataHeaderElement>::const_iterator dhe_i =
dh
.begin(); dhe_i !=
dh
.end(); ++dhe_i) {
41
registerKeys
(*dhe_i,
store
);
42
}
43
}
44
//} // namespace EventSelectorAthenaPoolUtil
python.root_lsr_rank.hashes
hashes
Definition:
root_lsr_rank.py:34
SGTest::store
TestStore store
Definition:
TestStore.cxx:23
registerKeys.h
Helper functions for registering hash keys with the SG service.
skel.it
it
Definition:
skel.GENtoEVGEN.py:407
PyPoolBrowser.dh
dh
Definition:
PyPoolBrowser.py:102
DataHeaderElement::getKey
const std::string & getKey() const
Definition:
DataHeader.cxx:113
EventSelectorAthenaPoolUtil::registerKeys
void registerKeys(const DataHeaderElement &dhe, StoreGateSvc *store)
Register all hash keys for one DH Element.
Definition:
registerKeys.cxx:22
StoreGateSvc
The Athena Transient Store API.
Definition:
StoreGateSvc.h:125
DataHeaderElement
This class provides a persistent form for the TransientAddress.
Definition:
DataHeader.h:36
DataHeader
This class provides the layout for summary information stored for data written to POOL.
Definition:
DataHeader.h:123
lumiFormat.i
int i
Definition:
lumiFormat.py:85
DataHeader.h
This file contains the class definition for the DataHeader and DataHeaderElement classes.
DataHeaderElement::getHashes
const std::vector< sgkey_t > & getHashes() const
Definition:
DataHeader.cxx:130
DataHeaderElement::getClassIDs
const std::set< CLID > getClassIDs() const
Definition:
DataHeader.cxx:107
SGTest::TestStore::registerKey
virtual void registerKey(sgkey_t, const std::string &, CLID) override
Definition:
TestStore.cxx:38
StoreGateSvc.h
Generated on Tue Apr 1 2025 21:17:32 for ATLAS Offline Software by
1.8.18