Page MenuHomeHEPForge

MCnet School 2019 Herwig Tutorial
Updated 1,048 Days AgoPublic

Version 43 of 54: You are viewing an older version of this document, as it appeared on Jun 22 2021, 2:18 PM.

This is the main page for the Herwig tutorial at the MCnet 2019 school.

This is the tutorial for the first day of the MCnet school and teaches you the basics of the Herwig Monte Carlo Event Generator. An installation of Herwig on your own device is not necessary if you use the provided virtual docker image (see next section). If you plan to use Herwig for your own research, after the MCnet school, the instructions provided under Installation might be helpful.

During the course of 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 docker website and install docker on your personal computer.

The required docker containers can be pulled directly from dockerhub with

docker pull hepstore/rivet-herwig

Remember Linux users: sudo docker

That is basically it! 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  hepstore/rivet-herwig Herwig

(update for the latest hepstore/rivet-herwig docker image do)

docker run -it -u $(id -u $USER) -v $PWD:$PWD -w $PWD hepstore/rivet-herwig /herwig/bin/Herwig

This allows the container to access your local files and to write files to the current working directory.

Additionally, you can create an alias with

alias Herwig='docker run -i  --rm  -u `id -u $USER`:`id -g`  -v $PWD:$PWD -w $PWD  hepstore/rivet-herwig Herwig'

Now, all you have to do to run Herwig is to execute

Herwig

in your terminal.

We also recommend creating 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  hepstore/rivet-herwig rivet-mkhtml'

If this works, you are ready to start the tutorial with First run: LEP. If you have any issues, please talk to a tutor.

Instructions:

  1. Installation
  2. First run: LEP
  3. Second run: Z production and jets at the LHC
  4. (Advanced) Third run: minimum bias events and soft physics
  5. (Advanced) The Les Houches Event Handler

Helpful literature
Herwig manual

Last Author
patrickk
Last Edited
Jun 22 2021, 2:18 PM

Event Timeline

admin edited the content of this document. (Show Details)
admin edited the content of this document. (Show Details)
admin edited the content of this document. (Show Details)
aidin changed the title from Mcnet2019 to MCnet2019.Jul 16 2019, 3:37 PM
aidin edited the content of this document. (Show Details)
aidin published a new version of this document.Jul 16 2019, 3:39 PM
patrickk edited the content of this document. (Show Details)
patrickk edited the content of this document. (Show Details)
patrickk changed the title from MCnet2019 to MCnet School 2019 Herwig Tutorial.Jul 25 2019, 9:06 AM
patrickk edited the content of this document. (Show Details)
patrickk edited the content of this document. (Show Details)
patrickk published a new version of this document.
patrickk edited the content of this document. (Show Details)
patrickk edited the content of this document. (Show Details)
patrickk edited the content of this document. (Show Details)
patrickk edited the content of this document. (Show Details)
aidin changed the edit policy from "Custom Policy" to "Restricted Project (Project)".Aug 17 2020, 7:16 PM
patrickk edited the content of this document. (Show Details)
patrickk published a new version of this document.
aidin added a project: Restricted Project.Jun 22 2021, 3:23 PM
aidin removed a subscriber: graeme.
patrickk changed the title from MCnet School 2019 Herwig Tutorial to Herwig Tutorial.Jun 22 2021, 4:11 PM
patrickk edited the content of this document. (Show Details)
patrickk edited the content of this document. (Show Details)
aidin edited the content of this document. (Show Details)
aidin published a new version of this document.