#include <FUShmRecoCell.h>
Public Member Functions | |
void | clear () |
unsigned int | eventSize () const |
unsigned int | evtNumber () const |
unsigned int | fuGuid () const |
unsigned int | fuProcessId () const |
FUShmRecoCell (unsigned int payloadSize) | |
unsigned int | index () const |
void | initialize (unsigned int index) |
unsigned int | nExpectedEPs () const |
unsigned int | outModId () const |
unsigned char * | payloadAddr () const |
unsigned int | payloadSize () const |
unsigned int | rawCellIndex () const |
unsigned int | runNumber () const |
unsigned int | type () const |
void | writeErrorEvent (unsigned int rawCellIndex, unsigned int runNumber, unsigned int evtNumber, unsigned int fuProcessId, unsigned char *data, unsigned int dataSize) |
void | writeEventData (unsigned int rawCellIndex, unsigned int runNumber, unsigned int evtNumber, unsigned int outModId, unsigned int fuProcessId, unsigned int fuGuid, unsigned char *data, unsigned int dataSize) |
void | writeInitMsg (unsigned int outModId, unsigned int fuProcessId, unsigned int fuGuid, unsigned char *data, unsigned int dataSize, unsigned int nExpectedEPs) |
~FUShmRecoCell () | |
Static Public Member Functions | |
static unsigned int | size (unsigned int payloadSize) |
Private Attributes | |
unsigned int | eventSize_ |
unsigned int | evtNumber_ |
unsigned int | fuGuid_ |
unsigned int | fuProcessId_ |
unsigned int | index_ |
unsigned int | nExpectedEPs_ |
unsigned int | outModId_ |
unsigned int | payloadOffset_ |
unsigned int | payloadSize_ |
unsigned int | rawCellIndex_ |
unsigned int | runNumber_ |
unsigned int | type_ |
Definition at line 7 of file FUShmRecoCell.h.
FUShmRecoCell::FUShmRecoCell | ( | unsigned int | payloadSize | ) |
Definition at line 25 of file FUShmRecoCell.cc.
References payloadAddr(), payloadOffset_, and payloadSize_.
Referenced by size().
FUShmRecoCell::~FUShmRecoCell | ( | ) |
Definition at line 35 of file FUShmRecoCell.cc.
Referenced by evf::RecoMsgBuf::~RecoMsgBuf().
void FUShmRecoCell::clear | ( | void | ) |
Definition at line 62 of file FUShmRecoCell.cc.
References eventSize_, and rawCellIndex_.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), evf::FUShmBuffer::discardOrphanedRecoCell(), evf::FUShmBuffer::discardRecoCell(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), initialize(), 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::FUShmBuffer::writeRecoEmptyEvent().
|
inline |
Definition at line 33 of file FUShmRecoCell.h.
References eventSize_.
Referenced by evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), and evf::FUResourceTable::sendDataWhileHalting().
|
inline |
Definition at line 25 of file FUShmRecoCell.h.
References evtNumber_.
Referenced by evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), writeErrorEvent(), and writeEventData().
|
inline |
Definition at line 28 of file FUShmRecoCell.h.
References fuGuid_.
Referenced by evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), writeEventData(), and writeInitMsg().
|
inline |
Definition at line 27 of file FUShmRecoCell.h.
References fuProcessId_.
Referenced by evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
inline |
Definition at line 22 of file FUShmRecoCell.h.
References index_.
Referenced by initialize(), evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), and evf::FUResourceTable::sendDataWhileHalting().
void FUShmRecoCell::initialize | ( | unsigned int | index | ) |
Definition at line 46 of file FUShmRecoCell.cc.
References clear(), index(), and index_.
Referenced by evf::FUShmBuffer::reset().
|
inline |
Definition at line 34 of file FUShmRecoCell.h.
References nExpectedEPs_.
Referenced by evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), and writeInitMsg().
|
inline |
Definition at line 26 of file FUShmRecoCell.h.
References outModId_.
Referenced by evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), writeEventData(), and writeInitMsg().
unsigned char * FUShmRecoCell::payloadAddr | ( | ) | const |
Definition at line 54 of file FUShmRecoCell.cc.
References payloadOffset_, and query::result.
Referenced by FUShmRecoCell(), evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
inline |
|
inline |
Definition at line 23 of file FUShmRecoCell.h.
References rawCellIndex_.
Referenced by evf::FUShmBuffer::discardRecoCell(), evf::FUShmBuffer::finishReadingRecoCell(), evf::FUShmBuffer::recoCellToRead(), evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), writeErrorEvent(), and writeEventData().
|
inline |
Definition at line 24 of file FUShmRecoCell.h.
References runNumber_.
Referenced by evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), evf::FUResourceQueue::sendDataWhileHalting(), writeErrorEvent(), and writeEventData().
|
static |
Definition at line 162 of file FUShmRecoCell.cc.
References FUShmRecoCell(), and payloadSize().
Referenced by evf::FUShmBuffer::FUShmBuffer(), evf::FUShmBuffer::releaseSharedMemory(), and evf::FUShmBuffer::size().
|
inline |
Definition at line 29 of file FUShmRecoCell.h.
References type_.
Referenced by cuy.ValElement::__init__(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputCommands(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), evf::FUResourceQueue::sendData(), evf::FUResourceTable::sendData(), and evf::FUResourceQueue::sendDataWhileHalting().
void FUShmRecoCell::writeErrorEvent | ( | unsigned int | rawCellIndex, |
unsigned int | runNumber, | ||
unsigned int | evtNumber, | ||
unsigned int | fuProcessId, | ||
unsigned char * | data, | ||
unsigned int | dataSize | ||
) |
Definition at line 132 of file FUShmRecoCell.cc.
References gather_cfg::cout, eventSize_, evtNumber(), evtNumber_, fuGuid_, fuProcessId(), fuProcessId_, nExpectedEPs_, outModId_, payloadAddr(), payloadSize_, rawCellIndex(), rawCellIndex_, runNumber(), runNumber_, and type_.
Referenced by evf::FUShmBuffer::writeErrorEventData().
void FUShmRecoCell::writeEventData | ( | unsigned int | rawCellIndex, |
unsigned int | runNumber, | ||
unsigned int | evtNumber, | ||
unsigned int | outModId, | ||
unsigned int | fuProcessId, | ||
unsigned int | fuGuid, | ||
unsigned char * | data, | ||
unsigned int | dataSize | ||
) |
Definition at line 100 of file FUShmRecoCell.cc.
References gather_cfg::cout, eventSize_, evtNumber(), evtNumber_, fuGuid(), fuGuid_, fuProcessId(), fuProcessId_, nExpectedEPs_, outModId(), outModId_, payloadAddr(), payloadSize_, rawCellIndex(), rawCellIndex_, runNumber(), runNumber_, and type_.
Referenced by evf::FUShmBuffer::writeRecoEventData().
void FUShmRecoCell::writeInitMsg | ( | unsigned int | outModId, |
unsigned int | fuProcessId, | ||
unsigned int | fuGuid, | ||
unsigned char * | data, | ||
unsigned int | dataSize, | ||
unsigned int | nExpectedEPs | ||
) |
Definition at line 70 of file FUShmRecoCell.cc.
References gather_cfg::cout, eventSize_, evtNumber_, fuGuid(), fuGuid_, fuProcessId(), fuProcessId_, nExpectedEPs(), nExpectedEPs_, outModId(), outModId_, payloadAddr(), payloadSize_, rawCellIndex_, runNumber_, and type_.
Referenced by evf::FUShmBuffer::writeRecoInitMsg().
|
private |
Definition at line 82 of file FUShmRecoCell.h.
Referenced by clear(), eventSize(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 75 of file FUShmRecoCell.h.
Referenced by evtNumber(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 78 of file FUShmRecoCell.h.
Referenced by fuGuid(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 77 of file FUShmRecoCell.h.
Referenced by fuProcessId(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 72 of file FUShmRecoCell.h.
Referenced by index(), and initialize().
|
private |
Definition at line 83 of file FUShmRecoCell.h.
Referenced by nExpectedEPs(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 76 of file FUShmRecoCell.h.
Referenced by outModId(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 81 of file FUShmRecoCell.h.
Referenced by FUShmRecoCell(), and payloadAddr().
|
private |
Definition at line 80 of file FUShmRecoCell.h.
Referenced by FUShmRecoCell(), payloadSize(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 73 of file FUShmRecoCell.h.
Referenced by clear(), rawCellIndex(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 74 of file FUShmRecoCell.h.
Referenced by runNumber(), writeErrorEvent(), writeEventData(), and writeInitMsg().
|
private |
Definition at line 79 of file FUShmRecoCell.h.
Referenced by Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::insertInto(), RandomRunSource.RandomRunSource::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), type(), writeErrorEvent(), writeEventData(), and writeInitMsg().