Page MenuHomeHEPForge

Herwig Tutorial
Updated 342 Days AgoPublic

Version 52 of 54: You are viewing an older version of this document, as it appeared on May 28 2023, 4:01 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 the docker hub with

docker pull herwigcollaboration/herwig-7.3:7.3.0

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 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 with

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:

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

Helpful literature
Herwig manual

Last Author
aidin
Last Edited
May 28 2023, 4:01 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.