20 throw GaudiException (
"Cast to Algorithm failed!",
"AlgoExecutionTask",
24 bool eventfailed=
false;
47 log <<
MSG::FATAL <<
".executeEvent(): Exception with tag=" << Exception.
tag()
52 log <<
MSG::FATAL <<
".executeEvent(): Standard std::exception thrown by " 57 log <<
MSG::FATAL <<
".executeEvent(): UNKNOWN Exception thrown by " 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
IAlgExecStateSvc * m_aess
bool isSuccess() const
Test for a status code of SUCCESS.
SmartIF< ISvcLocator > m_serviceLocator
void setExecStatus(const StatusCode &sc=StatusCode::SUCCESS)
void setContext(const EventContext *context) override
set the context
SmartIF< IAlgorithm > m_algorithm
virtual StatusCode sysExecute()=0
System execution. This method invokes the execute() method of a concrete algorithm.
tbb::task * execute() override
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.
virtual const AlgExecState & algExecState(const Gaudi::StringKey &algName, const EventContext &ctx) const =0
StatusCode promoteToExecuted(unsigned int iAlgo, int si, IAlgorithm *algo, EventContext *)
The call to this method is triggered only from within the AlgoExecutionTask.
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)
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.
virtual void updateEventStatus(const bool &b)=0