ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
eFexByteStreamTool::MonitoredLogging Class Reference

Create a class to override logging interface in underlying decoder tool. More...

Inheritance diagram for eFexByteStreamTool::MonitoredLogging:
Collaboration diagram for eFexByteStreamTool::MonitoredLogging:

Public Member Functions

 MonitoredLogging (ToolHandle< GenericMonitoringTool > tool)
 
virtual ~MonitoredLogging ()=default
 
virtual void err (const std::string &location, const std::string &title, const std::string &detail) const override
 

Public Attributes

ToolHandle< GenericMonitoringToolm_monTool
 

Detailed Description

Create a class to override logging interface in underlying decoder tool.

Definition at line 64 of file eFexByteStreamTool.h.

Constructor & Destructor Documentation

◆ MonitoredLogging()

eFexByteStreamTool::MonitoredLogging::MonitoredLogging ( ToolHandle< GenericMonitoringTool tool)
inline

Definition at line 66 of file eFexByteStreamTool.h.

66 : m_monTool(tool) { }

◆ ~MonitoredLogging()

virtual eFexByteStreamTool::MonitoredLogging::~MonitoredLogging ( )
virtualdefault

Member Function Documentation

◆ err()

void eFexByteStreamTool::MonitoredLogging::err ( const std::string &  location,
const std::string &  title,
const std::string &  detail 
) const
overridevirtual

Reimplemented from L1CaloBsDecoderRun3::Logging.

Definition at line 84 of file eFexByteStreamTool.cxx.

84  {
85 
87  Monitored::Scalar("efexDecoderErrorLocation",std::string("lb=") + std::to_string(Gaudi::Hive::currentContext().eventID().lumi_block()) + "," + (location.empty() ? std::string("UNKNOWN") : location)),
88  Monitored::Scalar("efexDecoderErrorTitle",title.empty() ? std::string("UNKNOWN") : title)
89  );
90 
91  Monitored::Group(m_monTool, Monitored::Scalar("lbn",Gaudi::Hive::currentContext().eventID().lumi_block()),
92  Monitored::Scalar("decoderError",(title.empty() ? std::string("UNKNOWN") : title) + ":" + (location.empty() ? std::string("UNKNOWN") : location))
93  );
94 }

Member Data Documentation

◆ m_monTool

ToolHandle<GenericMonitoringTool> eFexByteStreamTool::MonitoredLogging::m_monTool

Definition at line 69 of file eFexByteStreamTool.h.


The documentation for this class was generated from the following files:
TrigDefs::Group
Group
Properties of a chain group.
Definition: GroupProperties.h:13
covarianceTool.title
title
Definition: covarianceTool.py:542
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
AtlCoolConsole.tool
tool
Definition: AtlCoolConsole.py:453
eFexByteStreamTool::MonitoredLogging::m_monTool
ToolHandle< GenericMonitoringTool > m_monTool
Definition: eFexByteStreamTool.h:69
Monitored::Scalar
Declare a monitored scalar variable.
Definition: MonitoredScalar.h:34