13 const char* release_tag,
14 const char* process_name,
15 const char* output_module_label,
21 : buf_((
uint8*)buf), size_(size) {
27 uint32 tag_len = strlen(release_tag);
28 assert(tag_len < 0x00ff);
32 memcpy(pos, release_tag, tag_len);
36 uint32 process_name_len = strlen(process_name);
37 assert(process_name_len < 0x00ff);
39 *pos++ = process_name_len;
41 memcpy(pos, process_name, process_name_len);
42 pos += process_name_len;
45 uint32 outmod_label_len = strlen(output_module_label);
46 assert(outmod_label_len < 0x00ff);
47 *pos++ = outmod_label_len;
48 memcpy(pos, output_module_label, outmod_label_len);
49 pos += outmod_label_len;
61 pos = pos +
sizeof(
uint32);
73 std::vector<bool> dummyL1Bits(l1_names.size());
74 std::vector<char> dummyHLTBits(hlt_names.size());
75 const uint32 TEMP_BUFFER_SIZE = 256;
76 char msgBuff[TEMP_BUFFER_SIZE];
79 int got_host = gethostname(host_name, 255);
81 strcpy(host_name,
"noHostNameFoundOrTooLong");
90 (
uint8*)&dummyHLTBits[0],
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void setDataLength(uint32 registry_length)
InitMsgBuilder(void *msg_mem, uint32 size, uint32 run, const Version &v, const char *release_tag, const char *process_name, const char *output_module_label, uint32 output_module_id, const Strings &hlt_names, const Strings &hlt_selections, const Strings &l1_names, uint32 adler32_chksum)
def convert(infile, ofile)
uint32 headerSize() const