Process MCEG

  • How to run MCEG files throught the Software

  • What are the requirements and limitations for the MCEG

  • How to convert files to the right format

  • How to apply beam effects and crossing angle

MCEG Overview

Hepmc in software stack

Athena full simulation and reconstruction stack accepts only HepMC2 and HepMC3 as an input format. The reason for that is that support for many formats on simulation/reconstruction level leads to increasing number of bugs witch are difficult to mitigate with testing because of the combinatorics. It is much easier in terms of testing, robustness and reprodusobility to have a reliable chain that works with one (universal) format and have well tested standalone satelite conventers, that allow to work with different MCEG software (see the next picture).

Hepmc conversion in the software stack
  • Converters allow to convert other formats to HepMC

  • Afterburner applies crossing angle and beam effects

Convert MCEG

Currently there are 2 packages that allow to convert different MCEG to HepMC

  • EicSmear - and old (means well tested) and reliable package

    that allows to convert various (and especially old) MCEG to HepMC format. Instruction how to convert to HepMC It is recommended to use EicSmear especially for BNL RootTree files.

  • mcconv - new and less reliable, but kind of easier

    to use for users and also has convenient python API. mcconv correctly works with GEMC LUND (Clas12) format.

Crossing angle and beam effects

In order to apply crossing and beam effects to existing HepMC files EIC Afterbur is to be used. The package provides framework independent well validated crossing angle and beam effects C++ library and HepMC file converter (abconv) for Electron Ion Collider.

Physics simulated:

  • Crossing angle

  • Beam effects (divergence, crabbing kick, etc.)

  • Vertex spread (position, time)

Please follow the instruction of how to use the afterburner.

Using converters and afterburner

Both converters and aferburner are parts of the container. And could be used from JLab and BNL farm. Follow singularity chapter.