12#ifndef TIDA_HISTOGRAM_H
13#define TIDA_HISTOGRAM_H
15#include "GaudiKernel/ToolHandle.h"
32 Histogram( ToolHandle<GenericMonitoringTool>* m,
const std::string&
name ) :
38 if ( !
m_initialised )
throw std::runtime_error(
"TIDA::Histogram not initialised: "+
name());
43 void Fill( T d, T w )
const {
44 if ( !
m_initialised )
throw std::runtime_error(
"TIDA::Histogram not initialised: "+
name());
Header file to be included by clients of the Monitored infrastructure.
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
const Histogram * operator->() const
Histogram(ToolHandle< GenericMonitoringTool > *m, const std::string &name)
ToolHandle< GenericMonitoringTool > * m_monTool
ToolHandle< GenericMonitoringTool > * monTool() const
const std::string & name() const
void Fill(T d, T w) const