11 const char* release_tag,
12 const char* process_name,
13 const char* output_module_label,
19 buf_((
uint8*)buf),size_(size)
26 uint32 tag_len = strlen(release_tag);
27 assert(tag_len < 0x00ff);
31 memcpy(pos,release_tag,tag_len);
35 uint32 process_name_len = strlen(process_name);
36 assert(process_name_len < 0x00ff);
38 *pos++ = process_name_len;
40 memcpy(pos,process_name,process_name_len);
41 pos += process_name_len;
44 uint32 outmod_label_len = strlen(output_module_label);
45 assert(outmod_label_len < 0x00ff);
46 *pos++ = outmod_label_len;
47 memcpy(pos,output_module_label,outmod_label_len);
48 pos += outmod_label_len;
60 pos = pos +
sizeof(
uint32);
72 std::vector<bool> dummyL1Bits(l1_names.size());
73 std::vector<char> dummyHLTBits(hlt_names.size());
74 const uint32 TEMP_BUFFER_SIZE = 256;
75 char msgBuff[TEMP_BUFFER_SIZE];
78 int got_host = gethostname(host_name, 255);
79 if(got_host != 0) strcpy(host_name,
"noHostNameFoundOrTooLong");
81 dummyL1Bits, (
uint8*) &dummyHLTBits[0],
82 hlt_names.size(), adler32, host_name);
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