Commit 46f979b2 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fixed out of date documentation of the new Histograms

See merge request gaudi/Gaudi!1229
parents 4abb4d13 f6dde068
Pipeline #2759422 passed with stages
in 44 minutes and 17 seconds
......@@ -364,12 +364,12 @@ namespace Gaudi::Accumulators {
* Typical usage :
* \code
* Histogram<2, double, atomicity::full>
* counter{owner, "CounterName", {nBins1, minVal1, maxVal1}, {nBins2, minVal2, maxVal2}};
* counter{owner, "CounterName", "HistoTitle", {{nBins1, minVal1, maxVal1}, {nBins2, minVal2, maxVal2}}};
* ++counter[{val1, val2}]; // prefered syntax
* counter += {val1, val2}; // original syntax inherited from counters
*
* WeightedHistogram<2, double, atomicity::full>
* wcounter{owner, "CounterName", {nBins1, minVal1, maxVal1}, {nBins2, minVal2, maxVal2}};
* wcounter{owner, "CounterName", "HistoTitle", {{nBins1, minVal1, maxVal1}, {nBins2, minVal2, maxVal2}}};
* wcounter[{val1, val2}] += w; // prefered syntax
* wcounter += {{val1, val2}, w}; // original syntax inherited from counters
* \endcode
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment