ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
HDF5Utils
HDF5Utils
common.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef H5UTILS_COMMON_H
5
#define H5UTILS_COMMON_H
6
7
namespace
H5
{
8
class
CompType;
9
class
DataSpace;
10
class
DSetCreatPropList;
11
}
12
13
#include "
WriterConfiguration.h
"
14
15
#include "
H5Traits.h
"
16
#include "H5Cpp.h"
17
18
#include <vector>
19
20
namespace
H5Utils
{
21
namespace
internal {
22
23
// packing utility, to create a compact on-disk representation of
24
// the HDF5 type.
25
H5::CompType
packed
(H5::CompType in);
26
27
// functions which are used by writers to set up the data spaces
28
// and datasets
29
H5::DataSpace
getUnlimitedSpace
(
const
std::vector<hsize_t>& max_length);
30
template
<
size_t
N>
31
H5::DSetCreatPropList
getChunckedDatasetParams
(
32
const
WriterConfiguration<N>
&);
33
std::vector<hsize_t>
getStriding
(std::vector<hsize_t> max_length);
34
35
// writer error handling
36
void
throwIfExists
(
const
std::string&
name
,
const
H5::Group
& in_group);
37
void
printDestructorError
(
const
std::string&
msg
);
38
39
}
40
}
41
42
#include "
common.icc
"
43
44
#endif
H5Utils::internal::getChunckedDatasetParams
H5::DSetCreatPropList getChunckedDatasetParams(const WriterConfiguration< N > &)
TrigDefs::Group
Group
Properties of a chain group.
Definition:
GroupProperties.h:13
H5Utils::internal::getUnlimitedSpace
H5::DataSpace getUnlimitedSpace(const std::vector< hsize_t > &max_length)
Definition:
common.cxx:31
H5Utils::WriterConfiguration
Definition:
WriterConfiguration.h:16
H5Traits.h
common.icc
H5Utils::internal::printDestructorError
void printDestructorError(const std::string &msg)
Definition:
common.cxx:24
H5Utils::internal::packed
H5::CompType packed(H5::CompType in)
Definition:
common.cxx:16
H5Utils
HDF5 Tuple Writer.
Definition:
common.h:20
H5
HDF5 Traits.
Definition:
AthenaHDFStreamTool.h:22
H5Utils::internal::throwIfExists
void throwIfExists(const std::string &name, const H5::Group &in_group)
Definition:
common.cxx:46
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
WriterConfiguration.h
H5Utils::internal::getStriding
std::vector< hsize_t > getStriding(std::vector< hsize_t > max_length)
Definition:
common.cxx:38
python.AutoConfigFlags.msg
msg
Definition:
AutoConfigFlags.py:7
Generated on Thu Nov 7 2024 21:12:09 for ATLAS Offline Software by
1.8.18