ATLAS Offline Software
Loading...
Searching...
No Matches
DoubleEventSelectorAthenaPool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef DOUBLEEVENTSELECTORATHENAPOOL_H
6#define DOUBLEEVENTSELECTORATHENAPOOL_H
7
16
18
21
27{
28public:
30 DoubleEventSelectorAthenaPool(const std::string& name, ISvcLocator* pSvcLocator);
33
35 virtual StatusCode initialize() 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 // IEventSelectorSeek
50 virtual StatusCode seek(Context& ctxt, int evtNum) const override;
51
54 virtual int size (Context& ctxt) const override;
55
56 //-------------------------------------------------
57 // IIncidentListener
59 virtual void handle(const Incident& incident) override;
60
61private:
63 virtual StatusCode recordAttributeList() const override;
64
65 ServiceHandle<ISecondaryEventSelector> m_secondarySelector{this, "SecondaryEventSelector", "SecondaryEventSelector", ""};
66
67 Gaudi::Property<std::string> m_secondaryAttrListSuffix{this, "SecondaryAttrListSuffix", "secondary", ""};
68
69 // Cache if secondary selector is ByteStream
71
74};
75
76#endif
Maintain a set of objects, one per slot.
This file contains the class definition for the EventSelectorAthenaPool class.
Abstract interface for secondary event selectors.
SG::SlotSpecificObj< SG::SourceID > m_sourceID2
DoubleEventSelectorAthenaPool(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
virtual StatusCode next(IEvtSelector::Context &ctxt) const override
Gaudi::Property< std::string > m_secondaryAttrListSuffix
virtual StatusCode seek(Context &ctxt, int evtNum) const override
Seek to a given event number.
virtual void handle(const Incident &incident) override
Incident service handle listening for BeginProcessing and EndProcessing.
virtual StatusCode recordAttributeList() const override
Record AttributeList in StoreGate.
SG::SlotSpecificObj< SG::SourceID > m_sourceID1
virtual StatusCode initialize() override
Initialize function.
virtual int size(Context &ctxt) const override
Return the size of the collection.
ServiceHandle< ISecondaryEventSelector > m_secondarySelector
EventSelectorAthenaPool(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
friend class DoubleEventSelectorAthenaPool
make the DoubleEventSelectorAthenaPool a friend so it can access the internal EventSelectorAthenaPool...
Maintain a set of objects, one per slot.