A context to concurrently fill an RProfile.
- See also
- RProfileConcurrentFiller
- Warning
- This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
Definition at line 28 of file RProfileFillContext.hxx.
|
| | ~RProfileFillContext () |
| |
| template<typename... A> |
| void | Fill (const A &...args) |
| | Fill an entry into the profile histogram.
|
| |
| template<typename... A, typename V > |
| void | Fill (const std::tuple< A... > &args, const V &value) |
| | Fill an entry into the profile histogram.
|
| |
| template<typename... A, typename V > |
| void | Fill (const std::tuple< A... > &args, const V &value, RWeight weight) |
| | Fill an entry into the profile histogram with a weight.
|
| |
| void | Flush () |
| | Flush locally accumulated entries to the profile histogram.
|
| |
#include <ROOT/RProfileFillContext.hxx>
◆ RProfileFillContext() [1/3]
| ROOT::Experimental::RProfileFillContext::RProfileFillContext |
( |
RProfile & | profile | ) |
|
|
inlineexplicitprivate |
◆ RProfileFillContext() [2/3]
◆ RProfileFillContext() [3/3]
◆ ~RProfileFillContext()
| ROOT::Experimental::RProfileFillContext::~RProfileFillContext |
( |
| ) |
|
|
inline |
◆ Fill() [1/3]
template<typename... A>
| void ROOT::Experimental::RProfileFillContext::Fill |
( |
const A &... | args | ) |
|
|
inline |
Fill an entry into the profile histogram.
For weighted filling, pass an RWeight as the last argument.
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
- RProfile::Fill(const A &...args)
Definition at line 111 of file RProfileFillContext.hxx.
◆ Fill() [2/3]
template<typename... A, typename V >
| void ROOT::Experimental::RProfileFillContext::Fill |
( |
const std::tuple< A... > & | args, |
|
|
const V & | value ) |
|
inline |
Fill an entry into the profile 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 |
| [in] | v | the additional argument |
- See also
- RProfile::Fill(const std::tuple<A...> &args, const V &value)
Definition at line 69 of file RProfileFillContext.hxx.
◆ Fill() [3/3]
template<typename... A, typename V >
| void ROOT::Experimental::RProfileFillContext::Fill |
( |
const std::tuple< A... > & | args, |
|
|
const V & | value, |
|
|
RWeight | weight ) |
|
inline |
Fill an entry into the profile histogram with a weight.
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] | v | the additional argument |
| [in] | weight | the weight for this entry |
- See also
- RProfile::Fill(const std::tuple<A...> &args, const V &value, RWeight weight)
Definition at line 90 of file RProfileFillContext.hxx.
◆ Flush()
| void ROOT::Experimental::RProfileFillContext::Flush |
( |
| ) |
|
|
inline |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ RProfileConcurrentFiller
◆ fProfile
| RProfile* ROOT::Experimental::RProfileFillContext::fProfile = nullptr |
|
private |
◆ fStats
| RHistStats ROOT::Experimental::RProfileFillContext::fStats |
|
private |
The documentation for this class was generated from the following file: