ATLAS Offline Software
|
Provides latest-N-lumiblock histograms to be filled. More...
#include <LiveHistogramProvider.h>
Public Member Functions | |
LiveHistogramProvider (GenericMonitoringTool *const gmTool, std::shared_ptr< HistogramFactory > factory, const HistogramDef &histDef) | |
Constructor. More... | |
TNamed * | histogram () override |
Getter of ROOT histogram. More... | |
void | updateHistDef () |
Updates HistogramDef xmin, xmax and xbins members. More... | |
void | copyDataToNewHistogram (TH1 *hOld, TH1 *hNew) |
Copies bin contents from an old to a new histogram. More... | |
void | copyDataToNewHistogram (TProfile *hOld, TProfile *hNew) |
Private Attributes | |
GenericMonitoringTool *const | m_gmTool |
std::shared_ptr< HistogramFactory > | m_factory |
std::shared_ptr< HistogramDef > | m_histDef |
TNamed * | m_currentHistogram = nullptr |
int | m_currentLumiBlock = 0 |
Provides latest-N-lumiblock histograms to be filled.
Provides histograms which shows only information from the last N lumiblocks. The highest encountered lumiblock is calculated, and only data from Max-N to N is shown. Note: kLBNLive must be defined in histogram definition options.
Definition at line 24 of file LiveHistogramProvider.h.
|
inline |
|
inline |
Copies bin contents from an old to a new histogram.
Definition at line 127 of file LiveHistogramProvider.h.
|
inline |
Definition at line 155 of file LiveHistogramProvider.h.
|
inlineoverridevirtual |
Getter of ROOT histogram.
Each time the method is called, factory produces ROOT object based on the current lumi block. Note: ROOT objects are cached at the factory. Nevertheless, it is recommended to call this method as rarely as possible.
Implements Monitored::IHistogramProvider.
Definition at line 53 of file LiveHistogramProvider.h.
|
inline |
Updates HistogramDef xmin, xmax and xbins members.
Definition at line 118 of file LiveHistogramProvider.h.
|
private |
Definition at line 189 of file LiveHistogramProvider.h.
|
private |
Definition at line 190 of file LiveHistogramProvider.h.
|
private |
Definition at line 187 of file LiveHistogramProvider.h.
|
private |
Definition at line 186 of file LiveHistogramProvider.h.
|
private |
Definition at line 188 of file LiveHistogramProvider.h.