Analysis Software
Documentation for sPHENIX simulation software
|
#include <online_distribution/blob/master/newbasic/prdfBuffer.h>
Classes | |
struct | buffer_ptr |
Public Member Functions | |
prdfBuffer () | |
prdfBuffer (PHDWORD *array, const int length) | |
~prdfBuffer () | |
Event * | getEvent () |
int * | getEventData () |
int | isGood () const |
int | buffer_swap () |
int | frame_swap (PHDWORD *fp, const int eventlength) |
Public Member Functions inherited from buffer | |
buffer () | |
virtual | ~buffer () |
Protected Attributes | |
buffer_ptr | bptr |
PHDWORD * | data_ptr |
int | buffer_size |
int | max_length |
int | current_index |
int | is_good |
Additional Inherited Members | |
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) |
Definition at line 12 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 12 of file prdfBuffer.h
prdfBuffer::prdfBuffer | ( | ) |
Definition at line 9 of file prdfBuffer.cc.
View newest version in sPHENIX GitHub at line 9 of file prdfBuffer.cc
References is_good.
Referenced by gzbuffer::gzbuffer(), and lzobuffer::lzobuffer().
prdfBuffer::prdfBuffer | ( | PHDWORD * | array, |
const int | length | ||
) |
Definition at line 14 of file prdfBuffer.cc.
View newest version in sPHENIX GitHub at line 14 of file prdfBuffer.cc
References bptr, buffer_size, buffer_swap(), BUFFERMARKER, COUT, current_index, prdfBuffer::buffer_ptr::data, data_ptr, prdfBuffer::buffer_ptr::ID, is_good, G4PLUGDOOR::length, max_length, and buffer::u4swap().
prdfBuffer::~prdfBuffer | ( | ) |
Definition at line 44 of file prdfBuffer.cc.
View newest version in sPHENIX GitHub at line 44 of file prdfBuffer.cc
int prdfBuffer::buffer_swap | ( | ) |
Definition at line 47 of file prdfBuffer.cc.
View newest version in sPHENIX GitHub at line 47 of file prdfBuffer.cc
References bptr, BUFFERHEADERLENGTH, prdfBuffer::buffer_ptr::Bufseq, CORRUPTEVENTMASK, COUT, evt_data::data, prdfBuffer::buffer_ptr::data, evt_data::evt_length, evt_data::evt_type, EVTHEADERLENGTH, frame_swap(), getFrameLength(), i, buffer::i4swap(), prdfBuffer::buffer_ptr::ID, prdfBuffer::buffer_ptr::Length, and prdfBuffer::buffer_ptr::Runnr.
Referenced by prdfBuffer().
int prdfBuffer::frame_swap | ( | PHDWORD * | fp, |
const int | eventlength | ||
) |
Definition at line 131 of file prdfBuffer.cc.
View newest version in sPHENIX GitHub at line 131 of file prdfBuffer.cc
References i, and buffer::i4swap().
Referenced by buffer_swap().
|
virtual |
Implements buffer.
Definition at line 150 of file prdfBuffer.cc.
View newest version in sPHENIX GitHub at line 150 of file prdfBuffer.cc
References bptr, buffer_size, current_index, prdfBuffer::buffer_ptr::data, is_good, and max_length.
|
virtual |
Implements buffer.
Definition at line 205 of file prdfBuffer.cc.
View newest version in sPHENIX GitHub at line 205 of file prdfBuffer.cc
References bptr, buffer_size, current_index, prdfBuffer::buffer_ptr::data, and max_length.
|
inlinevirtual |
Implements buffer.
Definition at line 30 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 30 of file prdfBuffer.h
|
protected |
Definition at line 45 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 45 of file prdfBuffer.h
Referenced by buffer_swap(), getEvent(), getEventData(), and prdfBuffer().
|
protected |
Definition at line 47 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 47 of file prdfBuffer.h
Referenced by getEvent(), getEventData(), and prdfBuffer().
|
protected |
Definition at line 49 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 49 of file prdfBuffer.h
Referenced by getEvent(), getEventData(), and prdfBuffer().
|
protected |
Definition at line 46 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 46 of file prdfBuffer.h
Referenced by prdfBuffer().
|
protected |
Definition at line 50 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 50 of file prdfBuffer.h
Referenced by getEvent(), gzbuffer::gzbuffer(), lzobuffer::lzobuffer(), and prdfBuffer().
|
protected |
Definition at line 48 of file prdfBuffer.h.
View newest version in sPHENIX GitHub at line 48 of file prdfBuffer.h
Referenced by getEvent(), getEventData(), and prdfBuffer().