A histogram filler to concurrently fill an RHist.
Definition at line 39 of file RHistConcurrentFiller.hxx.
Public Member Functions | |
| RHistConcurrentFiller (const RHistConcurrentFiller< BinContentType > &)=delete | |
| RHistConcurrentFiller (RHistConcurrentFiller< BinContentType > &&)=delete | |
| RHistConcurrentFiller (std::shared_ptr< RHist< BinContentType > > hist) | |
| Create a filler object. | |
| ~RHistConcurrentFiller () | |
| std::shared_ptr< RHistFillContext< BinContentType > > | CreateFillContext () |
| Create a new context for concurrent filling. | |
| const std::shared_ptr< RHist< BinContentType > > & | GetHist () const |
| RHistConcurrentFiller< BinContentType > & | operator= (const RHistConcurrentFiller< BinContentType > &)=delete |
| RHistConcurrentFiller< BinContentType > & | operator= (RHistConcurrentFiller< BinContentType > &&)=delete |
Private Attributes | |
| std::vector< std::weak_ptr< RHistFillContext< BinContentType > > > | fFillContexts |
| The list of fill contexts, for checks during destruction. | |
| std::shared_ptr< RHist< BinContentType > > | fHist |
| A pointer to the filled histogram. | |
| std::mutex | fMutex |
| Mutex to protect access to the list of fill contexts (not for filling itself!) | |
#include <ROOT/RHistConcurrentFiller.hxx>
|
inlineexplicit |
Create a filler object.
| [in] | hist | a pointer to the histogram |
Definition at line 52 of file RHistConcurrentFiller.hxx.
|
delete |
|
delete |
|
inline |
Definition at line 64 of file RHistConcurrentFiller.hxx.
|
inline |
Create a new context for concurrent filling.
Definition at line 78 of file RHistConcurrentFiller.hxx.
|
inline |
Definition at line 75 of file RHistConcurrentFiller.hxx.
|
delete |
|
delete |
|
private |
The list of fill contexts, for checks during destruction.
Definition at line 46 of file RHistConcurrentFiller.hxx.
|
private |
A pointer to the filled histogram.
Definition at line 41 of file RHistConcurrentFiller.hxx.
|
private |
Mutex to protect access to the list of fill contexts (not for filling itself!)
Definition at line 44 of file RHistConcurrentFiller.hxx.