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

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

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

Public Types

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

Friends

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

Detailed Description

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

Definition at line 304 of file StaticRootHistogram.h.

Member Typedef Documentation

◆ Parent

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

Definition at line 307 of file StaticRootHistogram.h.

◆ to_json

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

Definition at line 310 of file StaticRootHistogram.h.

311 {
312 to_json( j, static_cast<Parent const&>( h ) );
313 j["nTotEntries"] = h.nEntries();
314 j["sumx"] = h.sumx();
315 j["sumy"] = h.sumy();
316 j["meanx"] = h.meanx();
317 j["meany"] = h.meany();
318 j["sumx2"] = h.sumx2();
319 j["sumy2"] = h.sumy2();
320 j["sumxy"] = h.sumxy();
321 j["standard_deviationx"] = h.standard_deviationx();
322 j["standard_deviationy"] = h.standard_deviationy();
323 }
HistogramingCounterBase< 2, Atomicity, Arithmetic, Type, RootHistogramingAccumulator, AxisTupleType > Parent
friend void to_json(nlohmann::json &j, RootHistogramingCounterBase< 2, Atomicity, Arithmetic, Type, AxisTupleType > const &h)
Extension of the standard Gaudi histogram to provide similar functionnality as ROOT.

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