21 bool eventfailed=
false;
44 log <<
MSG::FATAL <<
".executeEvent(): Exception with tag=" << Exception.
tag()
48 log <<
MSG::FATAL <<
".executeEvent(): Standard std::exception thrown by "
52 log <<
MSG::FATAL <<
".executeEvent(): UNKNOWN Exception thrown by "
62 eventContext->
setFail(eventfailed);
Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
Helper class to set the application return code in case of early exit (e.g.
void commitHandles() override
SmartIF< ISvcLocator > m_serviceLocator
SmartIF< IAlgorithm > m_algorithm
EventContext * getContext() const
get the context
This class represents an entry point to all the event specific data.
StatusCode promoteToExecuted(unsigned int iAlgo, int si, IAlgorithm *algo)
The call to this method is triggered only from within the AlgoExecutionTask.
virtual StatusCode sysExecute()=0
System execution. This method invokes the execute() method of a concrete algorithm.
constexpr int UnhandledException
TYPE * get() const
Get interface pointer.
void addAlg(Algorithm *, EventContext *, pthread_t)
SmartIF< ForwardSchedulerSvc > m_schedSvc
const unsigned int m_algoIndex
This class is used for returning status codes from appropriate routines.
void setFail(const bool &b=true)
virtual const std::string & tag() const
name tag for the exception, or exception type
GAUDI_API void setCurrentContext(const EventContext *ctx)
tbb::concurrent_bounded_queue< action > m_actionsQueue
Queue where closures are stored and picked for execution.
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.