63 bool eventfailed =
false;
71 <<
". Doing thread local initialization." <<
endmsg;
73 tps->initThisThread();
75 log <<
MSG::ERROR <<
"Unable to get the ThreadPoolSvc to trigger thread local initialization" <<
endmsg;
91 log <<
MSG::FATAL <<
".executeEvent(): Exception with tag=" << Exception.tag() <<
" thrown by " << ts.algName
96 log <<
MSG::FATAL <<
".executeEvent(): Standard std::exception thrown by " << ts.algName <<
endmsg;
100 log <<
MSG::FATAL <<
".executeEvent(): UNKNOWN Exception thrown by " << ts.algName <<
endmsg;
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
complex< _Tp > log(const complex< _Tp > &)
constexpr _OI move(_II __first, _II __last, _OI __result)
ios_base & hex(ios_base &__base)
ios_base & dec(ios_base &__base)
AvalancheSchedulerSvc * m_scheduler
IAlgExecStateSvc * m_aess
SmartIF< ISvcLocator > m_serviceLocator
AlgTask(AvalancheSchedulerSvc *scheduler, ISvcLocator *svcLocator, IAlgExecStateSvc *aem, bool asynchronous)
bool next(TaskSpec &ts, bool asynchronous)
tbb::concurrent_bounded_queue< action > m_actionsQueue
Queue where closures are stored and picked for execution.
SmartIF< IAlgResourcePool > m_algResourcePool
Cache for the algorithm resource pool.
This class represents an entry point to all the event specific data.
Base class from which all concrete algorithm classes should be derived.
SmartIF< IHiveWhiteBoard > & whiteboard() const
Define general base for Gaudi exception.
GaudiException(std::string Message, std::string Tag, StatusCode Code)
Constructor (1).
Abstract interface for a service that manages the Algorithm execution states.
virtual void updateEventStatus(const bool &b, const EventContext &ctx)=0
virtual StatusCode releaseAlgorithm(std::string_view name, IAlgorithm *&algo)=0
Release a certain algorithm.
The IAlgorithm is the interface implemented by the Algorithm base class.
virtual StatusCode sysExecute(const EventContext &)=0
System execution. This method invokes the execute() method of a concrete algorithm.
virtual StatusCode selectStore(size_t partitionIndex)=0
Activate an given 'slot' for all subsequent calls within the same thread id.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
virtual SmartIF< IService > & service(const Gaudi::Utils::TypeNameString &typeName, const bool createIf=true)=0
Returns a smart pointer to a service.
Definition of the MsgStream class used to transmit messages.
Helper class to set the application return code in case of early exit (e.g.
Small smart pointer class with automatic reference counting for IInterface.
void ignore() const
Allow discarding a StatusCode without warning.
constexpr static const auto FAILURE
constexpr int UnhandledException
GAUDI_API void setCurrentContextEvt(long int evtN)
GAUDI_API void setCurrentContext(const EventContext *ctx)
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Struct to hold entries in the alg queues.