1#ifndef ROOTEVTSELECTOR_H
2#define ROOTEVTSELECTOR_H 1
4#include "GaudiKernel/IEvtSelector.h"
5#include "GaudiKernel/ISvcLocator.h"
6#include "GaudiKernel/Service.h"
13static const InterfaceID IID_IRootEvtSelector(
"IRootEvtSelector", 1, 0);
28 virtual public IEvtSelector,
29 virtual public IProperty {
40 StatusCode
next()
const;
41 virtual StatusCode
next(Context& it)
const;
42 virtual StatusCode
next(Context& it,
int jump)
const;
43 virtual StatusCode
previous(Context& it)
const;
44 virtual StatusCode
previous(Context& it,
int jump)
const;
46 virtual StatusCode
last(Context& it)
const;
47 virtual StatusCode
rewind(Context& it)
const;
49 virtual StatusCode
createAddress(
const Context& it,IOpaqueAddress*& iop)
const;
51 virtual StatusCode
resetCriteria(
const std::string& criteria, Context& context)
const;
53 virtual StatusCode
setCriteria(
const std::string& criteria );
56 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvInterface);
68 StatusCode getMaxEvent();
73 std::string m_criteria;
74 StringProperty m_jobInput;
75 CriteriaType m_criteriaType;
81 IAddressCreator* m_addrCreator;
This class provides the Context for RootEventSelector.
RootEvtSelector performs the function of controlling the ApplicationMgr loop.
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
virtual StatusCode setCriteria(const std::string &criteria)
virtual StatusCode previous(Context &it, int jump) const
virtual StatusCode createContext(Context *&it) const
virtual StatusCode initialize()
virtual StatusCode next(Context &it, int jump) const
virtual StatusCode createAddress(const Context &it, IOpaqueAddress *&iop) const
virtual StatusCode rewind(Context &it) const
virtual StatusCode previous(Context &it) const
virtual StatusCode resetCriteria(const std::string &criteria, Context &context) const
virtual StatusCode releaseContext(Context *&it) const
virtual StatusCode next(Context &it) const
virtual StatusCode last(Context &it) const
RootEvtSelector(const std::string &name, ISvcLocator *svcloc)