24 const char* host_name,
28 buf_((
uint8*)buf),bufSize_(bufSize)
33 uint32 protocolVersion = 3;
40 <<
"Input buffer size is too small for required header "
41 <<
"information. Size = " <<
bufSize_
42 <<
", necessary size is >= "
57 len = releaseTag.length();
61 <<
"Input buffer size is too small for required header "
62 <<
"information. Size = " <<
bufSize_
63 <<
", necessary size is >= "
68 releaseTag.copy((
char*) bufPtr, len);
72 len = topFolderName.length();
76 <<
"Input buffer size is too small for required header "
77 <<
"information. Size = " <<
bufSize_
78 <<
", necessary size is >= "
83 topFolderName.copy((
char*) bufPtr, len);
87 convert(static_cast<uint32>(monitorElementsBySubFolder.size()), bufPtr);
91 DQMEvent::TObjectTable::const_iterator sfIter;
92 for (sfIter = monitorElementsBySubFolder.begin();
93 sfIter != monitorElementsBySubFolder.end(); sfIter++)
96 std::vector<TObject *> toList = sfIter->second;
98 convert(static_cast<uint32>(toList.size()), bufPtr);
101 len = subFolderName.length();
104 subFolderName.copy((
char*) bufPtr, len);
112 uint32 host_name_len = strlen(host_name);
113 assert(host_name_len < 0x00ff);
115 *bufPtr++ = host_name_len;
117 memcpy(bufPtr,host_name,host_name_len);
118 bufPtr += host_name_len;
125 <<
"Input buffer size is too small for required header "
126 <<
"information. Size = " <<
bufSize_
127 <<
", necessary size is >= "
162 <<
"Event data overflows buffer. Buffer size = " <<
bufSize_
164 <<
", event size = " << len <<
".\n";
void setFUProcessId(uint32)
DQMEventMsgBuilder(void *buf, uint32 bufSize, uint32 run, uint32 event, edm::Timestamp timeStamp, uint32 lumiSection, uint32 updateNumber, uint32 adler32_chksum, const char *host_name, std::string const &releaseTag, std::string const &topFolderName, const DQMEvent::TObjectTable &monitorElementsBySubFolder)
void setMergeCount(uint32)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
void setCompressionFlag(uint32)
void setEventLength(uint32 len)
std::map< std::string, std::vector< TObject * > > TObjectTable
TimeValue_t value() const
uint32 headerSize() const