ATLAS Offline Software
Classes | Namespaces | Functions
MonitoredGroup.h File Reference
#include <functional>
#include <string>
#include <vector>
#include <stdexcept>
#include "GaudiKernel/ToolHandle.h"
#include "AthenaMonitoringKernel/GenericMonitoringTool.h"
#include "AthenaMonitoringKernel/HistogramFiller.h"
#include "AthenaMonitoringKernel/IMonitoredVariable.h"
Include dependency graph for MonitoredGroup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Monitored::Group
 Group of local monitoring quantities and retain correlation when filling histograms More...
 

Namespaces

 Monitored
 Generic monitoring tool for athena components.
 
 Monitored::detail
 

Functions

template<typename... T>
void Monitored::fill (const ToolHandle< GenericMonitoringTool > &tool, T &&... variables)
 
template<typename T = int>
int Monitored::detail::findToolIndex (const ToolHandleArray< GenericMonitoringTool > &toolArray, const std::string &name)
 Finds the index of an element in a tool handle array by its string name. More...
 
template<typename V , typename std::enable_if_t< std::is_integral_v< V >> * = nullptr>
std::vector< V > Monitored::buildToolMap (ToolHandleArray< GenericMonitoringTool > tools, const std::string &baseName, int nHist)
 Builds an array of indices (base case) More...
 
template<typename V , typename std::enable_if_t<!std::is_integral_v< V >> * = nullptr, typename... T>
std::vector< V > Monitored::buildToolMap (ToolHandleArray< GenericMonitoringTool > tools, const std::string &baseName, int nHist, T... dimensions)
 Builds an N-dimensional array of indices (recursive) More...
 
template<typename V , typename std::enable_if_t< std::is_integral_v< V >> * = nullptr>
std::map< std::string, int > Monitored::buildToolMap (ToolHandleArray< GenericMonitoringTool > tools, const std::string &baseName, const std::vector< std::string > &labels)
 Builds a map of indices (base case) More...
 
template<typename V , typename std::enable_if_t<!std::is_integral_v< V >> * = nullptr, typename... T>
std::map< std::string, V > Monitored::buildToolMap (ToolHandleArray< GenericMonitoringTool > tools, const std::string &baseName, const std::vector< std::string > &labels, T... dimensions)
 Builds an N-dimensional map of indices (recursive) More...