ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Database
AthenaPOOL
EventSelectorAthenaPool
src
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
17
#include "
EventSelectorAthenaPool.h
"
18
19
#include "
AthenaKernel/ISecondaryEventSelector.h
"
20
#include "
AthenaKernel/SlotSpecificObj.h
"
21
26
class
DoubleEventSelectorAthenaPool
:
public
EventSelectorAthenaPool
27
{
28
public
:
30
DoubleEventSelectorAthenaPool
(
const
std::string& name, ISvcLocator* pSvcLocator);
32
virtual
~DoubleEventSelectorAthenaPool
();
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
61
private
:
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
70
bool
m_secondaryByteStream
{};
71
72
SG::SlotSpecificObj<SG::SourceID>
m_sourceID1
;
73
SG::SlotSpecificObj<SG::SourceID>
m_sourceID2
;
74
};
75
76
#endif
SlotSpecificObj.h
Maintain a set of objects, one per slot.
EventSelectorAthenaPool.h
This file contains the class definition for the EventSelectorAthenaPool class.
ISecondaryEventSelector.h
Abstract interface for secondary event selectors.
size
size_t size() const
Number of registered mappings.
DoubleEventSelectorAthenaPool::m_sourceID2
SG::SlotSpecificObj< SG::SourceID > m_sourceID2
Definition
DoubleEventSelectorAthenaPool.h:73
DoubleEventSelectorAthenaPool::DoubleEventSelectorAthenaPool
DoubleEventSelectorAthenaPool(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
Definition
DoubleEventSelectorAthenaPool.cxx:23
DoubleEventSelectorAthenaPool::next
virtual StatusCode next(IEvtSelector::Context &ctxt) const override
Definition
DoubleEventSelectorAthenaPool.cxx:45
DoubleEventSelectorAthenaPool::m_secondaryAttrListSuffix
Gaudi::Property< std::string > m_secondaryAttrListSuffix
Definition
DoubleEventSelectorAthenaPool.h:67
DoubleEventSelectorAthenaPool::m_secondaryByteStream
bool m_secondaryByteStream
Definition
DoubleEventSelectorAthenaPool.h:70
DoubleEventSelectorAthenaPool::seek
virtual StatusCode seek(Context &ctxt, int evtNum) const override
Seek to a given event number.
Definition
DoubleEventSelectorAthenaPool.cxx:122
DoubleEventSelectorAthenaPool::~DoubleEventSelectorAthenaPool
virtual ~DoubleEventSelectorAthenaPool()
Destructor.
Definition
DoubleEventSelectorAthenaPool.cxx:29
DoubleEventSelectorAthenaPool::handle
virtual void handle(const Incident &incident) override
Incident service handle listening for BeginProcessing and EndProcessing.
Definition
DoubleEventSelectorAthenaPool.cxx:191
DoubleEventSelectorAthenaPool::recordAttributeList
virtual StatusCode recordAttributeList() const override
Record AttributeList in StoreGate.
Definition
DoubleEventSelectorAthenaPool.cxx:148
DoubleEventSelectorAthenaPool::m_sourceID1
SG::SlotSpecificObj< SG::SourceID > m_sourceID1
Definition
DoubleEventSelectorAthenaPool.h:72
DoubleEventSelectorAthenaPool::initialize
virtual StatusCode initialize() override
Initialize function.
Definition
DoubleEventSelectorAthenaPool.cxx:32
DoubleEventSelectorAthenaPool::m_secondarySelector
ServiceHandle< ISecondaryEventSelector > m_secondarySelector
Definition
DoubleEventSelectorAthenaPool.h:65
EventSelectorAthenaPool::EventSelectorAthenaPool
EventSelectorAthenaPool(const std::string &name, ISvcLocator *pSvcLocator)
Standard Service Constructor.
Definition
EventSelectorAthenaPool.cxx:45
EventSelectorAthenaPool::DoubleEventSelectorAthenaPool
friend class DoubleEventSelectorAthenaPool
make the DoubleEventSelectorAthenaPool a friend so it can access the internal EventSelectorAthenaPool...
Definition
EventSelectorAthenaPool.h:229
SG::SlotSpecificObj
Maintain a set of objects, one per slot.
Definition
AthenaKernel/AthenaKernel/SlotSpecificObj.h:84
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0