#include <FUShmRawCell.h>
Public Member Functions | |
unsigned int | buResourceId () const |
void | clear () |
void | dump () const |
unsigned int | eventSize () const |
unsigned int | evtNumber () const |
unsigned char * | fedAddr (unsigned int i) const |
unsigned int | fedSize (unsigned int i) const |
unsigned int | fuResourceId () const |
FUShmRawCell (unsigned int payloadSize) | |
unsigned int | getEventType () const |
unsigned int | getLumiSection () const |
unsigned int | index () const |
void | initialize (unsigned int index) |
bool | markFed (unsigned int i, unsigned int size, unsigned char *addr) |
bool | markSuperFrag (unsigned int i, unsigned int size, unsigned char *addr) |
unsigned int | nFed () const |
unsigned int | nSuperFrag () const |
unsigned char * | payloadAddr () const |
unsigned int | payloadSize () const |
unsigned int | readFed (unsigned int i, unsigned char *buffer) const |
void | setBuResourceId (unsigned int id) |
void | setEventTypeData () |
void | setEventTypeEol () |
void | setEventTypeStopper () |
void | setEvtNumber (unsigned int evt) |
void | setFuResourceId (unsigned int id) |
void | setLumiSection (unsigned int) |
unsigned char * | superFragAddr (unsigned int i) const |
unsigned int | superFragSize (unsigned int i) const |
unsigned char * | writeData (unsigned char *data, unsigned int dataSize) |
~FUShmRawCell () | |
Static Public Member Functions | |
static unsigned int | size (unsigned int payloadSize) |
Private Attributes | |
unsigned int | buResourceId_ |
unsigned int | eventType_ |
unsigned int | evtNumber_ |
unsigned int | fedOffset_ |
unsigned int | fedSizeOffset_ |
unsigned int | fuResourceId_ |
unsigned int | index_ |
unsigned int | lumiSection_ |
unsigned int | nFed_ |
unsigned int | nSuperFrag_ |
unsigned int | payloadOffset_ |
unsigned int | payloadPosition_ |
unsigned int | payloadSize_ |
unsigned int | superFragOffset_ |
unsigned int | superFragSizeOffset_ |
Definition at line 10 of file FUShmRawCell.h.
FUShmRawCell::FUShmRawCell | ( | unsigned int | payloadSize | ) |
Definition at line 29 of file FUShmRawCell.cc.
References fedAddr(), fedOffset_, fedSizeOffset_, nFed_, nSuperFrag_, payloadAddr(), payloadOffset_, payloadSize_, superFragAddr(), superFragOffset_, and superFragSizeOffset_.
Referenced by size().
FUShmRawCell::~FUShmRawCell | ( | ) |
Definition at line 62 of file FUShmRawCell.cc.
Referenced by evf::RawMsgBuf::~RawMsgBuf().
|
inline |
Definition at line 27 of file FUShmRawCell.h.
References buResourceId_.
Referenced by evf::FUResourceTable::discard(), and evf::FUResourceTable::discardWhileHalting().
void FUShmRawCell::clear | ( | void | ) |
Definition at line 147 of file FUShmRawCell.cc.
References buResourceId_, eventType_, fedSizeOffset_, fuResourceId_, i, lumiSection_, nFed(), evf::evt::NOP, nSuperFrag(), payloadPosition_, and superFragSizeOffset_.
Referenced by evf::FUResource::allocate(), Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), evf::RawCache::releaseMsg(), evf::FUShmBuffer::releaseRawCell(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), Vispa.Views.PropertyView.PropertyView::updateContent(), and evf::FUShmServer::writeNext().
void FUShmRawCell::dump | ( | void | ) | const |
Definition at line 166 of file FUShmRawCell.cc.
References gather_cfg::cout, fedAddr(), fedSize(), i, j, nFed(), and size().
unsigned int FUShmRawCell::eventSize | ( | ) | const |
Definition at line 140 of file FUShmRawCell.cc.
References payloadPosition_.
Referenced by evf::RawMsgBuf::usedSize(), and evf::FUShmBuffer::writeErrorEventData().
|
inline |
Definition at line 28 of file FUShmRawCell.h.
References evtNumber_.
Referenced by evf::IPCMethod::dumpEvent(), FUShmReader::fillRawData(), evf::FUShmBuffer::finishWritingRawCell(), and evf::FUShmBuffer::writeErrorEventData().
unsigned char * FUShmRawCell::fedAddr | ( | unsigned int | i | ) | const |
Definition at line 94 of file FUShmRawCell.cc.
References gather_cfg::cout, fedOffset_, i, nFed(), payloadAddr(), and query::result.
Referenced by dump(), evf::IPCMethod::dumpEvent(), FUShmRawCell(), markFed(), readFed(), and evf::FUShmBuffer::writeErrorEventData().
unsigned int FUShmRawCell::fedSize | ( | unsigned int | i | ) | const |
Definition at line 82 of file FUShmRawCell.cc.
References gather_cfg::cout, fedSizeOffset_, i, nFed(), and query::result.
Referenced by dump(), evf::IPCMethod::dumpEvent(), FUShmReader::fillRawData(), readFed(), evf::FUShmClient::readNext(), and evf::FUShmBuffer::writeErrorEventData().
|
inline |
Definition at line 26 of file FUShmRawCell.h.
References fuResourceId_.
Referenced by evf::FUResourceTable::discard(), evf::FUResourceTable::discardWhileHalting(), and evf::FUResourceTable::dropEvent().
|
inline |
Definition at line 69 of file FUShmRawCell.h.
References eventType_.
Referenced by FUShmReader::fillRawData().
|
inline |
Definition at line 70 of file FUShmRawCell.h.
References lumiSection_.
Referenced by FUShmReader::fillRawData().
|
inline |
Definition at line 25 of file FUShmRawCell.h.
References index_.
Referenced by BeautifulSoup.PageElement::_invert(), evf::FUResourceTable::discard(), evf::FUResourceTable::discardWhileHalting(), FUShmReader::fillRawData(), evf::FUShmBuffer::finishReadingRawCell(), evf::FUShmBuffer::finishWritingRawCell(), initialize(), evf::FUResourceTable::lastResort(), evf::FUShmBuffer::rawCellToDiscard(), evf::FUShmClient::readNext(), evf::FUShmBuffer::releaseRawCell(), evf::FUShmBuffer::scheduleRawEmptyCellForDiscard(), evf::FUShmBuffer::scheduleRawEmptyCellForDiscardServerSide(), evf::FUShmServer::writeNext(), evf::FUShmBuffer::writeRawEmptyEvent(), and evf::FUShmBuffer::writeRawLumiSectionEvent().
void FUShmRawCell::initialize | ( | unsigned int | index | ) |
Definition at line 73 of file FUShmRawCell.cc.
References eventType_, index(), index_, lumiSection_, and evf::evt::NOP.
Referenced by evf::FUResourceQueue::buildResource(), and evf::FUShmBuffer::reset().
bool FUShmRawCell::markFed | ( | unsigned int | i, |
unsigned int | size, | ||
unsigned char * | addr | ||
) |
Definition at line 215 of file FUShmRawCell.cc.
References gather_cfg::cout, fedAddr(), fedOffset_, fedSizeOffset_, i, nFed(), evf::evtn::offset(), payloadAddr(), payloadSize(), and size().
Referenced by evf::ResourceChecker::findFEDs(), evf::FUResource::process(), and evf::FUShmServer::writeNext().
bool FUShmRawCell::markSuperFrag | ( | unsigned int | i, |
unsigned int | size, | ||
unsigned char * | addr | ||
) |
Definition at line 244 of file FUShmRawCell.cc.
References gather_cfg::cout, i, nSuperFrag(), evf::evtn::offset(), payloadAddr(), payloadSize(), size(), superFragAddr(), superFragOffset_, and superFragSizeOffset_.
Referenced by evf::FUResource::fillSuperFragPayload(), and evf::FUResource::process().
|
inline |
Definition at line 33 of file FUShmRawCell.h.
References nFed_.
Referenced by evf::FUResource::allocate(), clear(), dump(), evf::IPCMethod::dumpEvent(), fedAddr(), fedSize(), FUShmReader::fillRawData(), markFed(), and evf::FUShmClient::readNext().
|
inline |
Definition at line 37 of file FUShmRawCell.h.
References nSuperFrag_.
Referenced by evf::FUResource::allocate(), clear(), markSuperFrag(), superFragAddr(), and superFragSize().
unsigned char * FUShmRawCell::payloadAddr | ( | ) | const |
Definition at line 132 of file FUShmRawCell.cc.
References payloadOffset_, and query::result.
Referenced by fedAddr(), FUShmRawCell(), markFed(), markSuperFrag(), superFragAddr(), and evf::FUShmBuffer::writeErrorEventData().
|
inline |
Definition at line 30 of file FUShmRawCell.h.
References payloadSize_.
Referenced by evf::FUResource::allocate(), markFed(), markSuperFrag(), and size().
unsigned int FUShmRawCell::readFed | ( | unsigned int | i, |
unsigned char * | buffer | ||
) | const |
Definition at line 182 of file FUShmRawCell.cc.
References fedAddr(), fedSize(), and size().
Referenced by FUShmReader::fillRawData(), and evf::FUShmClient::readNext().
|
inline |
Definition at line 44 of file FUShmRawCell.h.
References buResourceId_, and errorMatrix2Lands_multiChannel::id.
|
inline |
Definition at line 57 of file FUShmRawCell.h.
References evf::evt::DATA, eventType_, and evf::evt::NOP.
Referenced by evf::FUResource::allocate().
|
inline |
Definition at line 61 of file FUShmRawCell.h.
References evf::evt::EOL, eventType_, and evf::evt::NOP.
Referenced by evf::FUShmBuffer::writeRawLumiSectionEvent().
|
inline |
Definition at line 65 of file FUShmRawCell.h.
References eventType_, evf::evt::NOP, and evf::evt::STOPPER.
Referenced by evf::FUShmBuffer::scheduleRawEmptyCellForDiscard(), and evf::FUShmBuffer::writeRawEmptyEvent().
|
inline |
Definition at line 45 of file FUShmRawCell.h.
References evtNumber_.
Referenced by evf::ResourceChecker::findFEDs().
|
inline |
Definition at line 43 of file FUShmRawCell.h.
References fuResourceId_, and errorMatrix2Lands_multiChannel::id.
Referenced by evf::FUResource::allocate().
void FUShmRawCell::setLumiSection | ( | unsigned int | ls | ) |
Definition at line 210 of file FUShmRawCell.cc.
References python.rootplot.utilities::ls(), and lumiSection_.
Referenced by evf::ResourceChecker::findFEDs(), and evf::FUShmBuffer::writeRawLumiSectionEvent().
|
static |
Definition at line 273 of file FUShmRawCell.cc.
References FUShmRawCell(), NFED_MAX, NSUPERFRAG_MAX, and payloadSize().
Referenced by dump(), evf::FUShmBuffer::FUShmBuffer(), markFed(), markSuperFrag(), readFed(), evf::FUShmBuffer::releaseSharedMemory(), and evf::FUShmBuffer::size().
unsigned char * FUShmRawCell::superFragAddr | ( | unsigned int | i | ) | const |
Definition at line 119 of file FUShmRawCell.cc.
References gather_cfg::cout, i, nSuperFrag(), payloadAddr(), query::result, and superFragOffset_.
Referenced by evf::ResourceChecker::findFEDs(), FUShmRawCell(), and markSuperFrag().
unsigned int FUShmRawCell::superFragSize | ( | unsigned int | i | ) | const |
Definition at line 107 of file FUShmRawCell.cc.
References gather_cfg::cout, i, nSuperFrag(), query::result, and superFragSizeOffset_.
Referenced by evf::ResourceChecker::findFEDs().
unsigned char * FUShmRawCell::writeData | ( | unsigned char * | data, |
unsigned int | dataSize | ||
) |
Definition at line 193 of file FUShmRawCell.cc.
References gather_cfg::cout, payloadOffset_, payloadPosition_, payloadSize_, and query::result.
Referenced by evf::FUResource::fillSuperFragPayload(), evf::FUResource::process(), and evf::FUShmServer::writeNext().
|
private |
Definition at line 83 of file FUShmRawCell.h.
Referenced by buResourceId(), clear(), and setBuResourceId().
|
private |
Definition at line 89 of file FUShmRawCell.h.
Referenced by clear(), getEventType(), initialize(), setEventTypeData(), setEventTypeEol(), and setEventTypeStopper().
|
private |
Definition at line 84 of file FUShmRawCell.h.
Referenced by evtNumber(), and setEvtNumber().
|
private |
Definition at line 91 of file FUShmRawCell.h.
Referenced by fedAddr(), FUShmRawCell(), and markFed().
|
private |
Definition at line 90 of file FUShmRawCell.h.
Referenced by clear(), fedSize(), FUShmRawCell(), and markFed().
|
private |
Definition at line 82 of file FUShmRawCell.h.
Referenced by clear(), fuResourceId(), and setFuResourceId().
|
private |
Definition at line 81 of file FUShmRawCell.h.
Referenced by index(), and initialize().
|
private |
Definition at line 88 of file FUShmRawCell.h.
Referenced by clear(), getLumiSection(), initialize(), and setLumiSection().
|
private |
Definition at line 86 of file FUShmRawCell.h.
Referenced by FUShmRawCell(), and nFed().
|
private |
Definition at line 87 of file FUShmRawCell.h.
Referenced by FUShmRawCell(), and nSuperFrag().
|
private |
Definition at line 94 of file FUShmRawCell.h.
Referenced by FUShmRawCell(), payloadAddr(), and writeData().
|
private |
Definition at line 95 of file FUShmRawCell.h.
Referenced by clear(), eventSize(), and writeData().
|
private |
Definition at line 85 of file FUShmRawCell.h.
Referenced by FUShmRawCell(), payloadSize(), and writeData().
|
private |
Definition at line 93 of file FUShmRawCell.h.
Referenced by FUShmRawCell(), markSuperFrag(), and superFragAddr().
|
private |
Definition at line 92 of file FUShmRawCell.h.
Referenced by clear(), FUShmRawCell(), markSuperFrag(), and superFragSize().