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

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

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

Public Types

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

Friends

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

Detailed Description

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

Definition at line 327 of file StaticRootHistogram.h.

Member Typedef Documentation

◆ Parent

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

Definition at line 330 of file StaticRootHistogram.h.

◆ to_json

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

Definition at line 333 of file StaticRootHistogram.h.

334 {
335 to_json( j, static_cast<Parent const&>( h ) );
336 j["nTotEntries"] = h.nEntries();
337 j["sumx"] = h.sumx();
338 j["sumy"] = h.sumy();
339 j["sumz"] = h.sumz();
340 j["meanx"] = h.meanx();
341 j["meany"] = h.meany();
342 j["meanz"] = h.meanz();
343 j["sumx2"] = h.sumx2();
344 j["sumy2"] = h.sumy2();
345 j["sumz2"] = h.sumz2();
346 j["sumxy"] = h.sumxy();
347 j["sumxz"] = h.sumxz();
348 j["sumyz"] = h.sumyz();
349 j["standard_deviationx"] = h.standard_deviationx();
350 j["standard_deviationy"] = h.standard_deviationy();
351 j["standard_deviationz"] = h.standard_deviationz();
352 }
friend void to_json(nlohmann::json &j, RootHistogramingCounterBase< 3, Atomicity, Arithmetic, Type, AxisTupleType > const &h)
HistogramingCounterBase< 3, 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: