![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <online_distribution/blob/master/newbasic/oncsBuffer.h>
Inheritance diagram for oncsBuffer:
Collaboration diagram for oncsBuffer:Classes | |
| struct | buffer_ptr |
Public Member Functions | |
| oncsBuffer (PHDWORD *array, const PHDWORD length) | |
| Event * | getEvent () |
| int | buffer_swap () |
| int * | getEventData () |
| int | isGood () const |
Public Member Functions inherited from buffer | |
| buffer () | |
| virtual | ~buffer () |
Static Public Member Functions | |
| static int | i4swap (const int in) |
| static int | i22swap (const int in) |
| static short | i2swap (const short in) |
Static Public Member Functions inherited from buffer | |
| static int | makeBuffer (PHDWORD *bp, const int allocatedsize, buffer **bptr) |
| static int | i4swap (const int in) |
| static unsigned int | u4swap (const unsigned int in) |
| static int | i22swap (const int in) |
| static short | i2swap (const short in) |
Protected Attributes | |
| int * | data_ptr |
| int | buffer_size |
| int | max_length |
| int | current_index |
| buffer_ptr | bptr |
Definition at line 17 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 17 of file oncsBuffer.h
Definition at line 6 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 6 of file oncsBuffer.cc
References bptr, buffer_size, buffer_swap(), COUT, current_index, oncsBuffer::buffer_ptr::data, data_ptr, i4swap(), oncsBuffer::buffer_ptr::ID, BTOF::length, max_length, ONCSBUFFERID, and PRDFBUFFERID.
Here is the call graph for this function:| int oncsBuffer::buffer_swap | ( | ) |
Definition at line 31 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 31 of file oncsBuffer.cc
References bptr, BUFFERHEADERLENGTH, oncsBuffer::buffer_ptr::Bufseq, COUT, subevt_data::data, oncsevt_data::data, oncsBuffer::buffer_ptr::data, oncsevt_data::evt_length, oncsevt_data::evt_type, EVTHEADERLENGTH, i22swap(), i2swap(), i4swap(), oncsBuffer::buffer_ptr::ID, oncsBuffer::buffer_ptr::Length, subevt_data::reserved, oncsBuffer::buffer_ptr::Runnr, SEVTHEADERLENGTH, subevt_data::sub_decoding, subevt_data::sub_id, subevt_data::sub_length, subevt_data::sub_padding, and subevt_data::sub_type.
Referenced by oncsBuffer().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements buffer.
Definition at line 166 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 166 of file oncsBuffer.cc
References bptr, buffer_size, current_index, oncsBuffer::buffer_ptr::data, and Event::getEvtLength().
Referenced by oncsEventiterator::getNextEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Implements buffer.
Definition at line 33 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 33 of file oncsBuffer.h
Definition at line 132 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 132 of file oncsBuffer.cc
Referenced by buffer_swap().
Here is the caller graph for this function:
|
static |
Definition at line 149 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 149 of file oncsBuffer.cc
Referenced by buffer_swap().
Here is the caller graph for this function:Definition at line 116 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 116 of file oncsBuffer.cc
Referenced by buffer_swap(), oncsBuffer(), and oncsEventiterator::read_next_buffer().
Here is the caller graph for this function:
|
inlinevirtual |
Implements buffer.
Definition at line 34 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 34 of file oncsBuffer.h
|
protected |
Definition at line 54 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 54 of file oncsBuffer.h
Referenced by buffer_swap(), getEvent(), and oncsBuffer().
|
protected |
Definition at line 51 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 51 of file oncsBuffer.h
Referenced by getEvent(), and oncsBuffer().
|
protected |
Definition at line 53 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 53 of file oncsBuffer.h
Referenced by getEvent(), and oncsBuffer().
|
protected |
Definition at line 50 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 50 of file oncsBuffer.h
Referenced by oncsBuffer().
|
protected |
Definition at line 52 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 52 of file oncsBuffer.h
Referenced by oncsBuffer().