Helper function that creates the oscar output with the format selected by create_oscar_output (except for dileptons and photons).
751 : out_par.part_extended;
752 if (modern_format && extended_format) {
753 return make_unique<OscarOutput<OscarFormat2013Extended, Contents>>(path,
755 }
else if (modern_format && !extended_format) {
756 return make_unique<OscarOutput<OscarFormat2013, Contents>>(path, name);
757 }
else if (!modern_format && !extended_format) {
758 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);
762 <<
"There is no extended Oscar1999 format.";
763 return make_unique<OscarOutput<OscarFormat1999, Contents>>(path, name);