Herwig Tutorial
This tutorial teaches you the basics of the Monte Carlo Event Generator Herwig. An installation of Herwig on your own device is not necessary if you use the provided docker image (see next section). If you plan to use Herwig for your own research follow the instructions provided under Installation. For the purpose of this tutorial, you do not need to install Herwig.
In this tutorial you will learn:
How to simulate LEP events How to simulate LHC events How to include rivet analyses and compare a simulation with data How to switch parts of the Event Generator on and off How to modify parameters of the Parton shower and the Hadronization model How to run LHE files in Herwig with its Les Houches Event Handler
Before you start: setting up Herwig's docker containers
All exercises within this tutorial can be done by using the provided docker image for Herwig. This contains a working copy of Herwig's latest version, Hewrig-7.3.0 with ThePEG-2.3.0. If you have not already installed docker, please follow the instructions on the docker website and install docker on your device.
The required docker containers can be pulled directly from the docker hub with
docker pull herwigcollaboration/herwig-7.3:7.3.0
Linux users will need to add sudo to the beginning of the above command.
In order to run Herwig, execute the following shell command
docker run -i --rm -u `id -u $USER`:`id -g` -v $PWD:$PWD -w $PWD herwigcollaboration/herwig-7.3:7.3.0 Herwig --help
This allows the container to access your local files and to write to the current working directory
Create an alias for the run command by editing the file ~/.bashrc on your local machine. Somply add the following line to the end of .bashrc
alias DRH='docker run -i --rm -u `id -u $USER`:`id -g` -v $PWD:$PWD -w $PWD herwigcollaboration/herwig-7.3:7.3.0'
To run Herwig execute
DRH Herwig
Similar commands like rivet-mkhtml can be run in the same fashion
DRH rivet-mkhtml
If this works, you are ready to start the tutorial with First run: LEP. If you encounter problems, please talk to a tutor.
Instructions:
- Installation
- First run: LEP
- Second run: Z production and jets at the LHC
- Third run: minimum bias events and soft physics
- The Les Houches Event Handler
- Photon Induced Process in Herwig
Helpful literature
Herwig manual
- Last Author
- aidin
- Last Edited
- May 31 2023, 3:35 PM