ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaKernel
AthenaKernel
IEvtSelectorSeek.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
5
*/
6
7
// $Id$
14
15
#ifndef ATHENAKERNEL_IEVTSELECTORSEEK_H
16
#define ATHENAKERNEL_IEVTSELECTORSEEK_H
17
18
#include "GaudiKernel/StatusCode.h"
19
#include "GaudiKernel/INamedInterface.h"
20
#include "GaudiKernel/IEvtSelector.h"
21
26
27
class
IEvtSelectorSeek
:
virtual
public
INamedInterface
28
{
29
public
:
30
DeclareInterfaceID
(
IEvtSelectorSeek
, 1, 0);
31
32
37
virtual
StatusCode
seek
(IEvtSelector::Context& c,
int
evtnum)
const
= 0;
38
39
44
virtual
int
curEvent
(
const
IEvtSelector::Context& c)
const
= 0;
45
46
50
virtual
int
size
(IEvtSelector::Context& c)
const
= 0;
51
};
52
53
54
#endif
// not ATHENAKERNEL_IEVTSELECTORSEEK_H
55
IEvtSelectorSeek
Abstract interface for seeking for an event selector.
Definition
IEvtSelectorSeek.h:28
IEvtSelectorSeek::DeclareInterfaceID
DeclareInterfaceID(IEvtSelectorSeek, 1, 0)
IEvtSelectorSeek::curEvent
virtual int curEvent(const IEvtSelector::Context &c) const =0
return the current event number.
IEvtSelectorSeek::seek
virtual StatusCode seek(IEvtSelector::Context &c, int evtnum) const =0
Seek to a given event number.
IEvtSelectorSeek::size
virtual int size(IEvtSelector::Context &c) const =0
Return the size of the collection, or -1 if we can't get the size.
Generated on
for ATLAS Offline Software by
1.17.0