#include <FUShmOutputModule.h>
Public Member Functions | |
void | clearDatasetCounts () |
void | countEventForDatasets (EventMsgView const &eventMessage) |
void | doOutputEvent (EventMsgBuilder const &eventMessage) |
void | doOutputHeader (InitMsgBuilder const &initMessage) |
FUShmOutputModule (edm::ParameterSet const &ps) | |
unsigned int | getCounts () |
std::vector< unsigned int > & | getDatasetCounts () |
std::vector< std::string > | getDatasetNames () |
std::string | getStreamId () |
void | insertStreamAndDatasetInfo (edm::ParameterSet &streams, edm::ParameterSet datasets) |
void | parseDatasets (InitMsgView const &initMessage) |
void | sendPostponedInitMsg () |
void | sendPostponedStart () |
void | setNExpectedEPs (unsigned int EPs) |
void | setPostponeInitMsg () |
void | start () |
void | stop () |
void | unregisterFromShm () |
~FUShmOutputModule () | |
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &) |
Private Attributes | |
unsigned int | count_ |
std::vector< unsigned int > | datasetCounts_ |
std::vector< Strings > | datasetPaths_ |
std::vector< std::pair < std::string, edm::EventSelector * > > | dpEventSelectors_ |
std::string | name_ |
unsigned int | nExpectedEPs_ |
unsigned int | numDatasets_ |
std::vector< std::string > | selectedDatasetNames_ |
evf::FUShmBuffer * | shmBuffer_ |
std::string | streamId_ |
unsigned int | totalPaths_ |
Static Private Attributes | |
static uint32 | fuGuidValue_ = 0 |
static bool | fuIdsInitialized_ = false |
Definition at line 59 of file FUShmOutputModule.h.
edm::FUShmOutputModule::FUShmOutputModule | ( | edm::ParameterSet const & | ps | ) |
Definition at line 44 of file FUShmOutputModule.cc.
References FDEBUG, fuGuidValue_, fuIdsInitialized_, dttmaxenums::L, name_, AlCaHLTBitMon_QueryRunRegistry::string, and edm::Guid::toString().
edm::FUShmOutputModule::~FUShmOutputModule | ( | ) |
Definition at line 68 of file FUShmOutputModule.cc.
References SM_SharedMemoryHandle::detachShmBuffer(), FDEBUG, and sm_sharedmemory.
|
inline |
Definition at line 80 of file FUShmOutputModule.h.
References datasetCounts_, and i.
void edm::FUShmOutputModule::countEventForDatasets | ( | EventMsgView const & | eventMessage | ) |
Definition at line 202 of file FUShmOutputModule.cc.
References datasetCounts_, dpEventSelectors_, EventMsgView::hltTriggerBits(), i, numDatasets_, edm::second(), and totalPaths_.
Referenced by doOutputEvent().
void edm::FUShmOutputModule::doOutputEvent | ( | EventMsgBuilder const & | eventMessage | ) |
Definition at line 133 of file FUShmOutputModule.cc.
References count_, countEventForDatasets(), FDEBUG, fuGuidValue_, SM_SharedMemoryHandle::getShmBuffer(), run_regression::ret, shmBuffer_, EventMsgBuilder::size(), findQualityFiles::size, sm_sharedmemory, EventMsgBuilder::startAddress(), and evf::FUShmBuffer::writeRecoEventData().
void edm::FUShmOutputModule::doOutputHeader | ( | InitMsgBuilder const & | initMessage | ) |
Definition at line 109 of file FUShmOutputModule.cc.
References count_, FDEBUG, fuGuidValue_, SM_SharedMemoryHandle::getShmBuffer(), nExpectedEPs_, InitMsgView::outputModuleId(), parseDatasets(), run_regression::ret, shmBuffer_, InitMsgBuilder::size(), findQualityFiles::size, sm_sharedmemory, InitMsgBuilder::startAddress(), and evf::FUShmBuffer::writeRecoInitMsg().
|
static |
Definition at line 104 of file FUShmOutputModule.cc.
|
inlinevirtual |
|
inline |
Definition at line 79 of file FUShmOutputModule.h.
References datasetCounts_.
|
inline |
Definition at line 78 of file FUShmOutputModule.h.
References selectedDatasetNames_.
Referenced by evf::ShmOutputModuleRegistry::updateDatasetInfo().
|
inline |
Definition at line 83 of file FUShmOutputModule.h.
References streamId_.
Referenced by evf::ShmOutputModuleRegistry::updateDatasetInfo().
void edm::FUShmOutputModule::insertStreamAndDatasetInfo | ( | edm::ParameterSet & | streams, |
edm::ParameterSet | datasets | ||
) |
Definition at line 75 of file FUShmOutputModule.cc.
References datasetPaths_, edm::ParameterSet::getParameter(), i, name_, numDatasets_, selectedDatasetNames_, streamId_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by evf::ShmOutputModuleRegistry::insertStreamAndDatasetInfo().
void edm::FUShmOutputModule::parseDatasets | ( | InitMsgView const & | initMessage | ) |
Definition at line 185 of file FUShmOutputModule.cc.
References datasetCounts_, datasetPaths_, dpEventSelectors_, InitMsgView::hltTriggerNames(), i, numDatasets_, selectedDatasetNames_, AlCaHLTBitMon_QueryRunRegistry::string, and totalPaths_.
Referenced by doOutputHeader().
void edm::FUShmOutputModule::sendPostponedInitMsg | ( | ) |
void edm::FUShmOutputModule::sendPostponedStart | ( | ) |
void edm::FUShmOutputModule::setNExpectedEPs | ( | unsigned int | EPs | ) |
void edm::FUShmOutputModule::setPostponeInitMsg | ( | ) |
void edm::FUShmOutputModule::start | ( | void | ) |
Definition at line 156 of file FUShmOutputModule.cc.
References SM_SharedMemoryHandle::getShmBuffer(), shmBuffer_, and sm_sharedmemory.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
void edm::FUShmOutputModule::stop | ( | ) |
Definition at line 164 of file FUShmOutputModule.cc.
References SM_SharedMemoryHandle::detachShmBuffer(), FDEBUG, shmBuffer_, and sm_sharedmemory.
void edm::FUShmOutputModule::unregisterFromShm | ( | ) |
Definition at line 178 of file FUShmOutputModule.cc.
References SM_SharedMemoryHandle::getBufferRef(), evf::FUShmBuffer::removeClientPrcId(), shmBuffer_, and sm_sharedmemory.
|
private |
Definition at line 96 of file FUShmOutputModule.h.
Referenced by doOutputEvent(), doOutputHeader(), and getCounts().
|
private |
Definition at line 103 of file FUShmOutputModule.h.
Referenced by clearDatasetCounts(), countEventForDatasets(), getDatasetCounts(), and parseDatasets().
|
private |
Definition at line 107 of file FUShmOutputModule.h.
Referenced by insertStreamAndDatasetInfo(), and parseDatasets().
|
private |
Definition at line 108 of file FUShmOutputModule.h.
Referenced by countEventForDatasets(), and parseDatasets().
|
staticprivate |
Definition at line 99 of file FUShmOutputModule.h.
Referenced by doOutputEvent(), doOutputHeader(), and FUShmOutputModule().
|
staticprivate |
Initialize the static variables for the filter unit identifiers.
Definition at line 98 of file FUShmOutputModule.h.
Referenced by FUShmOutputModule().
|
private |
Definition at line 95 of file FUShmOutputModule.h.
Referenced by FUShmOutputModule(), and insertStreamAndDatasetInfo().
|
private |
Definition at line 100 of file FUShmOutputModule.h.
Referenced by doOutputHeader(), and setNExpectedEPs().
|
private |
Definition at line 105 of file FUShmOutputModule.h.
Referenced by countEventForDatasets(), insertStreamAndDatasetInfo(), and parseDatasets().
|
private |
Definition at line 106 of file FUShmOutputModule.h.
Referenced by getDatasetNames(), insertStreamAndDatasetInfo(), and parseDatasets().
|
private |
Definition at line 94 of file FUShmOutputModule.h.
Referenced by doOutputEvent(), doOutputHeader(), start(), stop(), and unregisterFromShm().
|
private |
Definition at line 111 of file FUShmOutputModule.h.
Referenced by getStreamId(), and insertStreamAndDatasetInfo().
|
private |
Definition at line 109 of file FUShmOutputModule.h.
Referenced by countEventForDatasets(), and parseDatasets().