Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alex Pearce
Gaudi
Commits
46f979b2
Commit
46f979b2
authored
Jun 24, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
GaudiKernel/include/Gaudi/Accumulators/Histogram.h
View file @
46f979b2
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment