Go to the documentation of this file.
18 #include "../AlgTools/IMyTool.h"
42 info() <<
"initializing...." <<
endmsg;
46 error() <<
"Error retrieving the tool" <<
endmsg;
49 info() <<
"....initialization done" <<
endmsg;
57 info() <<
"executing...." <<
endmsg;
67 info() <<
"finalizing...." <<
endmsg;
SmartIF< IToolSvc > & toolSvc() const
The standard ToolSvc service, Return a pointer to the service if present.
Alias for backward compatibility.
StatusCode finalize() override
StatusCode execute() override
Gaudi::Property< std::string > m_toolName
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
constexpr static const auto SUCCESS
#define DECLARE_COMPONENT(type)
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.