A context to concurrently fill an RHist.
Definition at line 28 of file RHistFillContext.hxx.
Public Member Functions | |
| ~RHistFillContext () | |
| template<typename... A> | |
| void | Fill (const A &...args) |
| Fill an entry into the histogram. | |
| template<typename... A> | |
| void | Fill (const std::tuple< A... > &args) |
| Fill an entry into the histogram. | |
| template<typename... A> | |
| void | Fill (const std::tuple< A... > &args, RWeight weight) |
| Fill an entry into the histogram with a weight. | |
| void | Flush () |
| Flush locally accumulated entries to the histogram. | |
Private Member Functions | |
| RHistFillContext (const RHistFillContext< BinContentType > &)=delete | |
| RHistFillContext (RHist< BinContentType > &hist) | |
| RHistFillContext (RHistFillContext< BinContentType > &&)=default | |
| RHistFillContext< BinContentType > & | operator= (const RHistFillContext< BinContentType > &)=delete |
| RHistFillContext< BinContentType > & | operator= (RHistFillContext< BinContentType > &&)=default |
Private Attributes | |
| RHist< BinContentType > * | fHist = nullptr |
| A pointer to the filled histogram. | |
| RHistStats | fStats |
| Local histogram statistics. | |
Friends | |
| class | RHistConcurrentFiller< BinContentType > |
#include <ROOT/RHistFillContext.hxx>
|
inlineexplicitprivate |
Definition at line 39 of file RHistFillContext.hxx.
|
privatedelete |
|
privatedefault |
|
inline |
Definition at line 46 of file RHistFillContext.hxx.
|
inline |
Fill an entry into the histogram.
For weighted filling, pass an RWeight as the last argument. This is not available for integral bin content types (see RHistEngine::SupportsWeightedFilling).
If one of the arguments is outside the corresponding axis and flow bins are disabled, the entry will be silently discarded.
Throws an exception if the number of arguments does not match the axis configuration, or if an argument cannot be converted for the axis type at run-time.
| [in] | args | the arguments for each axis |
Definition at line 99 of file RHistFillContext.hxx.
|
inline |
Fill an entry into the histogram.
If one of the arguments is outside the corresponding axis and flow bins are disabled, the entry will be silently discarded.
Throws an exception if the number of arguments does not match the axis configuration, or if an argument cannot be converted for the axis type at run-time.
| [in] | args | the arguments for each axis |
Definition at line 59 of file RHistFillContext.hxx.
|
inline |
Fill an entry into the histogram with a weight.
This overload is not available for integral bin content types (see RHistEngine::SupportsWeightedFilling).
If one of the arguments is outside the corresponding axis and flow bins are disabled, the entry will be silently discarded.
Throws an exception if the number of arguments does not match the axis configuration, or if an argument cannot be converted for the axis type at run-time.
| [in] | args | the arguments for each axis |
| [in] | weight | the weight for this entry |
Definition at line 79 of file RHistFillContext.hxx.
|
inline |
Flush locally accumulated entries to the histogram.
Definition at line 106 of file RHistFillContext.hxx.
|
privatedelete |
|
privatedefault |
|
friend |
Definition at line 28 of file RHistFillContext.hxx.
|
private |
A pointer to the filled histogram.
Definition at line 33 of file RHistFillContext.hxx.
|
private |
Local histogram statistics.
Definition at line 36 of file RHistFillContext.hxx.