Skip to content

Draft: Implementation of support for the OSCAR format. Do not merge, contains large files.

Andrii Verbytskyi requested to merge OSCAR into master

Implementation of support for the OSCAR.

There are multiple OSCAR formats.

  • 1997A: The original one. Reading and writing should be fully implemented.

    The format is very similar to the HEPEVT and includes only final state particles. Both readers and writers are implemented, hereby the event format is totally supported.
    The conversion to GenEvent is done

    • duplicating particles and creating an artificial vertex.
    • one copy is an outgoing particle from an artificial vertex and incoming into a production vertex of the final state particle.
    • one copy is the final state particle
    • the most complex parsing is related to the event header and extracting run info.
  • 1999A: The event contains full history in a form of "interactions" which are close to HepMC3 vertices, but always explicitly mention incoming and outgoing particles. A simplified version of event can contain only a list of particles and is similar to 1997. Reading is implemented for the full and simplified versions. Writing is implemented only for the simplified version.

  • 2008H: The hydro formal. Not related. Not implemented.

  • 2013A: Newest. Very close to 1999A. Reading is implemented for the full and simplified versions. Writing is implemented only for the simplified version.

The documentation on the format is available in

Some test files:

Tag @cholm, @lonnblad

Edited by Andrii Verbytskyi

Merge request reports

Loading