from CommonPyTools.python.CommonTools import *
import os, sys

SKFlat_WD = os.getenv('SKFlat_WD')
sys.path.insert(0,SKFlat_WD+'/CommonTools/include')
from Definitions import * # to use enumerate for unfolding histogram type

variables['mll'] = {
    'name': 'dilep_mass_rec_Nominal',
    'range': (800, 0, 400),
    'xaxis': 'm_{ll} [GeV]',
    'fold' : 0
    }
variables['ptll'] = {
    'name': 'dilep_pt_rec_Nominal',
    'range': (100, 0, 100),
    'xaxis': 'pt_{ll} [GeV]',
    'fold' : 0
    }
variables['ptll_variable_bin'] = {                                                                                                                                                                
    'name': 'dilep_pt_rec_Nominal',
    'range': ([0., 1., 2., 3., 4., 5., 6., 7., 8., 9., 10., 11., 12., 13., 14., 16., 18., 20., 22., 25., 28., 32., 37., 43., 50., 60., 72., 85., 100.],),
    'xaxis': 'pt_{ll} [GeV]',
    'fold' : 0
    }
variables['mll_m80to100'] = {
    'name': 'dilep_mass_rec_Nominal',
    'range': (40, 80, 100),
    'xaxis': 'm_{ll} [GeV]',
    'fold' : 0
    }
variables['mll_variable_bin'] = {
    'name': 'dilep_mass_rec_Nominal',
    'range': ([15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 64, 68, 72, 76, 81, 86, 91, 96, 101, 106, 110, 115, 120, 126, 133, 141, 150, 160, 171, 185, 200, 220, 243, 273, 320, 380, 440],),
    'xaxis': 'm_{ll} [GeV]',
    'go1D':  True,
    'fold' : 0
    }
