Skip to content

Commit

Permalink
Adjust channels
Browse files Browse the repository at this point in the history
  • Loading branch information
jlawrenc committed Dec 13, 2023
1 parent 0ec1c89 commit a220784
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions analysis/topeft_run2/analysis_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def process(self, events):
selections.add("1l_1tau_os_onZ_CR", (events.is1l & pass_trg & tau_L_mask & weight_mask & chargelt_0))
selections.add("1l_1tau_onZ_CR", (events.is1l & pass_trg & tau_L_mask & weight_mask))
selections.add("1l_onZ_CR", (events.is1l & bmask_exactly0med & ~tau_L_mask & pass_trg & weight_mask))
selections.add("1l_1tau_jet_CR", (events.is1l & pass_trg & weight_mask & tau_Fake_mask & tau_jet_mask))
#selections.add("1l_1tau_jet_CR", (events.is1l & pass_trg & weight_mask & tau_Fake_mask & tau_jet_mask))
#selections.add("1l_1tau_jet_CR", (events.is1l & pass_trg & weight_mask & dis_mask))

# 3l selection
Expand All @@ -680,7 +680,7 @@ def process(self, events):
selections.add("3l_onZ_2b", (events.is3l & sfosz_3l_mask & bmask_atleast2med & pass_trg & no_tau_mask))
selections.add("3l_1tau_1b_VL", (events.is3l & bmask_exactly1med & pass_trg & tau_VL_mask))
selections.add("3l_1tau_2b_VL", (events.is3l & bmask_exactly2med & pass_trg & tau_VL_mask))
#selections.add("3l_CR", (events.is3l & bmask_exactly0med & pass_trg))
selections.add("3l_CR", (events.is3l & bmask_exactly0med & pass_trg))

# 4l selection
selections.add("4l", (events.is4l & bmask_atleast1med_or_atleast2loose & pass_trg))
Expand Down Expand Up @@ -882,27 +882,27 @@ def process(self, events):
cr_cat_dict = {
"1l_CRZ": {
"exactly_0j": {
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR", "1l_1tau_jet_CR"],
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR"],
"lep_flav_lst" : ["e", "m"],
"appl_lst" : ["isSR_1l", "isAR_1l"]
},
"exactly_1j": {
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR", "1l_1tau_jet_CR"],
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR"],
"lep_flav_lst" : ["e", "m"],
"appl_lst" : ["isSR_1l", "isAR_1l"]
},
"exactly_2j": {
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR", "1l_1tau_jet_CR"],
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR"],
"lep_flav_lst" : ["e", "m"],
"appl_lst" : ["isSR_1l", "isAR_1l"]
},
"exactly_3j": {
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR", "1l_1tau_jet_CR"],
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR"],
"lep_flav_lst" : ["e", "m"],
"appl_lst" : ["isSR_1l", "isAR_1l"]
},
"atleast_4j": {
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR", "1l_1tau_jet_CR"],
"lep_chan_lst" : ["1l_1tau_onZ_CR", "1l_1tau_os_onZ_CR", "1l_onZ_CR"],
"lep_flav_lst" : ["e", "m"],
"appl_lst" : ["isSR_1l", "isAR_1l"]
},
Expand Down Expand Up @@ -958,18 +958,18 @@ def process(self, events):
"appl_lst" : ["isSR_2lSS" , "isAR_2lSS"] + (["isAR_2lSS_OS"] if isData else []),
},
},
#"3l_CR" : {
# "exactly_0j" : {
# "lep_chan_lst" : ["3l_CR"],
# "lep_flav_lst" : ["eee" , "eem" , "emm", "mmm"],
# "appl_lst" : ["isSR_3l" , "isAR_3l"],
# },
# "atleast_1j" : {
# "lep_chan_lst" : ["3l_CR"],
# "lep_flav_lst" : ["eee" , "eem" , "emm", "mmm"],
# "appl_lst" : ["isSR_3l" , "isAR_3l"],
# },
#},
"3l_CR" : {
"exactly_0j" : {
"lep_chan_lst" : ["3l_CR"],
"lep_flav_lst" : ["eee" , "eem" , "emm", "mmm"],
"appl_lst" : ["isSR_3l" , "isAR_3l"],
},
"atleast_1j" : {
"lep_chan_lst" : ["3l_CR"],
"lep_flav_lst" : ["eee" , "eem" , "emm", "mmm"],
"appl_lst" : ["isSR_3l" , "isAR_3l"],
},
},
"2los_CRtt" : {
"exactly_2j" : {
"lep_chan_lst" : ["2los_CRtt_Ftau", "2los_CRtt_Ttau"],
Expand Down

0 comments on commit a220784

Please sign in to comment.