Analysis Software
Documentation for sPHENIX simulation software
|
#include <analysis/blob/master/TPC/groot/prdfoStream.h>
Classes | |
struct | buffer_ptr |
Public Member Functions | |
prdfoStream (const char *filename, const int bufferlength=4 *1024 *1024) | |
virtual | ~prdfoStream () |
int | addEvent (Event *) |
int | is_defunct () const |
Protected Member Functions | |
int | addEoB () |
unsigned int | writeout () |
int | prepare_next (const int iseq, const int irun=0) |
Static Protected Member Functions | |
static unsigned int | writen (int fd, char *ptr, const unsigned int nbytes) |
Protected Attributes | |
std::string | _filename |
int | has_buffer |
int | buffer_sequence |
buffer_ptr | bptr |
int * | data_ptr |
int | current_index |
int | max_length |
int | max_size |
int | left |
int | has_end |
int | fd |
int | defunct |
Definition at line 9 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 9 of file prdfoStream.h
prdfoStream::prdfoStream | ( | const char * | filename, |
const int | bufferlength = 4*1024*1024 |
||
) |
Definition at line 13 of file prdfoStream.cc.
View newest version in sPHENIX GitHub at line 13 of file prdfoStream.cc
References KFPMath::b, fd, filename, G4PLUGDOOR::length, and Acts::open.
|
virtual |
Definition at line 47 of file prdfoStream.cc.
View newest version in sPHENIX GitHub at line 47 of file prdfoStream.cc
References KFPMath::b, and fd.
|
protected |
Definition at line 108 of file prdfoStream.cc.
View newest version in sPHENIX GitHub at line 108 of file prdfoStream.cc
int prdfoStream::addEvent | ( | Event * | evt | ) |
Definition at line 80 of file prdfoStream.cc.
View newest version in sPHENIX GitHub at line 80 of file prdfoStream.cc
References Event::Copy(), EOBLENGTH, Event::getEvtLength(), Event::getRunNumber(), and left().
Referenced by process_event().
|
inline |
Definition at line 21 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 21 of file prdfoStream.h
References defunct.
Referenced by prdfopen().
|
protected |
Definition at line 57 of file prdfoStream.cc.
View newest version in sPHENIX GitHub at line 57 of file prdfoStream.cc
References BUFFERHEADERLENGTH, EOBLENGTH, and left().
|
staticprotected |
Definition at line 135 of file prdfoStream.cc.
View newest version in sPHENIX GitHub at line 135 of file prdfoStream.cc
References write().
|
protected |
Definition at line 120 of file prdfoStream.cc.
View newest version in sPHENIX GitHub at line 120 of file prdfoStream.cc
References BUFFERHEADERLENGTH, fd, and writen().
|
protected |
Definition at line 36 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 36 of file prdfoStream.h
|
protected |
Definition at line 50 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 50 of file prdfoStream.h
|
protected |
Definition at line 48 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 48 of file prdfoStream.h
|
protected |
Definition at line 52 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 52 of file prdfoStream.h
|
protected |
Definition at line 51 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 51 of file prdfoStream.h
|
protected |
Definition at line 59 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 59 of file prdfoStream.h
Referenced by is_defunct().
|
protected |
Definition at line 58 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 58 of file prdfoStream.h
|
protected |
Definition at line 47 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 47 of file prdfoStream.h
|
protected |
Definition at line 56 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 56 of file prdfoStream.h
|
protected |
Definition at line 55 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 55 of file prdfoStream.h
|
protected |
Definition at line 53 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 53 of file prdfoStream.h
|
protected |
Definition at line 54 of file prdfoStream.h.
View newest version in sPHENIX GitHub at line 54 of file prdfoStream.h