template<typename BinContentType>
class ROOT::Experimental::RHistFillContext< BinContentType >
A context to concurrently fill an RHist.
- See also
- RHistConcurrentFiller
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 31 of file RHistFillContext.hxx.
template<typename BinContentType>
template<typename... A>
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.
- Parameters
-
| [in] | args | the arguments for each axis |
- See also
- RHist::Fill(const A &...args)
Definition at line 111 of file RHistFillContext.hxx.
template<typename BinContentType>
template<typename... A>
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.
- Parameters
-
| [in] | args | the arguments for each axis |
- See also
- RHist::Fill(const std::tuple<A...> &args)
Definition at line 71 of file RHistFillContext.hxx.
template<typename BinContentType>
template<typename... A>
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.
- Parameters
-
| [in] | args | the arguments for each axis |
| [in] | weight | the weight for this entry |
- See also
- RHist::Fill(const std::tuple<A...> &args, RWeight weight)
Definition at line 91 of file RHistFillContext.hxx.