Analysis Software
Documentation for sPHENIX simulation software
|
#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) |
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 |
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 24 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 24 of file oncsEventiterator.cc
References bp, bptr, fd, and thefilename.
oncsEventiterator::oncsEventiterator | ( | const char * | filename | ) |
Definition at line 33 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 33 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 51 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 51 of file oncsEventiterator.cc
References allocatedsize, bp, bptr, current_index, fd, last_read_status, Acts::open, and thefilename.
|
virtual |
Implements Eventiterator.
Definition at line 79 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 79 of file oncsEventiterator.cc
References line, and 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 91 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 91 of file oncsEventiterator.cc
References bptr, oncsBuffer::getEvent(), last_read_status, and read_next_buffer().
|
virtual |
Implements Eventiterator.
Definition at line 73 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 73 of file oncsEventiterator.cc
References getIdTag().
|
private |
Definition at line 124 of file oncsEventiterator.cc.
View newest version in sPHENIX GitHub at line 124 of file oncsEventiterator.cc
References allocatedsize, bp, bptr, buffer_size, BUFFERBLOCKSIZE, COUT, fd, i, oncsBuffer::i4swap(), initialbuffer, ONCSBUFFERID, PRDFBUFFERID, and ActsExamples::JsonSurfacesReader::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().