Helper function that creates the oscar output with the format selected by create_oscar_output (except for dileptons and photons).
713 const auto &log = logger<LogArea::Output>();
715 : out_par.part_extended;
716 if (modern_format && extended_format) {
717 return make_unique<OscarOutput<OscarFormat2013Extended, Contents>>(path,
719 }
else if (modern_format && !extended_format) {
720 return make_unique<OscarOutput<OscarFormat2013, Contents>>(path, name);
721 }
else if (!modern_format && !extended_format) {
722 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);
725 log.warn() <<
"Creating Oscar output: " 726 <<
"There is no extended Oscar1999 format.";
727 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);
store interaction information (write_interaction)