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

Extension of the standard Gaudi histogram to provide similar functionnality as ROOT. More...

Detailed Description

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

Extension of the standard Gaudi histogram to provide similar functionnality as ROOT.

The main piece of extra functionnality is that ablity to compute a mean and sigma of the data set hold by the histogram on top of the histogram itself This will then be used when filling a real Root histogram so that one gets the same values as if working directly with Root. When using pure Gaudi Histograms, and converting to ROOT, ROOT automatically recomputed average and sigma form the bins, but the value is not the expected one

Usage is similar to HistogramingCounterBase so see the documentation there Serialization has the following extra fields :

  • nTotEntries, sum, sum2, mean in 1D
  • nTotEntries, sumx, sumy, sumx2, sumy2, sumxy, meanx, meany in 2D
  • nTotEntries, sumx, sumy, sumz, sumx2, sumy2, sumz2, sumxy, sumxz, sumyz, meanx, meany, meanz in 3D and uses same types as HistogramingCounterBase

Definition at line 283 of file StaticRootHistogram.h.


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