Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gzbuffer Class Reference

#include <online_distribution/blob/master/newbasic/gzbuffer.h>

+ Inheritance diagram for gzbuffer:
+ Collaboration diagram for gzbuffer:

Public Member Functions

 gzbuffer (PHDWORD *array, const int length)
 
 ~gzbuffer ()
 
EventgetEvent ()
 
- Public Member Functions inherited from prdfBuffer
 prdfBuffer ()
 
 prdfBuffer (PHDWORD *array, const int length)
 
 ~prdfBuffer ()
 
EventgetEvent ()
 
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

PHDWORDbufferarray
 
buffertheBuffer
 
- Protected Attributes inherited from prdfBuffer
buffer_ptr bptr
 
PHDWORDdata_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)
 

Detailed Description

Definition at line 7 of file gzbuffer.h.

View newest version in sPHENIX GitHub at line 7 of file gzbuffer.h

Constructor & Destructor Documentation

gzbuffer::gzbuffer ( PHDWORD array,
const int  length 
)

Definition at line 5 of file gzbuffer.cc.

View newest version in sPHENIX GitHub at line 5 of file gzbuffer.cc

References bufferarray, BUFFERHEADERLENGTH, COUT, GZBUFFERMARKER, i, buffer::i4swap(), prdfBuffer::is_good, prdfBuffer::prdfBuffer(), theBuffer, and buffer::u4swap().

+ Here is the call graph for this function:

gzbuffer::~gzbuffer ( )

Definition at line 51 of file gzbuffer.cc.

View newest version in sPHENIX GitHub at line 51 of file gzbuffer.cc

References bufferarray, and theBuffer.

Member Function Documentation

Event * gzbuffer::getEvent ( )
virtual

Implements buffer.

Definition at line 44 of file gzbuffer.cc.

View newest version in sPHENIX GitHub at line 44 of file gzbuffer.cc

References buffer::getEvent(), and theBuffer.

+ Here is the call graph for this function:

Member Data Documentation

PHDWORD* gzbuffer::bufferarray
protected

Definition at line 24 of file gzbuffer.h.

View newest version in sPHENIX GitHub at line 24 of file gzbuffer.h

Referenced by gzbuffer(), and ~gzbuffer().

buffer* gzbuffer::theBuffer
protected

Definition at line 25 of file gzbuffer.h.

View newest version in sPHENIX GitHub at line 25 of file gzbuffer.h

Referenced by getEvent(), gzbuffer(), and ~gzbuffer().


The documentation for this class was generated from the following files: