#include <McIterator.h>
Definition at line 8 of file McIterator.h.
◆ McIterator() [1/2]
McIterator::McIterator |
( |
const IEvtSelector * |
selector | ) |
|
|
inline |
Definition at line 11 of file McIterator.h.
11 :
12 m_evtSelector(selector),
13 m_runNo(0), m_eventNo(0),
14 m_eventsP(1000000) {}
◆ McIterator() [2/2]
Definition at line 15 of file McIterator.h.
15 : m_evtSelector(it.m_evtSelector),
16 m_runNo(it.m_runNo),
17 m_eventNo(it.m_eventNo),
18 m_eventsP(1000000) {}
◆ ~McIterator()
virtual McIterator::~McIterator |
( |
void |
| ) |
|
|
inlinevirtual |
◆ eventNumber()
unsigned int McIterator::eventNumber |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool McIterator::operator!= |
( |
const Iterator & |
it | ) |
const |
|
virtual |
Definition at line 47 of file McIterator.cxx.
47 {
49}
virtual bool operator==(const Iterator &it) const
◆ operator*()
IOpaqueAddress * McIterator::operator* |
( |
| ) |
const |
|
virtual |
Definition at line 6 of file McIterator.cxx.
6 {
7 return dereference();
8}
◆ operator++() [1/2]
IEvtSelector::Iterator & McIterator::operator++ |
( |
| ) |
|
|
virtual |
Definition at line 12 of file McIterator.cxx.
12 {
13 if(m_eventNo>=m_eventsP){
14 m_runNo++;
15 m_eventNo=1;
16 }
17 m_eventNo++;
18 return *this;
19}
◆ operator++() [2/2]
IEvtSelector::Iterator & McIterator::operator++ |
( |
int |
| ) |
|
|
virtual |
Definition at line 24 of file McIterator.cxx.
24 {
25
26 if(m_eventNo>=m_eventsP){
27 m_runNo++;
28 m_eventNo=1;
29 }
30 m_eventNo++;
31 return *this;
32}
◆ operator--() [1/2]
IEvtSelector::Iterator & McIterator::operator-- |
( |
| ) |
|
|
virtual |
Definition at line 20 of file McIterator.cxx.
20 {
21 m_eventNo--;
22 return *this;
23}
◆ operator--() [2/2]
IEvtSelector::Iterator & McIterator::operator-- |
( |
int |
| ) |
|
|
virtual |
Definition at line 34 of file McIterator.cxx.
34 {
35 m_eventNo--;
36 return *this;
37}
◆ operator->()
IOpaqueAddress * McIterator::operator-> |
( |
| ) |
const |
|
virtual |
Definition at line 9 of file McIterator.cxx.
9 {
10 return dereference();
11}
◆ operator==()
bool McIterator::operator== |
( |
const Iterator & |
it | ) |
const |
|
virtual |
Definition at line 39 of file McIterator.cxx.
39 {
41 return (NULL != zIt) &&
44}
unsigned int eventNumber() const
unsigned int runNumber() const
Referenced by operator!=().
◆ runNumber()
unsigned int McIterator::runNumber |
( |
| ) |
const |
|
inline |
◆ setEventNumber()
void McIterator::setEventNumber |
( |
unsigned int |
eventNo | ) |
|
|
inline |
◆ setEventsPerRun()
void McIterator::setEventsPerRun |
( |
unsigned int |
eventsP | ) |
|
|
inline |
Definition at line 36 of file McIterator.h.
36{ m_eventsP = eventsP ; }
◆ setRunNumber()
void McIterator::setRunNumber |
( |
unsigned int |
runNo | ) |
|
|
inline |
The documentation for this class was generated from the following files: