scarrazza / lumi2d

Creates a 2D mx-y luminosity uncertainty plot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lumi2d

Creates a 2D luminosity uncertainty plot in function of rapidity and invariant mass.

Download

Clone the master development repository by running the following command:

$ git clone https://github.com/scarrazza/lumi2d.git

Or download the compressed archive without using git here.

Installation

lumi2d requires ROOT and LHAPDF.

Once all dependencies are satisfied, run:

$ python setup.py install
```

Note that the installer script does _not_ check for dependencies. This will
install the `lumi2d` program in the appropiate path.

## Usage

````Text
usage: lumi2d [-h] [-gev GEV] [-bins BINS] [-format FORMAT] pdfname channel

Creates a 2D mx-y luminosity uncertainty plot.

positional arguments:
  pdfname         the LHAPDF pdf set name.
  channel         the luminosity channel: gg,gq,qq,qqbar,udbar,dubar

optional arguments:
  -h, --help      show this help message and exit
  -gev GEV        the sqrts energy for the luminosity (default 13000).
  -bins BINS      the number of bins in y and mx (default 100).
  -format FORMAT  the plot output format (default png).

```

## Example

By running:
````Shell
$ lumi2d PDF4LHC15_nnlo_mc gg
```
We obtain:

![alt text](https://github.com/scarrazza/lumi2d/raw/master/extra/PDF4LHC15_nnlo_mc_gg_13000.0.png "Logo")

About

Creates a 2D mx-y luminosity uncertainty plot

License:GNU General Public License v3.0


Languages

Language:Python 100.0%