18 info() <<
"Both \"Throw\" and \"Abort\" options have been set." 19 <<
" Abort takes precedence." <<
endmsg;
31 os <<
"Illegal Return Code: Algorithm " << alg->
name() <<
" reported an ERROR, but returned a StatusCode \"" << sc
34 <<
"Error policy described in " 35 <<
"https://twiki.cern.ch/twiki/bin/view/AtlasComputing/ReportingErrors";
48 os <<
"Illegal Return Code: Algorithm " << alg->
name() <<
" reported a FATAL, but returned a StatusCode \"" << sc
51 <<
"Error policy described in " 52 <<
"https://twiki.cern.ch/twiki/bin/view/AtlasComputing/ReportingErrors";
72 info() <<
"Found " <<
m_algMap[0].
size() <<
" instances where an Algorithm::execute() produced an ERROR " 73 <<
"but returned a SUCCESS:" <<
std::endl;
75 for (
const auto& i :
m_algMap[0] ) {
83 info() <<
"Found " <<
m_algMap[1].
size() <<
" instances where an Algorithm::execute() produced a FATAL " 84 <<
"but returned a SUCCESS:" <<
std::endl;
86 for (
const auto& i :
m_algMap[1] ) {
constexpr static const auto FAILURE
StatusCode finalize() override
Define general base for Gaudi exception.
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
std::map< std::string, int > m_algMap[2]
Monitors the cpu time usage of each algorithm.
virtual int messageCount(MSG::Level level) const =0
Get the number of messages issued at a particular level.
class MergingTransformer< Out(const vector_of_const_< In > void
constexpr auto size(const C &c) noexcept(noexcept(c.size())) -> decltype(c.size())
#define DECLARE_COMPONENT(type)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
void incrMap(const std::string &algName, int level)
void afterExecute(INamedInterface *alg, const StatusCode &) override
StatusCode initialize() override
This class is used for returning status codes from appropriate routines.
const SmartIF< IMessageSvc > & msgSvc() const
The standard message service.
bool isRecoverable() const
constexpr static const auto SUCCESS
Gaudi::Property< bool > m_abort
Gaudi::Property< bool > m_throw
IInterface compliant class extending IInterface with the name() method.
MsgStream & msgStream() const
Return an uninitialized MsgStream.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual const std::string & name() const =0
Retrieve the name of the instance.