Skip to content

Latest commit

 

History

History

gibuu

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

A recipe for building GiBUU with LHAPDF support and other cleanups, plus a configuration wrapper script and LUND converter.

Here's a presentation from a NPWG meeting on GiBUU.

Prerequisites

  1. c++17
  2. LHAPDF
  3. ROOT
  4. python3
  5. wget

Building

  1. make

Note, this includes a few automatic patches:

  1. Symlinking LHAPDF libraries, which will be built with the Makefile above if necessary, to a special directory inside GiBUU.
  2. Adding a dummy Fortran routine, also for LHAPDF support.
  3. Increasing character array lengths to support long filesystem paths.
  4. "Fixing" ROOT version detection (probably broke with recent ROOT versions).

Running

Requirements

  • Write access to $PWD
  • $GIBUU environment variable set to this directory

Usage

Required options:

  --targ {p,D,He,Li,Be,C,N,Al,Ca,Fe,Cu,Ag,Sn,Xe,Au,Pb}
                        target nucleus
  --ebeam EBEAM         beam energy (GeV)
  --kt KT               kt value (GeV)

See gibuu -h for full options. ###What it does

  1. generates a GiBUU configuration file based on command-line options and this template
  2. runs GiBUU.x proper
  3. runs gibuu2lund to generate ./gibuu.dat

See Also