#include <InitMessage.h>
Public Member Functions | |
uint32 | adler32_chksum () const |
uint32 | code () const |
const uint8 * | descData () const |
uint32 | descLength () const |
uint32 | eventHeaderSize () const |
uint32 | get_hlt_bit_cnt () const |
uint32 | get_l1_bit_cnt () const |
uint32 | headerSize () const |
void | hltTriggerNames (Strings &save_here) const |
void | hltTriggerSelections (Strings &save_here) const |
std::string | hostName () const |
uint32 | hostName_len () const |
InitMsgView (void *buf) | |
void | l1TriggerNames (Strings &save_here) const |
uint32 | outputModuleId () const |
std::string | outputModuleLabel () const |
std::string | processName () const |
uint32 | protocolVersion () const |
void | pset (uint8 *put_here) const |
std::string | releaseTag () const |
uint32 | run () const |
uint32 | size () const |
uint8 * | startAddress () const |
Definition at line 60 of file InitMessage.h.
InitMsgView::InitMsgView | ( | void * | buf | ) |
Definition at line 7 of file InitMessage.cc.
References adler32_chksum_, buf_, convert32(), gather_cfg::cout, desc_len_, desc_start_, hlt_select_count_, hlt_select_len_, hlt_select_start_, hlt_trig_count_, hlt_trig_len_, hlt_trig_start_, host_name_len_, host_name_start_, l1_trig_count_, l1_trig_len_, l1_trig_start_, outputModuleId_, outputModuleLabel_len_, outputModuleLabel_start_, pos, processName_len_, processName_start_, protocolVersion(), release_len_, and release_start_.
|
inline |
Definition at line 90 of file InitMessage.h.
References adler32_chksum_.
Referenced by edm::StreamerInputSource::deserializeRegistry(), and dumpInitHeader().
|
inline |
Definition at line 66 of file InitMessage.h.
References HeaderView::code(), and head_.
Referenced by edm::StreamerInputSource::deserializeRegistry(), dumpInitHeader(), edm::StreamerFileReader::getHeader(), and WatcherStreamFileReader::getHeader().
|
inline |
Definition at line 87 of file InitMessage.h.
References desc_start_.
Referenced by edm::StreamerInputSource::deserializeRegistry(), dumpInitVerbose(), and StreamerOutputFile::write().
|
inline |
Definition at line 86 of file InitMessage.h.
References desc_len_.
Referenced by edm::StreamerInputSource::deserializeRegistry(), dumpInit(), dumpInitVerbose(), and dumpInitView().
uint32 InitMsgView::eventHeaderSize | ( | ) | const |
This is estimated size of event header for Protocol Version 2.
Definition at line 161 of file InitMessage.cc.
References buf_, convert32(), InitHeader::event_header_size_, get_hlt_bit_cnt(), get_l1_bit_cnt(), h, and protocolVersion().
|
inline |
Definition at line 82 of file InitMessage.h.
References hlt_trig_count_.
Referenced by edm::StreamerFileWriter::doOutputHeader(), and eventHeaderSize().
|
inline |
Definition at line 83 of file InitMessage.h.
References l1_trig_count_.
Referenced by eventHeaderSize().
|
inline |
Definition at line 88 of file InitMessage.h.
References buf_, and desc_start_.
Referenced by stor::detail::InitMsgData::cacheHeaderFields(), StreamerOutputFile::write(), and StreamerOutputFile::writeStart().
void InitMsgView::hltTriggerNames | ( | Strings & | save_here | ) | const |
Definition at line 142 of file InitMessage.cc.
References MsgTools::getNames(), hlt_trig_len_, and hlt_trig_start_.
Referenced by dumpInitHeader(), stor::InitMsgCollection::getSelectionHelpString(), stor::EventStreamSelector::initialize(), stor::EventConsumerSelector::initialize(), and edm::FUShmOutputModule::parseDatasets().
void InitMsgView::hltTriggerSelections | ( | Strings & | save_here | ) | const |
Definition at line 147 of file InitMessage.cc.
References edm::hlt::Exception, MsgTools::getNames(), hlt_select_len_, hlt_select_start_, and protocolVersion().
Referenced by dumpInitHeader(), and stor::InitMsgCollection::getSelectionHelpString().
std::string InitMsgView::hostName | ( | ) | const |
Definition at line 186 of file InitMessage.cc.
References newFWLiteAna::found, host_name_len_, and host_name_start_.
Referenced by edm::StreamerInputSource::deserializeRegistry(), and dumpInitHeader().
|
inline |
void InitMsgView::l1TriggerNames | ( | Strings & | save_here | ) | const |
Definition at line 156 of file InitMessage.cc.
References MsgTools::getNames(), l1_trig_len_, and l1_trig_start_.
Referenced by dumpInitHeader().
|
inline |
Definition at line 76 of file InitMessage.h.
References outputModuleId_.
Referenced by stor::InitMsgCollection::addIfUnique(), edm::FUShmOutputModule::doOutputHeader(), dumpInitHeader(), stor::EventStreamSelector::initialize(), and stor::EventConsumerSelector::initialize().
std::string InitMsgView::outputModuleLabel | ( | ) | const |
Definition at line 132 of file InitMessage.cc.
References edm::hlt::Exception, outputModuleLabel_len_, outputModuleLabel_start_, and protocolVersion().
Referenced by stor::InitMsgCollection::checkOutputModuleLabel(), dumpInitHeader(), stor::InitMsgCollection::getElementForOutputModuleLabel(), stor::InitMsgCollection::getOutputModuleName(), stor::InitMsgCollection::getSelectionHelpString(), stor::EventStreamSelector::initialize(), and stor::EventConsumerSelector::initialize().
std::string InitMsgView::processName | ( | ) | const |
Definition at line 123 of file InitMessage.cc.
References edm::hlt::Exception, processName_len_, processName_start_, and protocolVersion().
Referenced by edm::StreamerInputSource::deserializeRegistry(), and dumpInitHeader().
uint32 InitMsgView::protocolVersion | ( | ) | const |
Definition at line 106 of file InitMessage.cc.
References buf_, h, Version::protocol_, and InitHeader::version_.
Referenced by edm::StreamerInputSource::deserializeRegistry(), dumpInitHeader(), eventHeaderSize(), hltTriggerSelections(), InitMsgView(), outputModuleLabel(), and processName().
void InitMsgView::pset | ( | uint8 * | put_here | ) | const |
Definition at line 112 of file InitMessage.cc.
References buf_, h, Version::pset_id_, and InitHeader::version_.
Referenced by dumpInitHeader().
std::string InitMsgView::releaseTag | ( | ) | const |
Definition at line 118 of file InitMessage.cc.
References release_len_, and release_start_.
Referenced by dumpInitHeader().
uint32 InitMsgView::run | ( | void | ) | const |
Definition at line 100 of file InitMessage.cc.
References buf_, convert32(), h, and InitHeader::run_.
Referenced by dumpInitHeader(), and StreamerOutputFile::writeStart().
|
inline |
Definition at line 67 of file InitMessage.h.
References head_, and HeaderView::size().
Referenced by stor::InitMsgCollection::addIfUnique(), dumpInitHeader(), and StreamerOutputFile::write().
|
inline |
Definition at line 68 of file InitMessage.h.
References buf_.
Referenced by stor::InitMsgCollection::addIfUnique(), and StreamerOutputFile::writeStart().
|
private |
Definition at line 117 of file InitMessage.h.
Referenced by adler32_chksum(), and InitMsgView().
|
private |
Definition at line 95 of file InitMessage.h.
Referenced by eventHeaderSize(), headerSize(), InitMsgView(), protocolVersion(), pset(), run(), and startAddress().
|
private |
Definition at line 124 of file InitMessage.h.
Referenced by descLength(), and InitMsgView().
|
private |
Definition at line 123 of file InitMessage.h.
Referenced by descData(), headerSize(), and InitMsgView().
|
private |
Definition at line 96 of file InitMessage.h.
|
private |
Definition at line 112 of file InitMessage.h.
Referenced by InitMsgView().
|
private |
Definition at line 113 of file InitMessage.h.
Referenced by hltTriggerSelections(), and InitMsgView().
|
private |
Definition at line 111 of file InitMessage.h.
Referenced by hltTriggerSelections(), and InitMsgView().
|
private |
Definition at line 109 of file InitMessage.h.
Referenced by get_hlt_bit_cnt(), and InitMsgView().
|
private |
Definition at line 110 of file InitMessage.h.
Referenced by hltTriggerNames(), and InitMsgView().
|
private |
Definition at line 108 of file InitMessage.h.
Referenced by hltTriggerNames(), and InitMsgView().
|
private |
Definition at line 119 of file InitMessage.h.
Referenced by hostName(), hostName_len(), and InitMsgView().
|
private |
Definition at line 118 of file InitMessage.h.
Referenced by hostName(), and InitMsgView().
|
private |
Definition at line 115 of file InitMessage.h.
Referenced by get_l1_bit_cnt(), and InitMsgView().
|
private |
Definition at line 116 of file InitMessage.h.
Referenced by InitMsgView(), and l1TriggerNames().
|
private |
Definition at line 114 of file InitMessage.h.
Referenced by InitMsgView(), and l1TriggerNames().
|
private |
Definition at line 106 of file InitMessage.h.
Referenced by InitMsgView(), and outputModuleId().
|
private |
Definition at line 105 of file InitMessage.h.
Referenced by InitMsgView(), and outputModuleLabel().
|
private |
Definition at line 104 of file InitMessage.h.
Referenced by InitMsgView(), and outputModuleLabel().
|
private |
Definition at line 102 of file InitMessage.h.
Referenced by InitMsgView(), and processName().
|
private |
Definition at line 101 of file InitMessage.h.
Referenced by InitMsgView(), and processName().
|
private |
Definition at line 99 of file InitMessage.h.
Referenced by InitMsgView(), and releaseTag().
|
private |
Definition at line 98 of file InitMessage.h.
Referenced by InitMsgView(), and releaseTag().