GiBUU is hosted by Hepforge, IPPP Durham

Generating Event Output in Les-Houches Format

The default procedure for generating particle-level event output in GiBUU is via the "Les Houches" event-file standard, which is described in detail in the following papers:

  • J. Alwall et al., A Standard format for Les Houches event files Inspire,
  • E. Boos et al., Generic user process interface for event generators Inspire.

(An alternative, not described here, is the output in the OSCAR 2013 format.)

To generate event output in Les-Houches format, your jobcard should contain a part which sets the switches in the namelist 'EventOutput':

  WriteRealParticles = T           ! print out real particle vector
  WritePerturbativeParticles = T   ! print out perturbative particle vector
  EventFormat = 1                  ! 1=LesHouches, 2=OSCAR, 3=Shanghai

Setting the first switch to T (.true.) will produce files called 'EventOutput.Real.*.lhe' (with * being the run number) containing events which list all real particles, while setting the second switch to T will produce files called 'EventOutput.Pert.*.lhe' containing events which list all perturbative particles. The files have an XML-like format which will be described below.

Les Houches file structure

The rough structure of a Les-Houches event file looks like this:

<LesHouchesEvents version="1.0">
  ... (any number of <event> blocks can follow) ...

After the <header> and <init> blocks, the file essentially contains a list of event blocks, each of which begins with an opening <event> tag and ends with a corresponding </event> tag. There can be an arbitrary number of events in one file (depending on the input parameters of the simulation). The specific contents of the blocks will be described below. Note that the <header> and <init> blocks do not contain any relevant information in the current GiBUU implementation (and therefore can be ignored). Note that the closing </LesHouchesEvents> tag may be missing in some cases.

The <event> block

Each event block contains the full description of a single event, which basically consists of a list of produced particles (with their corresponding four-momentum vectors etc). An example event might look like this:

   3  0  1.  0.  0.  0.
  2212  0  0  0  0  0 -0.264  0.275  3.468  3.613  0.938  0. 9.
  2112  0  0  0  0  0  0.267 -0.052  0.138  0.986  0.938  0. 9.
   211  0  0  0  0  0 -0.003 -0.222  0.730  0.776  0.138  0. 9.

The first line in the <event> block has a special meaning. The columns of these first lines have the following meaning:

  • 1: the number of particles (N)
  • 2: (unused in GiBUU)
  • 3: the weight (w) of the event
  • 4-6: (unused in GiBUU)

For real events, the weight w equals 1 (i.e. all events have the same weighting). For perturbative events, on the other hand, the weight is usually related to the total cross section for the process (and can be different for each event).

Each of the following lines represents one particle. The columns of these lines have the following meaning:

  • 1: ID code of the particle (in PDG numbering scheme, which differs from our internal GiBUU numbering scheme). This number determines the identity and charge of the particle.
  • 2-6: Unused (always 0).
  • 7-9: 3-momentum (px, py, pz) of the particle in GeV. Usually the z-axis corresponds to the beam direction.
  • 10: Energy E of the particle in GeV.
  • 11: Mass m of the particle in GeV.
  • 12: Unused (0).
  • 13: Spin of the particle ('9'=unknown).

The example event shown above contains a three-body final state, consisting of a proton, neutron and pi+ (produced in a pp collision).

Additional process-specific information in the <event> block

There can be one additional line at the end of the <event> block (after the list of particles), which starts with a "#" and contains process-specific information for different event types:

  • In the case of HiLepton events, this line is:
    # 14 nu Q2 eps phiLepton Eventtype
    • 14 is the magic number of high-energy lepton-induced events
    • 'nu' is the energy of the virtual photon
    • 'Q2' is the negative squared invariant mass of the virtual photon
    • 'eps' is the ratio of longitudinal and transversal photon flux
    • 'phiLepton' is the azimuthal angle of the incoming lepton, in radians (the virtual photon is always along the z-axis)
    • 'Eventtype' is an integer that encodes the type of the primary interaction, cf. Electron_origin.f90 for a list
  • In the case of neutrino events, the line line is given as:
    # 5 Eventtype Weight momLepIn(0:3) momLepOut(0:3) momNuc(0:3)
    • 5 is the magic number of neutrino-induced events
    • Eventtype: 1=QE, 2-31=res ID, 32,33=1pi, 34=DIS, 35,36=2p2h, 37=2pi
    • 'Weight' is the same event weight that also appear in the general event-block header
    • 'momLepIn' is the four-momentum of the incoming lepton (neutrino)
    • 'momLepOut' is the four-momentum of the outgoing lepton
    • 'momNuc' is the (free) four-momentum of the incoming nucleon, for 2p2h processes it is the (free) four-momentum of one of the two incoming nucleons
  • In the case of heavy-ion events, the line is:
    # 1 b
    • 1 is the magic number of heavy-ion collisions
    • 'b' is the impact parameter in fm
  • In the case of hadron-induced events, the line is:
    # 300 b
    • 300 is the magic number of hadron-induced events
    • 'b' is the impact parameter in fm
  • For all other event types, this line is absent.
Last modified 4 weeks ago Last modified on Jun 24, 2018, 12:04:09 PM