Helper function that creates the oscar output with the format selected by create_oscar_output (except for dileptons and photons).
746 const auto &log = logger<LogArea::Output>();
748 : out_par.part_extended;
749 if (modern_format && extended_format) {
750 return make_unique<OscarOutput<OscarFormat2013Extended, Contents>>(path,
752 }
else if (modern_format && !extended_format) {
753 return make_unique<OscarOutput<OscarFormat2013, Contents>>(path, name);
754 }
else if (!modern_format && !extended_format) {
755 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);
758 log.warn() <<
"Creating Oscar output: " 759 <<
"There is no extended Oscar1999 format.";
760 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);
store interaction information (write_interaction)