Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/framework/phoolraw/PHRawOManager.h>
Public Member Functions | |
PHRawOManager () | |
PHRawOManager (const std::string &, const int run=0, const int bufl=100000, const int evtl=-1, const int complvl=3) | |
virtual | ~PHRawOManager () |
bool | setFile (const std::string &, const int setRun, const int setBufl, const int setEvtl, const int complvl) |
virtual void | closeFile () |
virtual bool | write (PHCompositeNode *) |
bool | write (PHRawDataNode *) |
virtual void | print () const |
Public Member Functions inherited from PHIOManager | |
virtual | ~PHIOManager () |
std::string | getFilename () const |
size_t | getEventNumber () const |
void | setEventNumber (const size_t evno) |
Private Attributes | |
int | filedesc |
PHDWORD * | memBuffer |
oBuffer * | fileBuffer |
int | runNumber |
int | bufferSize |
int | eventLength |
int | compressionLevel |
Additional Inherited Members | |
Protected Member Functions inherited from PHIOManager | |
PHIOManager () | |
Protected Attributes inherited from PHIOManager | |
std::string | filename |
size_t | eventNumber = 0 |
Definition at line 42 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 42 of file PHRawOManager.h
PHRawOManager::PHRawOManager | ( | ) |
Definition at line 45 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 45 of file PHRawOManager.cc
PHRawOManager::PHRawOManager | ( | const std::string & | newFile, |
const int | run = 0 , |
||
const int | bufl = 100000 , |
||
const int | evtl = -1 , |
||
const int | complvl = 3 |
||
) |
Definition at line 29 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 29 of file PHRawOManager.cc
References compressionLevel, fileBuffer, filedesc, PHIOManager::filename, memBuffer, and setFile().
|
virtual |
Definition at line 56 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 56 of file PHRawOManager.cc
References closeFile().
|
virtual |
Implements PHIOManager.
Definition at line 61 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 61 of file PHRawOManager.cc
References fileBuffer, filedesc, and memBuffer.
Referenced by setFile(), and ~PHRawOManager().
|
virtual |
Implements PHIOManager.
Definition at line 151 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 151 of file PHRawOManager.cc
References bufferSize, eventLength, PHIOManager::eventNumber, PHIOManager::filename, and runNumber.
bool PHRawOManager::setFile | ( | const std::string & | setFile, |
const int | setRun, | ||
const int | setBufl, | ||
const int | setEvtl, | ||
const int | complvl | ||
) |
Definition at line 80 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 80 of file PHRawOManager.cc
References bufferSize, closeFile(), compressionLevel, eventLength, fileBuffer, filedesc, PHIOManager::filename, memBuffer, Acts::open, PHError, PHMessage(), and runNumber.
Referenced by PHRawOManager().
|
virtual |
Implements PHIOManager.
Definition at line 117 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 117 of file PHRawOManager.cc
References DATAEVENT, eventLength, PHIOManager::eventNumber, fileBuffer, filedesc, oBuffer::nextEvent(), and PHCompositeNode::write().
Referenced by PHRawDataNode::write(), and Fun4AllPrdfOutputManager::Write().
bool PHRawOManager::write | ( | PHRawDataNode * | node | ) |
Definition at line 135 of file PHRawOManager.cc.
View newest version in sPHENIX GitHub at line 135 of file PHRawOManager.cc
References oBuffer::addUnstructPacketData(), fileBuffer, filedesc, PHDataNode< T >::getData(), PHRawDataNode::getHitFormat(), PHRawDataNode::getID(), PHRawDataNode::getLength(), PHRawDataNode::getWordLength(), PHError, and PHMessage().
|
private |
Definition at line 62 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 62 of file PHRawOManager.h
|
private |
Definition at line 64 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 64 of file PHRawOManager.h
Referenced by PHRawOManager(), and setFile().
|
private |
Definition at line 63 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 63 of file PHRawOManager.h
|
private |
Definition at line 60 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 60 of file PHRawOManager.h
Referenced by closeFile(), PHRawOManager(), setFile(), and write().
|
private |
Definition at line 58 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 58 of file PHRawOManager.h
Referenced by closeFile(), PHRawOManager(), setFile(), and write().
|
private |
Definition at line 59 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 59 of file PHRawOManager.h
Referenced by closeFile(), PHRawOManager(), and setFile().
|
private |
Definition at line 61 of file PHRawOManager.h.
View newest version in sPHENIX GitHub at line 61 of file PHRawOManager.h