1#ifndef MCEVENTSELECTOR_MCITERAROR_H
2# define MCEVENTSELECTOR_MCITERATOR_H 1
4# include "GaudiKernel/IEvtSelector.h"
8class McIterator :
virtual public IEvtSelector::Iterator {
11 : m_evtSelector( selector ), m_runNo( 0 ), m_eventNo( 0 ), m_eventsP( 1000000 ) {}
13 : m_evtSelector( it.m_evtSelector )
14 , m_runNo( it.m_runNo )
15 , m_eventNo( it.m_eventNo )
16 , m_eventsP( 1000000 ) {}
20 virtual IOpaqueAddress*
operator*()
const;
26 virtual bool operator==(
const Iterator& it )
const;
27 virtual bool operator!=(
const Iterator& it )
const;
39 const IEvtSelector* m_evtSelector;
42 unsigned int m_eventNo;
43 unsigned int m_eventsP;
virtual bool operator!=(const Iterator &it) const
virtual Iterator & operator++()
virtual Iterator & operator--()
McIterator(const IEvtSelector *selector)
virtual bool operator==(const Iterator &it) const
unsigned int eventNumber() const
void setRunNumber(unsigned int runNo)
virtual IOpaqueAddress * operator->() const
McIterator(const McIterator &it)
unsigned int runNumber() const
virtual ~McIterator(void)
void setEventsPerRun(unsigned int eventsP)
virtual IOpaqueAddress * operator*() const
void setEventNumber(unsigned int eventNo)