Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Eventiterator Class Referenceabstract

#include <online_distribution/blob/master/newbasic/Eventiterator.h>

+ Inheritance diagram for Eventiterator:

Public Member Functions

virtual ~Eventiterator ()
 The virtual destructor.
 
virtual const char * getIdTag () const =0
 
virtual void identify (std::ostream &os=std::cout) const =0
 
virtual EventgetNextEvent ()=0
 
virtual int * getNextEventData ()
 
virtual int releaseEventData ()
 
virtual void setBlockingMode (const int)
 
virtual int getBlockingMode () const
 
virtual void setSelectMode (const int)
 
virtual int getSelectMode () const
 
virtual void setSelectWords (const int, const int, const int, const int)
 
virtual void getSelectWords (int[]) const
 
virtual const char * getCurrentFileName () const
 
virtual int setVerbosity (const int)
 
virtual int getVerbosity () const
 

Detailed Description

The Eventiterator creates and returns pointers to Event objects. This is the virtual base class of a variety of different iterators.

Definition at line 13 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 13 of file Eventiterator.h

Constructor & Destructor Documentation

virtual Eventiterator::~Eventiterator ( )
inlinevirtual

The virtual destructor.

Definition at line 19 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 19 of file Eventiterator.h

Member Function Documentation

virtual int Eventiterator::getBlockingMode ( ) const
inlinevirtual

Definition at line 42 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 42 of file Eventiterator.h

virtual const char* Eventiterator::getCurrentFileName ( ) const
inlinevirtual

Reimplemented in listEventiterator, and fileEventiterator.

Definition at line 50 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 50 of file Eventiterator.h

virtual const char* Eventiterator::getIdTag ( ) const
pure virtual
virtual Event* Eventiterator::getNextEvent ( )
pure virtual

this member function returns a pointer to the Event object, or NULL if there no events left.

Implemented in listEventiterator, fileEventiterator, testEventiterator, rcdaqEventiterator, and oncsEventiterator.

Referenced by hLabHelper::evDisplay(), EventLoop(), hcalHelper::evLoop(), tileHelper::evLoop(), SingleZdcInput::FillPool(), SingleInttPoolInput::FillPool(), SinglePrdfInput::FillPool(), hcal::GetNextEvent(), listEventiterator::getNextEvent(), main(), pprocess(), prun(), Fun4AllPrdfInputManager::PushBackEvents(), and Fun4AllPrdfInputManager::run().

+ Here is the caller graph for this function:

virtual int* Eventiterator::getNextEventData ( )
inlinevirtual
the next member functions do nothing for most iterators

except the etEventiterator. It's still easier to give the parent class the interfaces

Definition at line 38 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 38 of file Eventiterator.h

virtual int Eventiterator::getSelectMode ( ) const
inlinevirtual

Definition at line 45 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 45 of file Eventiterator.h

virtual void Eventiterator::getSelectWords ( int  []) const
inlinevirtual

Definition at line 48 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 48 of file Eventiterator.h

virtual int Eventiterator::getVerbosity ( ) const
inlinevirtual

Reimplemented in fileEventiterator.

Definition at line 53 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 53 of file Eventiterator.h

virtual void Eventiterator::identify ( std::ostream &  os = std::cout) const
pure virtual

Implemented in listEventiterator, fileEventiterator, rcdaqEventiterator, testEventiterator, and oncsEventiterator.

Referenced by daq_status_plugin(), EventLoop(), PHG4CylinderGeom_Spacalv3::Print(), DumpRawTowerGeomContainer::process_Node(), and pstatus().

+ Here is the caller graph for this function:

virtual int Eventiterator::releaseEventData ( )
inlinevirtual

Definition at line 39 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 39 of file Eventiterator.h

virtual void Eventiterator::setBlockingMode ( const int  )
inlinevirtual

Definition at line 41 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 41 of file Eventiterator.h

virtual void Eventiterator::setSelectMode ( const int  )
inlinevirtual

Definition at line 44 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 44 of file Eventiterator.h

virtual void Eventiterator::setSelectWords ( const int  ,
const int  ,
const int  ,
const int   
)
inlinevirtual

Definition at line 47 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 47 of file Eventiterator.h

virtual int Eventiterator::setVerbosity ( const int  )
inlinevirtual

Reimplemented in fileEventiterator.

Definition at line 52 of file Eventiterator.h.

View newest version in sPHENIX GitHub at line 52 of file Eventiterator.h

Referenced by main().

+ Here is the caller graph for this function:


The documentation for this class was generated from the following file: