Skip to content

Sergeyir/Jets_Comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This is a simple project that allows to compare jets spectra \frac{d\sigma}{dp_T dy} for different processes in Monte Carlo event generation process - Pythia8(https://pythia.org/), Herwig7 (https://herwig.hepforge.org/) and Powheg (https://powhegbox.mib.infn.it/) for LO processes in pp collisions. In this project as an example pp collision energy is 13000 GeV.

Required packages

Installation

To download run

git clone https://github.com/Sergeyir/Jets_Comparison

Before running any macro create directories in directory you've installed this project

mkdir -p Jets_Comparison/data/Jets

Pythia

Paths in Makefile must be corrected for your configuration. Pythia will generate and process events and write jets spectra output as .txt file.

Before launch change setting to yours in pythia_jets.cc

To launch:

make pythia_jets
./pythia_jets

Herwig

First you need activate Herwig and go to directory Hewig_gen. Then you can generate events in Herwig after you change event genetation parameters to yours in Herwig_gen.in, snippets/PPCollider.in and in snippets/HepMC.in. Herwig will write output as .HepMC file

Herwig read Herwig_gen.in

After generation is done do similar thing with herwig_jets.cc as with pythia_jets.cc

make herwig_jets
./herwig_jets

Powheg

Not ready yet

Comparing jets

After getting spectra for different programms set your parameters and output and input files paths in jetsComparison.cc and run it via root

root jetsComparison.cc

This macro will draw all your specified spectra as root graphs (TGraph) on signle canvas and write it as .png file.

About

Jets comparison between Pythia, Herwig and Pawheg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published