gibuu is hosted by Hepforge, IPPP Durham
GiBUU

Changes between Initial Version and Version 1 of LesHouches


Ignore:
Timestamp:
Oct 17, 2013, 10:42:53 AM (11 years ago)
Author:
jweil
Comment:

starting proper documentation of the Les Houches event format

Legend:

Unmodified
Added
Removed
Modified
  • LesHouches

    v1 v1  
     1= Generating Event Output in Les-Houches Format =
     2
     3The default procedure for generating particle-level event output in GiBUU is via the "Les Houches" event-file standard, which is described in detail in [http://arxiv.org/abs/hep-ph/0609017 arXiv:hep-ph/0609017]. To generate event output in Les-Houches format, your jobcard should contain a part which sets the switches in the '!LesHouches' namelist:
     4
     5{{{
     6&LesHouches
     7  LesHouchesFinalParticles_Real = T   ! print out real particle vector
     8  LesHouchesFinalParticles_Pert = T   ! print out perturbative particle vector
     9/
     10}}}
     11
     12Setting the first switch to T (.true.) will produce files called '!LesHouches.Real.*.xml' (with * being the run number) containing events which list all real particles, while setting the second switch to T will produce files called '!LesHouches.Pert.*.xml' containing events which list all perturbative particles. The files have an XML-like format which will be described below.
     13
     14== Les Houches file structure ==
     15
     16The rough structure of a Les-Houches event file looks like this:
     17
     18{{{
     19<LesHouchesEvents version="1.0">
     20  <header>
     21    ...
     22  </header>
     23  <init>
     24    ...
     25  </init>
     26  <event>
     27    ...
     28  </event>
     29  ... (any number of <event> blocks can follow) ...
     30</LesHouchesEvents>
     31}}}
     32
     33After 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).
     34
     35== The <event> block ==
     36
     37Each 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:
     38
     39{{{
     40<event>
     41   3  0  0.  0.  0.  0.
     42  2212  0  0  0  0  0 -0.264  0.275  3.468  3.613  0.938  0. 9.
     43  2112  0  0  0  0  0  0.267 -0.052  0.138  0.986  0.938  0. 9.
     44   211  0  0  0  0  0 -0.003 -0.222  0.730  0.776  0.138  0. 9.
     45</event>
     46}}}
     47
     48The first line in the <event> block has a special meaning: In the first column it contains the number of particles (N) and in the third column the weight (w) of the event, while the other columns can contain additional parameters (which are not used in the current GiBUU implementation).
     49
     50Each of the following lines represents one particle. The columns of these lines have the following meaning:
     51
     52 * 1: ID code of the particle (in [http://pdg.lbl.gov/2013/reviews/rpp2012-rev-monte-carlo-numbering.pdf PDG numbering scheme], which differs from our internal [wiki:ParticleIDs GiBUU numbering scheme]). This number determines the identity and charge of the particle.
     53 * 7-9: 3-momentum (px, py, pz) of the particle in GeV. Usually the z-axis corresponds to the beam direction.
     54 * 10: Energy E of the particle in GeV.
     55 * 11: Mass m of the particle in GeV.
     56 * 13: Spin of the particle ('9'=unknown).
     57
     58The other columns are not used in the current GiBUU implementation and therefore will be zero. The example event shown above contains a three-body final state, consisting of a proton, neutron and pi+ (produced in a pp collision).
     59
     60== Additional process-specific information in the <event> block ==
     61
     62There 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:
     63
     64 * In the case of HiLepton events, this line is:
     65     " # 14 nu Q2 eps phiLepton Eventtype"
     66   (14 is the magic number of HiLepton, cf. Electron_origin.f90 for a list of Eventtypes)
     67 * In the case of neutrino events, the line line is given as:
     68     " # 5 Eventtype Weight momLepIn(0:3) momLepOut(0:3)"
     69   (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)
     70 * For all other event types, this line is missing.