|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef AthenaMonitoringKernel_HistogramFiller_HistogramFactory_h
6 #define AthenaMonitoringKernel_HistogramFiller_HistogramFactory_h
9 #include "TEfficiency.h"
11 #include "GaudiKernel/ServiceHandle.h"
12 #include "GaudiKernel/ITHistSvc.h"
83 template<
class H,
class HBASE,
typename...
Types>
virtual TNamed * create(const HistogramDef &def)
Book and register ROOT object for given definition.
std::string m_streamName
defines the stream for THistSvc
std::string m_groupName
defines location of group of histograms
TH1 * create1D(const HistogramDef &def)
Helper for generic 'create' method for 1D histograms.
the internal class used to keep parsed Filler properties
std::tuple< WrapType< TYPES >... > Types
A simple tuple of multiple types.
static std::mutex s_histDirMutex
static void setOpts(TH1 *hist, const HistogramDef &def)
Setup various histogram options.
TH2 * create2DProfile(const HistogramDef &def)
Helper for generic 'create' method for 2DProfile histograms.
ServiceHandle< ITHistSvc > m_histSvc
static void setLabels(TH1 *hist, const HistogramDef &def)
Set labels for all axes.
Generic monitoring tool for athena components.
std::string getFullName(const HistogramDef &def) const
Invent path name.
HistogramFactory(const ServiceHandle< ITHistSvc > &histSvc, const std::string &groupName)
Default constructor.
TH1 * create1DProfile(const HistogramDef &def)
Helper for generic 'create' method for 1DProfile histograms.
TH2 * create2D(const HistogramDef &def)
Helper for generic 'create' method for 2D histograms.
bool m_deleteOnRemove
delete histogram during remove
TTree * createTree(const HistogramDef &def)
Create and register tree.
static std::mutex & globalROOTMutex()
virtual ~HistogramFactory()
Virtual destructor.
virtual void remove(const HistogramDef &def)
Removes histogram (used to get rid of old LB tagged histograms)
Bridge between ROOT framework and monitoring code.
TEfficiency * createEfficiency(const HistogramDef &def)
Create and register efficiency graph.