Skip to content
Snippets Groups Projects
Commit 46f979b2 authored by Marco Clemencic's avatar Marco Clemencic
Browse files

Fixed out of date documentation of the new Histograms

See merge request !1229
parents 4abb4d13 f6dde068
No related branches found
No related tags found
1 merge request!1229Fixed out of date documentation of the new Histograms
Pipeline #2755648 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment