ATLAS Offline Software
Loading...
Searching...
No Matches
EventSelectorAthenaPoolSharedIO.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef EVENTSELECTORATHENAPOOLSHAREDIO_H
6#define EVENTSELECTORATHENAPOOLSHAREDIO_H
7
12
14
17
22 public extends<EventSelectorAthenaPool, IEventShare>
23{
24
25public: // Constructor and Destructor
27 EventSelectorAthenaPoolSharedIO(const std::string& name, ISvcLocator* pSvcLocator);
30
32 virtual StatusCode initialize() override;
33 virtual StatusCode start() override;
34 virtual StatusCode stop() override;
35 virtual StatusCode finalize() override;
36
37 //-------------------------------------------------
38 // IEventSelector
40 virtual StatusCode next(IEvtSelector::Context& ctxt) const override;
43 virtual StatusCode next(IEvtSelector::Context& ctxt, int jump) const override;
44
45 //-------------------------------------------------
46 // IEventShare
48 virtual StatusCode makeServer(int num) override;
49
51 virtual StatusCode makeClient(int num) override;
52
55 virtual StatusCode share(int evtnum) override;
56
59 virtual StatusCode readEvent(int maxevt) override;
60
61 //-------------------------------------------------
62 // IIoComponent
64 virtual StatusCode io_reinit() override;
65
66protected:
67 //-------------------------------------------------
68 // ISecondaryEventSelector
70 virtual StatusCode recordAttributeList() const override;
71
72private: // properties
73 ToolHandle<IAthenaIPCTool> m_eventStreamingTool{this, "SharedMemoryTool", "", ""};
75 Gaudi::Property<int> m_makeStreamingToolClient{this, "MakeStreamingToolClient", 0};
76};
77
78#endif
This file contains the class definition for the EventSelectorAthenaPool class.
virtual StatusCode next(IEvtSelector::Context &ctxt) const override
Gaudi::Property< int > m_makeStreamingToolClient
Make this instance a Streaming Client during first iteration automatically.
virtual StatusCode makeServer(int num) override
Make this a server.
virtual StatusCode makeClient(int num) override
Make this a client.
EventSelectorAthenaPoolSharedIO(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
virtual ~EventSelectorAthenaPoolSharedIO()=default
Destructor.
virtual StatusCode initialize() override
Required of all Gaudi Services.
virtual StatusCode share(int evtnum) override
Request to share a given event number.
virtual StatusCode readEvent(int maxevt) override
Read the next maxevt events.
virtual StatusCode io_reinit() override
Callback method to reinitialize the internal state of the component for I/O purposes (e....
virtual StatusCode recordAttributeList() const override
Record AttributeList in StoreGate.
ToolHandle< IAthenaIPCTool > m_eventStreamingTool