Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Eventiterator.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file Eventiterator.h
1 // -*- c++ -*-
2 #ifndef __EVENTITERATOR_H__
3 #define __EVENTITERATOR_H__
4 
5 #include "Event.h"
6 
7 
12 #ifndef __CINT__
14 #else
15 class Eventiterator {
16 #endif
17 public:
19  inline virtual ~Eventiterator(){};
20 
21  virtual const char * getIdTag() const =0;
22 
23  virtual void identify(std::ostream& os = std::cout) const = 0;
24 
25 
30  virtual Event *getNextEvent() = 0;
31 
32 
38  virtual int *getNextEventData() {return 0;};
39  virtual int releaseEventData() {return 0;};
40 
41  virtual void setBlockingMode(const int /*mode*/) {};
42  virtual int getBlockingMode() const {return 0;};
43 
44  virtual void setSelectMode(const int /*mode*/) {};
45  virtual int getSelectMode() const {return 0;};
46 
47  virtual void setSelectWords(const int , const int , const int , const int ) {};
48  virtual void getSelectWords(int []) const {};
49 
50  virtual const char * getCurrentFileName() const { return " "; };
51 
52  virtual int setVerbosity(const int ) { return -1; }; // most iterators don't have the concept
53  virtual int getVerbosity() const { return -1; };
54 
55 
56 };
57 
58 #endif /* __EVENTITERATOR_H__ */