The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Accumulators::RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType > Class Template Reference

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators/StaticRootHistogram.h>

Inheritance diagram for Gaudi::Accumulators::RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType >:
Collaboration diagram for Gaudi::Accumulators::RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType >:

Public Types

using Parent = HistogramingCounterBase<1, Atomicity, Arithmetic, Type, RootHistogramingAccumulator, AxisTupleType>

Friends

void to_json (nlohmann::json &j, RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType > const &h)

Detailed Description

template<atomicity Atomicity, typename Arithmetic, const char * Type, typename AxisTupleType>
class Gaudi::Accumulators::RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType >

Definition at line 286 of file StaticRootHistogram.h.

Member Typedef Documentation

◆ Parent

template<atomicity Atomicity, typename Arithmetic, const char * Type, typename AxisTupleType>
using Gaudi::Accumulators::RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType >::Parent = HistogramingCounterBase<1, Atomicity, Arithmetic, Type, RootHistogramingAccumulator, AxisTupleType>

Definition at line 289 of file StaticRootHistogram.h.

◆ to_json

template<atomicity Atomicity, typename Arithmetic, const char * Type, typename AxisTupleType>
void to_json ( nlohmann::json & j,
RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType > const & h )
friend

Definition at line 292 of file StaticRootHistogram.h.

293 {
294 to_json( j, static_cast<Parent const&>( h ) );
295 j["nTotEntries"] = h.nEntries();
296 j["sum"] = h.sum();
297 j["mean"] = h.mean();
298 j["sum2"] = h.sum2();
299 j["standard_deviation"] = h.standard_deviation();
300 }
friend void to_json(nlohmann::json &j, RootHistogramingCounterBase< 1, Atomicity, Arithmetic, Type, AxisTupleType > const &h)
HistogramingCounterBase< 1, Atomicity, Arithmetic, Type, RootHistogramingAccumulator, AxisTupleType > Parent
Extension of the standard Gaudi histogram to provide similar functionnality as ROOT.

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