ATLAS Offline Software
Loading...
Searching...
No Matches
H5Utils::hist::IHistogram Class Referenceabstract

Abstract interface for a mergeable histogram. More...

#include <IHistogram.h>

Collaboration diagram for H5Utils::hist::IHistogram:

Public Member Functions

virtual ~IHistogram ()=default
virtual void add (const H5::Group &src)=0
 Accumulate data from a UHI histogram group in a source file.
virtual void write (H5::Group &parent, const std::string &name) const =0
 Write the accumulated histogram as a new UHI group.

Detailed Description

Abstract interface for a mergeable histogram.

Concrete classes accumulate bin data from HDF5 UHI groups and can write the merged result back to a new HDF5 group.

Definition at line 20 of file IHistogram.h.

Constructor & Destructor Documentation

◆ ~IHistogram()

virtual H5Utils::hist::IHistogram::~IHistogram ( )
virtualdefault

Member Function Documentation

◆ add()

virtual void H5Utils::hist::IHistogram::add ( const H5::Group & src)
pure virtual

Accumulate data from a UHI histogram group in a source file.

Parameters
srcThe UHI histogram group (must have uhi_schema attribute).

◆ write()

virtual void H5Utils::hist::IHistogram::write ( H5::Group & parent,
const std::string & name ) const
pure virtual

Write the accumulated histogram as a new UHI group.

Parameters
parentThe parent group to create the histogram in.
nameThe name for the new histogram group.

The documentation for this class was generated from the following file: