diff --git a/src/OutputFileHandler.cc b/src/OutputFileHandler.cc index 93717bbb42bd42813747aead2df1686c442528f6..2e82cdd99877e693df04079ed4ecaf4a5cd5b608 100644 --- a/src/OutputFileHandler.cc +++ b/src/OutputFileHandler.cc @@ -208,11 +208,11 @@ void OutputFileHandler::write_EoLS_file(uint32_t ls) { EoLS_file.open(full_filename.c_str(), std::ios_base::out); // TODO: To me it looks like there are more fields than intended in this file... - EoLS_file_string_stream << "{\n \"data\":[\"" << ls_NOrbits_ << "\",\"" // NEvents - << 1 + max_index_per_ls_ << "\",\"" // NFiles - << constants::N_orbits_per_lumisection << "\"," // Total Events - << "\"0\",\"" // NLost Events - << ls_file_size_ << "\"],\n \"definition\":\"" // NBytes + EoLS_file_string_stream << "{\n \"data\":[\"" << ls_NOrbits_ << "\",\"" // NEvents + << 1 + max_index_per_ls_ << "\",\"" // NFiles + << constants::N_orbits_per_lumisection << "\",\"" // Total Events + << constants::N_orbits_per_lumisection - ls_NOrbits_ << "\",\"" // NLost Events + << ls_file_size_ << "\"],\n \"definition\":\"" // NBytes << "/fff/ramdisk/run" << std::setfill('0') << std::setw(6) << current_run_number_ << "/jsd/EoLS.jsd\",\n \"source\":\"l1scout\"\n}"; @@ -245,4 +245,4 @@ void OutputFileHandler::write_EoR_file() { << current_run_number_ << "/jsd/EoR.jsd\",\n \"source\":\"l1scout\"\n}"; EoR_file << EoR_file_string_stream.str(); EoR_file.close(); -} \ No newline at end of file +}