|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef AthenaMonitoringKernel_GenericMonitoringTool_h
6 #define AthenaMonitoringKernel_GenericMonitoringTool_h
16 #include "TProfile2D.h"
18 #include "GaudiKernel/ITHistSvc.h"
55 using extends::extends;
61 void handle(
const Incident& )
override;
64 void invokeFillers(
const std::vector<std::reference_wrapper<Monitored::IMonitoredVariable>>& monitoredVariables)
const;
78 const std::vector<std::reference_wrapper<Monitored::IMonitoredVariable>>& monitoredVariables)
const;
82 Gaudi::Property<std::string>
m_histoPath {
this,
"HistPath", {},
"Directory for histograms [name of parent if not set]" };
83 Gaudi::Property<std::vector<std::string> >
m_histograms {
this,
"Histograms", {},
"Definitions of histograms",
"OrderedSet<std::string>"};
84 Gaudi::Property<bool>
m_explicitBooking {
this,
"ExplicitBooking",
false,
"Do not create histograms automatically in initialize but wait until the method book is called." };
85 Gaudi::Property<bool>
m_failOnEmpty {
this,
"FailOnEmpty",
true,
"Fail in initialize() if no histograms defined" };
86 BooleanProperty
m_useCache {
this,
"UseCache",
true,
"Cache filler lookups" };
87 BooleanProperty
m_registerHandler {
this,
"RegisterHandler",
true,
"Use incident handler to make 'always book' plots (else only check once)" };
89 std::vector<std::shared_ptr<Monitored::HistogramFiller>>
m_fillers;
91 mutable std::map<std::vector<std::string>,std::unique_ptr<std::vector<std::shared_ptr<Monitored::HistogramFiller>>>,std::less<>> m_fillerCacheMap
ATLAS_THREAD_SAFE;
Property holding a SG store/key/clid from which a ReadHandle is made.
Group
Properties of a chain group.
Generic monitoring tool for athena components.
::StatusCode StatusCode
StatusCode definition for legacy code.
Base class for all histogram fillers.