A histogram filler to concurrently fill an RHist.
Definition at line 37 of file RHistConcurrentFiller.hxx.
Public Member Functions | |
| RHistConcurrentFiller (const RHistConcurrentFiller &)=delete | |
| RHistConcurrentFiller (RHistConcurrentFiller &&)=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 & | operator= (const RHistConcurrentFiller &)=delete |
| RHistConcurrentFiller & | operator= (RHistConcurrentFiller &&)=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 50 of file RHistConcurrentFiller.hxx.
|
delete |
|
delete |
|
inline |
Definition at line 62 of file RHistConcurrentFiller.hxx.
|
inline |
Create a new context for concurrent filling.
Definition at line 76 of file RHistConcurrentFiller.hxx.
|
inline |
Definition at line 73 of file RHistConcurrentFiller.hxx.
|
delete |
|
delete |
|
private |
The list of fill contexts, for checks during destruction.
Definition at line 44 of file RHistConcurrentFiller.hxx.
|
private |
A pointer to the filled histogram.
Definition at line 39 of file RHistConcurrentFiller.hxx.
|
private |
Mutex to protect access to the list of fill contexts (not for filling itself!)
Definition at line 42 of file RHistConcurrentFiller.hxx.