#include <DQMEventMessage.h>
Public Member Functions | |
uint32 | adler32_chksum () const |
uint32 | code () const |
uint32 | compressionFlag () const |
DQMEventMsgView (void *buf) | |
uint8 * | eventAddress () const |
uint32 | eventLength () const |
uint32 | eventNumberAtUpdate () const |
uint32 | fuGuid () const |
uint32 | fuProcessId () const |
uint32 | headerSize () const |
std::string | hostName () const |
uint32 | hostName_len () const |
uint32 | lumiSection () const |
uint32 | meCount (std::string const &subFolderName) const |
uint32 | meCount (uint32 const subFolderIndex) const |
uint32 | mergeCount () const |
uint32 | protocolVersion () const |
std::string | releaseTag () const |
uint32 | runNumber () const |
uint32 | size () const |
uint8 * | startAddress () const |
uint32 | subFolderCount () const |
std::string | subFolderName (uint32 const subFolderIndex) const |
std::shared_ptr< std::vector < std::string > > | subFolderNames () const |
edm::Timestamp | timeStamp () const |
std::string | topFolderName () const |
uint32 | updateNumber () const |
Private Attributes | |
uint32 | adler32_chksum_ |
uint8 * | buf_ |
uint8 * | eventAddr_ |
uint32 | eventLen_ |
std::string | folderName_ |
HeaderView | head_ |
uint32 | host_name_len_ |
uint8 * | host_name_start_ |
std::vector< uint32 > | meCountList_ |
std::shared_ptr< std::vector < std::string > > | nameListPtr_ |
std::string | releaseTag_ |
uint32 | subFolderCount_ |
std::map< std::string, uint32 > | subFolderIndexTable_ |
Definition at line 74 of file DQMEventMessage.h.
DQMEventMsgView::DQMEventMsgView | ( | void * | buf | ) |
Constructor.
Definition at line 16 of file DQMEventMessage.cc.
References adler32_chksum_, buf_, code(), convert32(), Header::DQM_EVENT, eventAddr_, eventLen_, eventLength(), edm::hlt::Exception, folderName_, headerSize(), host_name_len_, host_name_start_, customizeTrackingMonitorSeedNumber::idx, MAX_STRING_SIZE, meCount(), meCountList_, nameListPtr_, protocolVersion(), releaseTag_, alignCSCRings::s, size(), AlCaHLTBitMon_QueryRunRegistry::string, subFolderCount_, subFolderIndexTable_, and subFolderName().
|
inline |
Definition at line 85 of file DQMEventMessage.h.
References adler32_chksum_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), and dumpDQMEventHeader().
|
inline |
Definition at line 79 of file DQMEventMessage.h.
References HeaderView::code(), and head_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), DQMEventMsgView(), and dumpDQMEventHeader().
uint32 DQMEventMsgView::compressionFlag | ( | ) | const |
Returns the compression flag (uncompressed data size or zero if uncompressed).
Definition at line 231 of file DQMEventMessage.cc.
References buf_, DQMEventHeader::compressionFlag_, convert32(), and h.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), and dumpDQMEventHeader().
|
inline |
Definition at line 83 of file DQMEventMessage.h.
References eventAddr_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), and StreamDQMOutputFile::write().
|
inline |
Definition at line 84 of file DQMEventMessage.h.
References eventLen_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), DQMEventMsgView(), and dumpDQMEventHeader().
uint32 DQMEventMsgView::eventNumberAtUpdate | ( | ) | const |
Returns the event number associated with the DQM Event.
Definition at line 204 of file DQMEventMessage.cc.
References buf_, convert32(), DQMEventHeader::eventNumber_, and h.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), and dumpDQMEventHeader().
uint32 DQMEventMsgView::fuGuid | ( | ) | const |
Returns the GUID of the filter unit that created this update.
Definition at line 249 of file DQMEventMessage.cc.
References buf_, convert32(), DQMEventHeader::fuGuid_, and h.
Referenced by dumpDQMEventHeader().
uint32 DQMEventMsgView::fuProcessId | ( | ) | const |
Returns the process ID of the filter unit that created this update.
Definition at line 240 of file DQMEventMessage.cc.
References buf_, convert32(), DQMEventHeader::fuProcessId_, and h.
Referenced by dumpDQMEventHeader().
uint32 DQMEventMsgView::headerSize | ( | ) | const |
Returns the size of the DQM Event header.
Definition at line 186 of file DQMEventMessage.cc.
References buf_, convert32(), h, and DQMEventHeader::headerSize_.
Referenced by DQMEventMsgView(), StreamDQMOutputFile::write(), and StreamDQMOutputFile::writeDQMEventHeader().
std::string DQMEventMsgView::hostName | ( | ) | const |
Definition at line 271 of file DQMEventMessage.cc.
References host_name_len_, host_name_start_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), and dumpDQMEventHeader().
|
inline |
uint32 DQMEventMsgView::lumiSection | ( | ) | const |
Returns the lumi section associated with the DQM Event.
Definition at line 213 of file DQMEventMessage.cc.
References buf_, convert32(), h, and DQMEventHeader::lumiSection_.
Referenced by dumpDQMEventHeader().
uint32 DQMEventMsgView::meCount | ( | std::string const & | subFolderName | ) | const |
Returns the number of monitor elements in the specified subfolder.
Definition at line 139 of file DQMEventMessage.cc.
References edm::hlt::Exception, and subFolderIndexTable_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), DQMEventMsgView(), and dumpDQMEventView().
Returns the number of monitor elements in the subfolder at the specified index.
Definition at line 161 of file DQMEventMessage.cc.
References edm::hlt::Exception, meCountList_, and subFolderCount_.
uint32 DQMEventMsgView::mergeCount | ( | ) | const |
Returns the number of merges
Definition at line 258 of file DQMEventMessage.cc.
References buf_, convert32(), h, and DQMEventHeader::mergeCount_.
Referenced by dumpDQMEventHeader().
uint32 DQMEventMsgView::protocolVersion | ( | ) | const |
Returns the protocol version of the DQM Event.
Definition at line 177 of file DQMEventMessage.cc.
References buf_, convert32(), h, and DQMEventHeader::protocolVersion_.
Referenced by DQMEventMsgView(), and dumpDQMEventHeader().
|
inline |
Definition at line 102 of file DQMEventMessage.h.
References releaseTag_.
Referenced by dumpDQMEventHeader().
uint32 DQMEventMsgView::runNumber | ( | ) | const |
Returns the run number associated with the DQM Event.
Definition at line 195 of file DQMEventMessage.cc.
References buf_, convert32(), h, and DQMEventHeader::runNumber_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), and dumpDQMEventHeader().
|
inline |
Definition at line 80 of file DQMEventMessage.h.
References head_, and HeaderView::size().
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), DQMEventMsgView(), dumpDQMEventHeader(), and StreamDQMOutputFile::write().
|
inline |
Definition at line 82 of file DQMEventMessage.h.
References buf_.
Referenced by StreamDQMOutputFile::writeDQMEventHeader().
|
inline |
Definition at line 105 of file DQMEventMessage.h.
References subFolderCount_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent().
std::string DQMEventMsgView::subFolderName | ( | uint32 const | subFolderIndex | ) | const |
Returns the name of the subfolder at the specified index.
Definition at line 123 of file DQMEventMessage.cc.
References edm::hlt::Exception, nameListPtr_, and subFolderCount_.
Referenced by edm::StreamDQMDeserializer::deserializeDQMEvent(), and DQMEventMsgView().
std::shared_ptr< std::vector< std::string > > DQMEventMsgView::subFolderNames | ( | ) | const |
Returns a shared pointer to the list of subfolder names.
Definition at line 115 of file DQMEventMessage.cc.
References nameListPtr_.
Referenced by dumpDQMEventView().
edm::Timestamp DQMEventMsgView::timeStamp | ( | ) | const |
Definition at line 265 of file DQMEventMessage.cc.
References buf_, convert64(), h, and DQMEventHeader::timeStamp_.
|
inline |
Definition at line 103 of file DQMEventMessage.h.
References folderName_.
Referenced by dumpDQMEventHeader().
uint32 DQMEventMsgView::updateNumber | ( | ) | const |
Returns the update number of the DQM Event.
Definition at line 222 of file DQMEventMessage.cc.
References buf_, convert32(), h, and DQMEventHeader::updateNumber_.
Referenced by dumpDQMEventHeader().
|
private |
Definition at line 119 of file DQMEventMessage.h.
Referenced by adler32_chksum(), and DQMEventMsgView().
|
private |
Definition at line 113 of file DQMEventMessage.h.
Referenced by compressionFlag(), DQMEventMsgView(), eventNumberAtUpdate(), fuGuid(), fuProcessId(), headerSize(), lumiSection(), mergeCount(), protocolVersion(), runNumber(), startAddress(), timeStamp(), and updateNumber().
|
private |
Definition at line 117 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), and eventAddress().
|
private |
Definition at line 118 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), and eventLength().
|
private |
Definition at line 116 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), and topFolderName().
|
private |
Definition at line 114 of file DQMEventMessage.h.
|
private |
Definition at line 121 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), hostName(), and hostName_len().
|
private |
Definition at line 120 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), and hostName().
|
private |
Definition at line 125 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), and meCount().
|
private |
Definition at line 124 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), subFolderName(), and subFolderNames().
|
private |
Definition at line 115 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), and releaseTag().
|
private |
Definition at line 122 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), meCount(), subFolderCount(), and subFolderName().
|
private |
Definition at line 123 of file DQMEventMessage.h.
Referenced by DQMEventMsgView(), and meCount().