![]() |
ATLAS Offline Software
|
Generic filler for 2D histogram. More...
#include <HistogramFiller2D.h>
Public Member Functions | |
HistogramFiller2DGeneric (const HistogramDef &definition, std::shared_ptr< IHistogramProvider > provider) | |
virtual unsigned | fill (const HistogramFiller::VariablesPack &vars) const override |
Method that actually fills the ROOT object. More... | |
void | touch () const |
Ensure histogram exists. More... | |
const std::vector< std::string > & | histogramVariablesNames () const |
const std::string & | histogramWeightName () const |
const std::string & | histogramCutMaskName () const |
const std::unique_lock< std::mutex > | getLock () const |
Protected Member Functions | |
template<class H , typename W , typename C , typename ... Ms> | |
unsigned | fill (W weight, C cut, const Ms &... m) const |
Fill histogram from IMonitoredVariable. More... | |
template<class H > | |
H * | histogram () const |
Protected Attributes | |
std::shared_ptr< HistogramDef > | m_histDef |
std::shared_ptr< IHistogramProvider > | m_histogramProvider |
std::mutex | m_lock |
Generic filler for 2D histogram.
H | Type of 2D histogram (TH2, TProfile) |
Definition at line 23 of file HistogramFiller2D.h.
|
inline |
Definition at line 25 of file HistogramFiller2D.h.
|
inlineoverridevirtual |
Method that actually fills the ROOT object.
Implements Monitored::HistogramFiller.
Definition at line 28 of file HistogramFiller2D.h.
|
inlineprotectedinherited |
Fill histogram from IMonitoredVariable.
Supports arbitrary dimensions and double/string representation.
H | histogram type (TH1, TH2, ...) |
weight | weight accessor (use detail::noWeight if not needed) |
cut | cut mask accessor (use detail::noCut if not needed) |
m... | IMonitoredVariable list to fill from |
Definition at line 168 of file HistogramFiller.h.
|
inlineinherited |
Definition at line 147 of file HistogramFiller.h.
|
inlineprotectedinherited |
Definition at line 153 of file HistogramFiller.h.
|
inlineinherited |
Definition at line 143 of file HistogramFiller.h.
|
inlineinherited |
Definition at line 135 of file HistogramFiller.h.
|
inlineinherited |
Definition at line 139 of file HistogramFiller.h.
|
inlineinherited |
Ensure histogram exists.
Definition at line 130 of file HistogramFiller.h.
|
protectedinherited |
Definition at line 180 of file HistogramFiller.h.
|
protectedinherited |
Definition at line 181 of file HistogramFiller.h.
|
mutableprotectedinherited |
Definition at line 182 of file HistogramFiller.h.