18 throw GaudiException (
"Cast to Algorithm failed!",
"AlgoExecutionTask",
22 bool eventfailed=
false;
53 log <<
MSG::FATAL <<
".executeEvent(): Exception with tag=" << Exception.
tag()
58 log <<
MSG::FATAL <<
".executeEvent(): Standard std::exception thrown by " 63 log <<
MSG::FATAL <<
".executeEvent(): UNKNOWN Exception thrown by " Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
SmartIF< IAlgorithm > m_algorithm
Helper class to set the application return code in case of early exit (e.g.
void commitHandles() override
bool isSuccess() const
Test for a status code of SUCCESS.
void setExecStatus(const StatusCode &sc=StatusCode::SUCCESS)
constexpr int UnhandledException
TYPE * get() const
Get interface pointer.
virtual StatusCode execute() override
virtual StatusCode selectStore(size_t partitionIndex)=0
Activate an given 'slot' for all subsequent calls within the same thread id.
This class is used for returning status codes from appropriate routines.
virtual const AlgExecState & algExecState(const Gaudi::StringKey &algName, const EventContext &ctx) const =0
virtual StatusCode sysExecute(const EventContext &)=0
System execution. This method invokes the execute() method of a concrete algorithm.
SmartIF< ISvcLocator > m_serviceLocator
virtual const std::string & tag() const
name tag for the exception, or exception type
void setExecuted(bool e=true)
The IAlgorithm is the interface implemented by the Algorithm base class.
GAUDI_API void setCurrentContext(const EventContext *ctx)
virtual void updateEventStatus(const bool &b, const EventContext &ctx)=0
SmartIF< IHiveWhiteBoard > & whiteboard() const
IAlgExecStateSvc * m_aess
Base class from which all concrete algorithm classes should be derived.
GAUDI_API void setCurrentContextEvt(long int evtN)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.