Page MenuHomeHEPForge

Herwig Tutorial
Updated 1,047 Days AgoPublic

Version 47 of 54: You are viewing an older version of this document, as it appeared on Jun 22 2021, 4:13 PM.

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 .

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 docker website and install docker on your device.

The required docker containers can be pulled directly from dockerhub with

docker pull hepstore/rivet-herwig:3.1.1-7.2.1

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  hepstore/rivet-herwig:3.1.1-7.2.1 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  hepstore/rivet-herwig:3.1.1-7.2.1 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  hepstore/rivet-herwig:3.1.1-7.2.1 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:

  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, 4:13 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.