ATLAS Offline Software
|
#include <GenericMonitoringTool.h>
Classes | |
class | GenericMonitoringArray |
class | GenericMonitoringTool |
Public Member Functions | |
virtual | ~GenericMonitoringTool () override |
virtual StatusCode | initialize () override |
virtual StatusCode | start () override |
virtual StatusCode | stop () override |
void | handle (const Incident &) override |
void | invokeFillers (const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &monitoredVariables) const |
feed the fillers More... | |
StatusCode | book () |
Book histograms. More... | |
void | setPath (const std::string &newPath) |
Overrride configured booking path. More... | |
const std::string & | getPath () const |
virtual const ServiceHandle< ITHistSvc > & | histogramService () const |
virtual uint32_t | runNumber () |
virtual uint32_t | lumiBlock () |
Public Attributes | |
log = logging.getLogger(__name__) | |
Private Member Functions | |
void | invokeFillersDebug (const std::shared_ptr< Monitored::HistogramFiller > &filler, const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &monitoredVariables) const |
Private Attributes | |
ServiceHandle< ITHistSvc > | m_histSvc { this, "THistSvc", "THistSvc", "Histogramming svc" } |
THistSvc (do NOT fix the service type (only the name) to allow for a different implementation online. More... | |
Gaudi::Property< std::string > | m_histoPath { this, "HistPath", {}, "Directory for histograms [name of parent if not set]" } |
Gaudi::Property< std::vector< std::string > > | m_histograms { this, "Histograms", {}, "Definitions of histograms", "OrderedSet<std::string>"} |
Gaudi::Property< bool > | m_explicitBooking { this, "ExplicitBooking", false, "Do not create histograms automatically in initialize but wait until the method book is called." } |
Gaudi::Property< bool > | m_failOnEmpty { this, "FailOnEmpty", true, "Fail in initialize() if no histograms defined" } |
BooleanProperty | m_useCache { this, "UseCache", true, "Cache filler lookups" } |
BooleanProperty | m_registerHandler { this, "RegisterHandler", true, "Use incident handler to make 'always book' plots (else only check once)" } |
std::vector< std::shared_ptr< Monitored::HistogramFiller > > | m_fillers |
plain list of fillers More... | |
std::vector< std::shared_ptr< Monitored::HistogramFiller > > | m_alwaysCreateFillers |
fillers that need touching, usually empty More... | |
std::map< std::vector< std::string >, std::unique_ptr< std::vector< std::shared_ptr< Monitored::HistogramFiller > > >, std::less<> > m_fillerCacheMap | ATLAS_THREAD_SAFE |
lookup map to speed up filler searches More... | |
std::mutex | m_cacheMutex |
Definition at line 53 of file GenericMonitoringTool.h.
|
overridevirtual |
Definition at line 23 of file GenericMonitoringTool.cxx.
StatusCode GenericMonitoringTool::book | ( | ) |
|
inline |
Definition at line 70 of file GenericMonitoringTool.h.
|
override |
Definition at line 50 of file GenericMonitoringTool.cxx.
|
inlinevirtual |
Definition at line 72 of file GenericMonitoringTool.h.
|
overridevirtual |
Definition at line 25 of file GenericMonitoringTool.cxx.
void GenericMonitoringTool::invokeFillers | ( | const std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> & | monitoredVariables | ) | const |
feed the fillers
Definition at line 164 of file GenericMonitoringTool.cxx.
|
private |
Definition at line 259 of file GenericMonitoringTool.cxx.
|
virtual |
Definition at line 286 of file GenericMonitoringTool.cxx.
|
virtual |
Definition at line 282 of file GenericMonitoringTool.cxx.
|
inline |
|
overridevirtual |
Definition at line 30 of file GenericMonitoringTool.cxx.
|
overridevirtual |
Definition at line 38 of file GenericMonitoringTool.cxx.
|
mutableprivate |
lookup map to speed up filler searches
Definition at line 91 of file GenericMonitoringTool.h.
GenericMonitoringTool.log = logging.getLogger(__name__) |
Definition at line 9 of file GenericMonitoringTool.py.
|
private |
fillers that need touching, usually empty
Definition at line 90 of file GenericMonitoringTool.h.
|
mutableprivate |
Definition at line 92 of file GenericMonitoringTool.h.
|
private |
Definition at line 84 of file GenericMonitoringTool.h.
|
private |
Definition at line 85 of file GenericMonitoringTool.h.
|
private |
plain list of fillers
Definition at line 89 of file GenericMonitoringTool.h.
|
private |
Definition at line 83 of file GenericMonitoringTool.h.
|
private |
Definition at line 82 of file GenericMonitoringTool.h.
|
private |
THistSvc (do NOT fix the service type (only the name) to allow for a different implementation online.
Definition at line 81 of file GenericMonitoringTool.h.
|
private |
Definition at line 87 of file GenericMonitoringTool.h.
|
private |
Definition at line 86 of file GenericMonitoringTool.h.