ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
HDF5Utils
HDF5Utils
IHistogram.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef HDF5Utils_IHistogram_H
6
#define HDF5Utils_IHistogram_H
7
8
#include "H5Cpp.h"
9
#include <string>
10
11
namespace
H5Utils::hist
{
12
20
class
IHistogram
{
21
public
:
22
virtual
~IHistogram
() =
default
;
23
28
virtual
void
add
(
const
H5::Group& src) = 0;
29
35
virtual
void
write
(H5::Group& parent,
const
std::string& name)
const
= 0;
36
};
37
38
}
//> end namespace H5Utils::hist
39
40
#endif
//> !HDF5Utils_IHistogram_H
H5Utils::hist::IHistogram
Abstract interface for a mergeable histogram.
Definition
IHistogram.h:20
H5Utils::hist::IHistogram::~IHistogram
virtual ~IHistogram()=default
H5Utils::hist::IHistogram::add
virtual void add(const H5::Group &src)=0
Accumulate data from a UHI histogram group in a source file.
H5Utils::hist::IHistogram::write
virtual void write(H5::Group &parent, const std::string &name) const =0
Write the accumulated histogram as a new UHI group.
H5Utils::hist
Definition
HistAxis.h:14
Generated on
for ATLAS Offline Software by
1.17.0