ATLAS Offline Software
Loading...
Searching...
No Matches
ISecondaryEventSelector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
10
11#ifndef ATHENAKERNEL_ISECONDARYEVENTSELECTOR_H
12#define ATHENAKERNEL_ISECONDARYEVENTSELECTOR_H
13
14#include <GaudiKernel/IEvtSelector.h>
17
18namespace coral
19{
20 class AttributeList;
21}
22
27class ISecondaryEventSelector : virtual public extend_interfaces<IEvtSelector, IEvtSelectorSeek>
28{
29public:
31
33 virtual StatusCode nextHandleFileTransition(IEvtSelector::Context& ctxt) const = 0;
35 virtual StatusCode nextWithSkip(IEvtSelector::Context& ctxt) const = 0;
37 virtual StatusCode recordAttributeList() const = 0;
39 virtual StatusCode fillAttributeList(coral::AttributeList *attrList, const std::string &suffix, bool copySource) const = 0;
40 // Disconnect DB if all events from the source FID were processed and the Selector moved to another file
41 virtual bool disconnectIfFinished(const SG::SourceID &fid) const = 0;
42};
43
44#endif // ATHENAKERNEL_ISECONDARYEVENTSELECTOR_H
Type used to identify a metadata source.
Extension to IEvtSelector to allow for seeking.
Abstract interface for secondary event selectors.
virtual StatusCode recordAttributeList() const =0
Record AttributeList in StoreGate.
virtual StatusCode fillAttributeList(coral::AttributeList *attrList, const std::string &suffix, bool copySource) const =0
Fill AttributeList with specific items from the selector and a suffix.
virtual StatusCode nextHandleFileTransition(IEvtSelector::Context &ctxt) const =0
Handle file transition at the next iteration.
virtual StatusCode nextWithSkip(IEvtSelector::Context &ctxt) const =0
Go to next event and skip if necessary.
DeclareInterfaceID(ISecondaryEventSelector, 1, 0)
virtual bool disconnectIfFinished(const SG::SourceID &fid) const =0