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
Database
CoralUtilities
CoralUtilities
blobaccess.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 CORALUTILITIES_BLOBACCESS_H
6
#define CORALUTILITIES_BLOBACCESS_H
7
8
#include <string>
9
#include <memory>
10
#include <string_view>
11
#include "nlohmann/json.hpp"
12
13
class
TTree;
14
class
TMemFile;
15
16
namespace
coral
{
17
class
Blob
;
18
}
19
20
namespace
CoralUtilities
{
21
22
bool
compressBlob
(
const
char
* ,
coral::Blob
&);
23
bool
writeBlobFromString
(
const
std::string_view,
coral::Blob
&);
24
bool
writeBlobFromJson
(
const
nlohmann::json
& ,
coral::Blob
&);
25
bool
writeBlobFromTTree
( TTree* ,
coral::Blob
&);
26
27
bool
uncompressBlob
(
const
coral::Blob
&, std::unique_ptr<
unsigned
char
[]>&,
unsigned
long
&);
28
bool
readBlobAsString
(
const
coral::Blob
&, std::string& );
29
bool
readBlobAsJson
(
const
coral::Blob
&,
nlohmann::json
& );
37
bool
readBlobAsTTree
(
const
coral::Blob
&
blob
, std::unique_ptr<TTree>&
tree
,
38
const
std::string_view
name
=
"tree"
);
39
40
}
41
42
#endif
json
nlohmann::json json
Definition:
HistogramDef.cxx:9
CoralUtilities::compressBlob
bool compressBlob(const char *, coral::Blob &)
Definition:
blobaccess.cxx:20
tree
TChain * tree
Definition:
tile_monitor.h:30
python.subdetectors.tile.Blob
Blob
Definition:
tile.py:17
CoralUtilities::readBlobAsJson
bool readBlobAsJson(const coral::Blob &, nlohmann::json &)
Definition:
blobaccess.cxx:94
coral
Definition:
ISecondaryEventSelector.h:19
CoralUtilities::writeBlobFromTTree
bool writeBlobFromTTree(TTree *, coral::Blob &)
Definition:
blobaccess.cxx:39
CoralUtilities::readBlobAsString
bool readBlobAsString(const coral::Blob &, std::string &)
Definition:
blobaccess.cxx:85
CoralUtilities::uncompressBlob
bool uncompressBlob(const coral::Blob &, std::unique_ptr< unsigned char[]> &, unsigned long &)
Definition:
blobaccess.cxx:61
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
CoralUtilities::writeBlobFromJson
bool writeBlobFromJson(const nlohmann::json &, coral::Blob &)
Definition:
blobaccess.cxx:35
CoralUtilities
Definition:
blobaccess.h:20
CoralUtilities::readBlobAsTTree
bool readBlobAsTTree(const coral::Blob &blob, std::unique_ptr< TTree > &tree, const std::string_view name="tree")
Interprets the coral::Blob as a TTree instance.
Definition:
blobaccess.cxx:107
CoralUtilities::writeBlobFromString
bool writeBlobFromString(const std::string_view, coral::Blob &)
Definition:
blobaccess.cxx:31
CaloCondBlobAlgs_fillNoiseFromASCII.blob
blob
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:96
Generated on Fri Mar 14 2025 21:07:45 for ATLAS Offline Software by
1.8.18