![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
12 m_msgStream(nullptr,
name.c_str()),
33 return StatusCode::SUCCESS;
55 return it->second.get();
60 return it->second.get();
bool msgLvl(const MSG::Level lvl)
Returns if requested level is same or higher than logging level.
std::unordered_map< std::string, std::unique_ptr< CounterBase > > m_counters
Storage of Monitor's collection of Counters.
bool counterExists(const std::string &name) const
Check if a counter of a given name exists.
TH1 * bookGetPointer(TH1 *hist, const std::string &tDir="") const
Appends Range's name (to histogram path) and forwards histogram book request to parent Athena algorit...
singleton-like access to IMessageSvc via open function and helper
TH1 * bookGetPointer(TH1 *hist, const std::string &tDir="") const
Appends Monitor name (to histogram path) and forwards histogram book request to parent Range.
const std::string m_name
Monitor's name.
virtual std::unique_ptr< CounterBase > newCounter(const std::string &name)=0
Pure virtual Counter instantiation specialisation.
MsgStream m_msgStream
Logging member.
IMessageSvc * getMessageSvc(bool quiet=false)
virtual StatusCode endEvent(float weight=1.)
Called by the framework.
const MonitoredRange * getParent() const
Return cached non-owning const ptr to this Monitor's parent Range.
const MonitoredRange * m_parent
Monitor's parent Range.
CounterBase * getCounter(const std::string &name)
Retrieve counter by name.
::StatusCode StatusCode
StatusCode definition for legacy code.
const std::string & getName() const
Getter for Monitor's name.
MonitorBase()=delete
Forbid default constructor.
Container which represents a time range and holds a collection of Monitors which monitor this range.
MsgStream & msg()
Logging.