15#ifndef ATHENAKERNEL_IEVTSELECTORSEEK_H
16#define ATHENAKERNEL_IEVTSELECTORSEEK_H
18#include "GaudiKernel/StatusCode.h"
19#include "GaudiKernel/INamedInterface.h"
20#include "GaudiKernel/IEvtSelector.h"
37 virtual StatusCode
seek (IEvtSelector::Context& c,
int evtnum)
const = 0;
44 virtual int curEvent (
const IEvtSelector::Context& c)
const = 0;
50 virtual int size (IEvtSelector::Context& c)
const = 0;
Abstract interface for seeking for an event selector.
DeclareInterfaceID(IEvtSelectorSeek, 1, 0)
virtual int curEvent(const IEvtSelector::Context &c) const =0
return the current event number.
virtual StatusCode seek(IEvtSelector::Context &c, int evtnum) const =0
Seek to a given event number.
virtual int size(IEvtSelector::Context &c) const =0
Return the size of the collection, or -1 if we can't get the size.