EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <online_distribution/blob/master/newbasic/oncsEventiterator.h>
Public Member Functions | |
virtual | ~oncsEventiterator () |
oncsEventiterator (const char *filename) | |
oncsEventiterator (const char *filename, int &status) | |
const char * | getIdTag () const |
virtual void | identify (std::ostream &os=std::cout) const |
Event * | getNextEvent () |
Public Member Functions inherited from Eventiterator | |
virtual | ~Eventiterator () |
The virtual destructor. | |
virtual int * | getNextEventData () |
virtual int | releaseEventData () |
virtual void | setBlockingMode (const int mode) |
virtual int | getBlockingMode () const |
virtual void | setSelectMode (const int mode) |
virtual int | getSelectMode () const |
virtual void | setSelectWords (const int i1, const int i2, const int i3, const int i4) |
virtual void | getSelectWords (int val[]) const |
virtual const char * | getCurrentFileName () const |
virtual int | setVerbosity (const int v) |
virtual int | getVerbosity () const |
Private Member Functions | |
int | read_next_buffer () |
Private Attributes | |
char * | thefilename |
int | fd |
unsigned int | initialbuffer [BUFFERSIZE] |
int * | bp |
int | allocatedsize |
int | current_index |
int | last_read_status |
int | buffer_size |
oncsBuffer * | bptr |
Definition at line 9 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 9 of file oncsEventiterator.h
|
virtual |
Definition at line 23 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 23 of file oncsEventiterator.cc
References bp, bptr, fd, and thefilename.
oncsEventiterator::oncsEventiterator | ( | const char * | filename | ) |
Definition at line 32 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 32 of file oncsEventiterator.cc
References allocatedsize, bp, bptr, current_index, fd, last_read_status, Acts::open, and thefilename.
oncsEventiterator::oncsEventiterator | ( | const char * | filename, |
int & | status | ||
) |
Definition at line 50 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 50 of file oncsEventiterator.cc
References allocatedsize, bp, bptr, current_index, fd, last_read_status, Acts::open, and thefilename.
|
virtual |
Implements Eventiterator.
Definition at line 78 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 78 of file oncsEventiterator.cc
References thefilename.
Referenced by identify().
|
virtual |
this member function returns a pointer to the Event object, or NULL if there no events left.
Implements Eventiterator.
Definition at line 90 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 90 of file oncsEventiterator.cc
References bptr, oncsBuffer::getEvent(), last_read_status, and read_next_buffer().
|
virtual |
Implements Eventiterator.
Definition at line 72 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 72 of file oncsEventiterator.cc
References getIdTag().
|
private |
Definition at line 123 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 123 of file oncsEventiterator.cc
References allocatedsize, bp, bptr, buffer_size, BUFFERBLOCKSIZE, fd, oncsBuffer::i4swap(), initialbuffer, ip(), ONCSBUFFERID, PRDFBUFFERID, and read().
Referenced by getNextEvent().
|
private |
Definition at line 32 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 32 of file oncsEventiterator.h
Referenced by oncsEventiterator(), and read_next_buffer().
|
private |
Definition at line 31 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 31 of file oncsEventiterator.h
Referenced by oncsEventiterator(), read_next_buffer(), and ~oncsEventiterator().
|
private |
Definition at line 37 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 37 of file oncsEventiterator.h
Referenced by getNextEvent(), oncsEventiterator(), read_next_buffer(), and ~oncsEventiterator().
|
private |
Definition at line 36 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 36 of file oncsEventiterator.h
Referenced by read_next_buffer().
|
private |
Definition at line 34 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 34 of file oncsEventiterator.h
Referenced by oncsEventiterator().
|
private |
Definition at line 29 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 29 of file oncsEventiterator.h
Referenced by oncsEventiterator(), read_next_buffer(), and ~oncsEventiterator().
|
private |
Definition at line 30 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 30 of file oncsEventiterator.h
Referenced by read_next_buffer().
|
private |
Definition at line 35 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 35 of file oncsEventiterator.h
Referenced by getNextEvent(), and oncsEventiterator().
|
private |
Definition at line 28 of file oncsEventiterator.h.
View newest version in sPHENIX GitHub at line 28 of file oncsEventiterator.h
Referenced by getIdTag(), oncsEventiterator(), and ~oncsEventiterator().