selection = {}
# preselection selection
selection['preselection']['lepton_pt_cut'] = [25.,20.]
selection['preselection']['jet_pt_cut'] = 50.
selection['preselection']['zmass_cut'] = 15.
selection['preselection']['mll_cut'] = 20.
selection['preselection']['mlll_cut'] = -9999.
selection['preselection']['met_cut'] = 30.
selection['preselection']['bjet_veto'] = True
selection['preselection']['tau_veto'] = True
selection['preselection']['zeppenfeld'] = 0.75
selection['preselection']['mjj_cut'] = 500.
selection['preselection']['detajj_cut'] = 2.5

# ssww selection
selection['ssww']['lepton_pt_cut'] = [25.,20.]
selection['ssww']['jet_pt_cut'] = 50.
selection['ssww']['zmass_cut'] = 15.
selection['ssww']['mll_cut'] = 20.
selection['ssww']['mlll_cut'] = -9999.
selection['ssww']['met_cut'] = 30.
selection['ssww']['bjet_veto'] = True
selection['ssww']['tau_veto'] = True
selection['ssww']['zeppenfeld'] = 0.75
selection['ssww']['mjj_cut'] = 500.
selection['ssww']['detajj_cut'] = 2.5

# wz selection
selection['wz'] = {}
selection['wz']['lepton_pt_cut'] = [25.,20.,20.]
selection['wz']['jet_pt_cut'] = 50.
selection['wz']['zmass_cut'] = 15.
selection['wz']['mll_cut'] = -9999.
selection['wz']['mlll_cut'] = 100.
selection['wz']['met_cut'] = 30.
selection['wz']['bjet_veto'] = True
selection['wz']['tau_veto'] = True
selection['wz']['zeppenfeld'] = 1.
selection['wz']['mjj_cut'] = 500.
selection['wz']['detajj_cut'] = 2.5

# nonprompt selection
selection['nonprompt'] = {}
selection['nonprompt']['lepton_pt_cut'] = [25.,20.]
selection['nonprompt']['jet_pt_cut'] = 50.
selection['nonprompt']['zmass_cut'] = 15.
selection['nonprompt']['mll_cut'] = 20.
selection['nonprompt']['mlll_cut'] = -9999.
selection['nonprompt']['met_cut'] = 30.
selection['nonprompt']['bjet_veto'] = False
selection['nonprompt']['tau_veto'] = True
selection['nonprompt']['zeppenfeld'] = 0.75
selection['nonprompt']['mjj_cut'] = 500.
selection['nonprompt']['detajj_cut'] = 2.5

# wzb selection
selection['wzb'] = {}
selection['wzb']['lepton_pt_cut'] = [25.,20.,20.]
selection['wzb']['jet_pt_cut'] = 50.
selection['wzb']['zmass_cut'] = 15.
selection['wzb']['mll_cut'] = -9999.
selection['wzb']['mlll_cut'] = 100.
selection['wzb']['met_cut'] = 30.
selection['wzb']['bjet_veto'] = False
selection['wzb']['tau_veto'] = True
selection['wzb']['zeppenfeld'] = 1.0
selection['wzb']['mjj_cut'] = 500.
selection['wzb']['detajj_cut'] = 2.5

# zz selection
selection['zz'] = {}
selection['zz']['lepton_pt_cut'] = [25.,20.,10.,10.]
selection['zz']['jet_pt_cut'] = 50.
selection['zz']['zmass_cut'] = 15.
selection['zz']['mll_cut'] = -9999.
selection['zz']['mlll_cut'] = -9999.
selection['zz']['met_cut'] = -9999.
selection['zz']['bjet_veto'] = False
selection['zz']['tau_veto'] = False
selection['zz']['zeppenfeld'] = 0.75
selection['zz']['mjj_cut'] = 500.
selection['zz']['detajj_cut'] = 2.5

# loose wz selection
selection['loose_wz'] = {}
selection['loose_wz']['lepton_pt_cut'] = [25.,20.,20.]
selection['loose_wz']['jet_pt_cut'] = -9999.
selection['loose_wz']['zmass_cut'] = 15.
selection['loose_wz']['mll_cut'] = -9999.
selection['loose_wz']['mlll_cut'] = 100.
selection['loose_wz']['met_cut'] = 30.
selection['loose_wz']['bjet_veto'] = True
selection['loose_wz']['tau_veto'] = True
selection['loose_wz']['zeppenfeld'] = -9999.
selection['loose_wz']['mjj_cut'] = -9999.
selection['loose_wz']['detajj_cut'] = -9999.

# loose zz selection
selection['loose_zz'] = {}
selection['loose_zz']['lepton_pt_cut'] = [25.,20.,10.,10.]
selection['loose_zz']['jet_pt_cut'] = -9999.
selection['loose_zz']['zmass_cut'] = 30.
selection['loose_zz']['mll_cut'] = -9999.
selection['loose_zz']['mlll_cut'] = -9999.
selection['loose_zz']['met_cut'] = -9999.
selection['loose_zz']['bjet_veto'] = False
selection['loose_zz']['tau_veto'] = False
selection['loose_zz']['zeppenfeld'] = -9999.
selection['loose_zz']['mjj_cut'] = -9999.
selection['loose_zz']['detajj_cut'] = -9999.

# loose dijet selection
selection['loose_dijet'] = {}
selection['loose_dijet']['lepton_pt_cut'] = [25.,20.]
selection['loose_dijet']['jet_pt_cut'] = 50.
selection['loose_dijet']['zmass_cut'] = 15.
selection['loose_dijet']['mll_cut'] = 20.
selection['loose_dijet']['mlll_cut'] = -9999.
selection['loose_dijet']['met_cut'] = 30.
selection['loose_dijet']['bjet_veto'] = False
selection['loose_dijet']['tau_veto'] = True
selection['loose_dijet']['zeppenfeld'] = -9999.
selection['loose_dijet']['mjj_cut'] = 500.
selection['loose_dijet']['detajj_cut'] = -9999.






