Here we demonstrate an example of photon-induced events in Herwig.
To start, create a new work directory:
mkdir photon_induced
cd photon_induced
Next, download below input/config/analysis files in your work directory.
1. MadGraph configure script: this is a script for generating a sample of unweighted yy > ll events with MadGraph.
{F1993095}
wget https://phab-files.hepforge.org/file/download/fmev7v6idvr75ggbdth3/PHID-FILE-i3aaqziv52hgqrsztjuo/MG_make.sh
2. MadGraph parameter and run cards: parameter space and run statistics for the MadGraph run.
{F1993058} {F1993056}
wget https://phab-files.hepforge.org/file/download/xjefkopi6whfilhore3q/PHID-FILE-kfvne4b34gu6thn2syt5/run_card.dat
wget https://phab-files.hepforge.org/file/download/6ox3c6if7ekcawjw33am/PHID-FILE-ynhnj545mdxfbtqytoqn/param_card.dat
3. Rivet analysis and plot setup: Rivet analysis, to be run alongside the Herwig setup.
{F1993057} {F1993059}
wget https://phab-files.hepforge.org/file/download/drv32ihccvchwfm6qrjx/PHID-FILE-74aubf5x2iktkajdepci/RivetAnalysis_yy.cc
wget https://phab-files.hepforge.org/file/download/mjsx7nxjbmu3curex3ew/PHID-FILE-p3xj34mwaixlritunlmp/RivetAnalysis_yy.plot
4. Herwig Input files: the main Herwig input file.
{F1993096}
wget https://phab-files.hepforge.org/file/download/ccjmisiezgugnatpxbqf/PHID-FILE-66o5cobqy5u3fydkyr7u/LesHouches.in
Once the files are downloaded, please have a look at **MG_make.sh**. It can be run by:
chmod +x MG_make.sh
[sudo] ./MG_make.sh
Once it is done, you should be able to see a new directory named "yyll" that contains the requited unweighted sample in **yyll/Events/run_01/unweighted_events.lhe.gz**.
We are now set to sun Herwig using these samples. Run
Herwig read LesHouches.in
It should generate a run file called **LesHouches.run**. Now execute
Herwig run LesHouches.run -N 100
The last part asks Herwig to run this simulation for 100 events only. After this is done, you should be able to see several files generated in your work directory.