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 [[ https://phab.hepforge.org/w/mcnet2019/installation/ | Installation ]] .
In this tutorial you will learn:
How to simulate LEP events
How to simulate LHC events
How to include rivet analyses and compare 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
The Les Houches Event Handler
==Before you start (docker containers)==
All exercises within this tutorial can be done by using the provided docker image for Herwig.
If you have not already installed docker, please follow the instructions on the [[https://docs.docker.com/install/ | docker website]] and install docker on your device.
The required docker containers can be pulled directly from dockerhub with
docker pull patrickkirchgaesser/herwig
Linux users: sudo docker ...
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 patrickkirchgaesser/herwig Herwig
This allows the container to access your local files and to write to the current working directory.
Create an alias for Herwig with
alias Herwig='docker run -i --rm -u `id -u $USER`:`id -g` -v $PWD:$PWD -w $PWD patrickkirchgaesser/herwig Herwig'
To run Herwig execute
Herwig
in your terminal.
Create also an alias for the rivet command **rivet-mkhtml**
alias rivet-mkhtml='docker run -i --rm -u `id -u $USER`:`id -g` -v $PWD:$PWD -w $PWD patrickkirchgaesser/herwig rivet-mkhtml'
If this works, you are ready to start the tutorial with [[ https://phab.hepforge.org/w/mcnet2019/firstrun/ | First run: LEP]]. If you encounter problems, please talk to a tutor.
**Instructions:**
# [[ https://phab.hepforge.org/w/mcnet2019/installation/ | Installation ]]
# [[ https://phab.hepforge.org/w/mcnet2019/firstrun/ | First run: LEP]]
# [[ https://phab.hepforge.org/w/mcnet2019/secondrun/ | Second run: Z production and jets at the LHC ]]
# [[ https://phab.hepforge.org/w/mcnet2019/thirdrun/ | (Advanced) Third run: minimum bias events and soft physics ]]
# [[ https://phab.hepforge.org/w/mcnet2019/leshouches/ | (Advanced) The Les Houches Event Handler ]]
**Helpful literature**
[[ https://arxiv.org/abs/0803.0883 | Herwig manual ]]