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());
66 nfe.lvl1_trigger_info(fe.nlvl1_trigger_info(), fe.lvl1_trigger_info());
67 nfe.lvl2_trigger_info(fe.nlvl2_trigger_info(), fe.lvl2_trigger_info());
68 nfe.event_filter_info(fe.nevent_filter_info(), fe.event_filter_info());
69 nfe.stream_tag(fe.nstream_tag(), fe.stream_tag());
70 nfe.status(fe.nstatus(), fe.status());
71 nfe.minor_version(
version.minor_version());
72 nfe.checksum_type(event_checksum);
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());
90 nrob->minor_version(rob_version.minor_version());
91 eformat::helper::Version rod_version(rob.rod_version());
92 nrob->rod_minor_version(rod_version.minor_version());
93 nrob->checksum_type(rob_checksum);
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];