8 #include "eformat/FullEventFragmentNoTemplates.h"
9 #include "eformat/ROBFragmentNoTemplates.h"
12 #include "eformat/Issue.h"
17 const uint16_t MAJOR_V50_VERSION = 0x0500;
23 "Skipping " << ftype <<
" fragment in " << ptype
24 <<
" fragment with identifier 0x"
26 ((std::string) ftype) ((std::string) ptype) ((
uint32_t) source_id))
34 #define EFORMAT_SKIPPED_FRAGMENT(ftype,ptype,sid) \
35 offline_eformat_err::SkippedFragmentIssue(ERS_HERE, ftype, ptype, sid)
43 eformat::CheckSum event_checksum,
44 eformat::CheckSum rob_checksum)
50 eformat::helper::Version
version(0, eformat::MAJOR_V40_VERSION);
60 fe.bc_time_nanoseconds(),
61 global_id, fe.run_type(),
62 fe.run_no(), fe.lumi_block(),
63 fe.lvl1_id(), fe.bc_id(),
64 fe.lvl1_trigger_type());
69 nfe.
stream_tag(fe.nstream_tag(), fe.stream_tag());
70 nfe.
status(fe.nstatus(), fe.status());
74 std::vector<v40_write::ROBFragment*> acc_rob;
75 for (
size_t i=0;
i<fe.nchildren(); ++
i) {
78 rob.check(MAJOR_V50_VERSION);
82 rob.rod_lvl1_id(), rob.rod_bc_id(),
83 rob.rod_lvl1_trigger_type(),
85 rob.rod_ndata(), rob.rod_data(),
86 rob.rod_status_position());
87 nrob->
status(rob.nstatus(), rob.status());
88 nrob->
rod_status(rob.rod_nstatus(), rob.rod_status());
89 eformat::helper::Version rob_version(rob.rod_version());
91 eformat::helper::Version rod_version(rob.rod_version());
98 acc_rob.push_back(nrob);
109 const eformat::write::node_t*
top = nfe.
bind();
114 for (
size_t i=0;
i<acc_rob.size(); ++
i)
delete acc_rob[
i];