![]() |
ATLAS Offline Software
|
Implementation of IHistogramProvider for offline histograms. More...
#include <OfflineHistogramProvider.h>
Classes | |
| struct | objcache |
Public Member Functions | |
| OfflineHistogramProvider (GenericMonitoringTool *const gmTool, std::shared_ptr< HistogramFactory > factory, const HistogramDef &histDef) | |
| Constructor. | |
| virtual | ~OfflineHistogramProvider () override |
| TNamed * | histogram () override |
| Getter of ROOT object. | |
Private Member Functions | |
| void | storeMetadata () |
| Store metadata trees. | |
Private Attributes | |
| GenericMonitoringTool *const | m_gmTool |
| std::shared_ptr< HistogramFactory > | m_factory |
| std::shared_ptr< HistogramDef > | m_histDef |
| Gaudi::Hive::ContextSpecificData< objcache > m_objcache | ATLAS_THREAD_SAFE |
| std::mutex | m_cacheMutex |
| std::vector< std::string > | m_storedPaths |
Implementation of IHistogramProvider for offline histograms.
Definition at line 29 of file OfflineHistogramProvider.h.
|
inline |
Constructor.
| gmTool | Source of the lumi block info |
| factory | ROOT object factory |
| def | General definition of a histogram |
Definition at line 38 of file OfflineHistogramProvider.h.
|
inlineoverridevirtual |
Definition at line 49 of file OfflineHistogramProvider.h.
|
inlineoverridevirtual |
Getter of ROOT object.
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 68 of file OfflineHistogramProvider.h.
|
inlineprivate |
Store metadata trees.
Offline ROOT output should have "metadata" TTrees; this function makes them
Definition at line 124 of file OfflineHistogramProvider.h.
|
mutableprivate |
Definition at line 113 of file OfflineHistogramProvider.h.
|
private |
Definition at line 114 of file OfflineHistogramProvider.h.
|
private |
Definition at line 105 of file OfflineHistogramProvider.h.
|
private |
Definition at line 104 of file OfflineHistogramProvider.h.
|
private |
Definition at line 106 of file OfflineHistogramProvider.h.
|
private |
Definition at line 116 of file OfflineHistogramProvider.h.