|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef STOREGATE_HIVEMGRSVC_H
6 #define STOREGATE_HIVEMGRSVC_H
12 #include "GaudiKernel/Service.h"
13 #include "GaudiKernel/ServiceHandle.h"
14 #include "GaudiKernel/StatusCode.h"
15 #include "GaudiKernel/IHiveWhiteBoard.h"
30 class HiveMgrSvc :
public extends<Service, IHiveWhiteBoard> {
32 friend class ::HltEventLoopMgr;
69 virtual bool exists(
const DataObjID& )
override;
127 #endif // STOREGATE_HIVEMGRSVC_H
virtual StatusCode initialize() override
virtual size_t getPartitionNumber(int eventnumber) const override
Get the slot number corresponding to a given event.
ServiceHandle< StoreGateSvc > m_hiveStore
virtual StatusCode finalize() override
AthenaMT event loop manager for running HLT online.
std::vector< SG::HiveEventSlot > m_slots
std::atomic< size_t > m_freeSlots
friend class TestSGHiveMgrSvc
The Athena Transient Store API.
virtual bool exists(const DataObjID &) override
Check if a data object exists in store.
::StatusCode StatusCode
StatusCode definition for legacy code.
HiveMgrSvc(const std::string &name, ISvcLocator *svc)
Standard Service Constructor. sets active store to default event store.
virtual StatusCode start() override
AthROOTErrorHandlerSvc * svc
virtual StatusCode selectStore(size_t slotIndex) override
Activate an given 'slot' for all subsequent calls within the same thread id.
virtual size_t allocateStore(int evtnumber) override
Allocate a store slot for new event.
virtual StatusCode freeStore(size_t slotIndex) override
Free a store slot.
static void setNumProcs(size_t numProcs)
Set number of concurrent processes.
virtual size_t getNumberOfStores() const override
Get the number of 'slots'.
virtual StatusCode setNumberOfStores(size_t slots) override
Set the number of 'slots'.
virtual StatusCode clearStore(size_t slotIndex) override
Clear a given 'slot'.
virtual size_t freeSlots() override
Get free slots number.