ksamdev/bsm_analyze — Issue #44: Configurable ratio plots
Author: ksamdev
Created: 2012-03-09 17:33:19+00:00
State: open
Labels: template

By default ratio plot is calculated as a difference between data and background with respect to background, e.g.:

![default ratio](http://f.cl.ly/items/0936020m3T2d2j440o47/default_ratio.png)

It is necessary to configure different predefined ratios at runtime to look at, for example: signal/background. The configuration should be optional. Syntax examples:

```
python/templates/main.py --ratio ttbar/bg
python/templates/main.py --ratio wjets/mc
python/templates/main.py --ratio signal/bg
```

where the numerator and denominator are both valid channels.