Analysis Software
Documentation for sPHENIX simulation software
|
#include <online_distribution/blob/master/newbasic/oncsBuffer.h>
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, G4PLUGDOOR::length, max_length, ONCSBUFFERID, and PRDFBUFFERID.
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, i, i22swap(), i2swap(), i4swap(), oncsBuffer::buffer_ptr::ID, oncsBuffer::buffer_ptr::Length, Length, merge_hashes::p, 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().
|
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().
|
inlinevirtual |
Implements buffer.
Definition at line 33 of file oncsBuffer.h.
View newest version in sPHENIX GitHub at line 33 of file oncsBuffer.h
|
static |
Definition at line 132 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 132 of file oncsBuffer.cc
References Acts::PhysicalConstants::c, i, and in.
Referenced by buffer_swap().
|
static |
Definition at line 149 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 149 of file oncsBuffer.cc
References Acts::PhysicalConstants::c, i, and in.
Referenced by buffer_swap().
|
static |
Definition at line 116 of file oncsBuffer.cc.
View newest version in sPHENIX GitHub at line 116 of file oncsBuffer.cc
References Acts::PhysicalConstants::c, i, and in.
Referenced by buffer_swap(), oncsBuffer(), and oncsEventiterator::read_next_buffer().
|
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().