ATLAS Offline Software
Public Member Functions | List of all members
IEvtSelectorSeek Class Referenceabstract

Abstract interface for seeking for an event selector. More...

#include <IEvtSelectorSeek.h>

Inheritance diagram for IEvtSelectorSeek:
Collaboration diagram for IEvtSelectorSeek:

Public Member Functions

 DeclareInterfaceID (IEvtSelectorSeek, 1, 0)
 
virtual StatusCode seek (IEvtSelector::Context &c, int evtnum) const =0
 Seek to a given event number. More...
 
virtual int curEvent (const IEvtSelector::Context &c) const =0
 return the current event number. More...
 
virtual int size (IEvtSelector::Context &c) const =0
 Return the size of the collection, or -1 if we can't get the size. More...
 

Detailed Description

Abstract interface for seeking for an event selector.

Definition at line 27 of file IEvtSelectorSeek.h.

Member Function Documentation

◆ curEvent()

virtual int IEvtSelectorSeek::curEvent ( const IEvtSelector::Context &  c) const
pure virtual

return the current event number.

Returns
The current event number.

Implemented in Athena::xAODEventSelector, and McEventSelector.

◆ DeclareInterfaceID()

IEvtSelectorSeek::DeclareInterfaceID ( IEvtSelectorSeek  ,
,
 
)

◆ seek()

virtual StatusCode IEvtSelectorSeek::seek ( IEvtSelector::Context &  c,
int  evtnum 
) const
pure virtual

Seek to a given event number.

Parameters
evtnumThe event number to which to seek.

Implemented in McEventSelector, and Athena::xAODEventSelector.

◆ size()

virtual int IEvtSelectorSeek::size ( IEvtSelector::Context &  c) const
pure virtual

Return the size of the collection, or -1 if we can't get the size.

Implemented in Athena::xAODEventSelector, and McEventSelector.


The documentation for this class was generated from the following file: