Commit e9e77821 authored by Dennis Noll's avatar Dennis Noll
Browse files

[config] analysis: adds reweighted signal process to mutliclass training

parent df5d4f52
......@@ -15,6 +15,7 @@ from config.util import PrepareConfig
from config.processes import rgb
from config.constants import (
BR_HH_BBTAUTAU,
BR_HH_BBWW_SL,
BR_HH_BBVV_DL,
HHres,
HHxs,
......@@ -123,25 +124,6 @@ analysis.processes.extend(specific_processes + specific_signals)
# corrections which are only used for distinct analyses
analysis.aux["non_common_corrections"] = ["Fake", "VJetsCorrections"]
analysis.aux["doFakeNonClosureCorrection"] = True
analysis.aux["multiclass"] = MulticlassConfig(
groups={
"mergedinclusive": {
"class_HHGluGlu_NLO": {"groups": ["signal", "constrain", "fit"]},
"class_HHVBF_NLO": {"groups": ["signal", "constrain", "fit"]},
"tt": {"groups": ["background", "constrain"]},
"st": {"groups": ["background"]},
"wjets": {"groups": ["background"]},
"H": {"groups": ["background"]},
"class_other": {"groups": ["background"]},
},
"ggfttbar": {
"ggHH_kl_1_kt_1_2B2WToLNu2J": {"groups": ["signal", "constrain", "fit"]},
"tt": {"groups": ["background", "constrain"]},
},
},
group="mergedinclusive",
maxn=2e6,
)
# categories and files used for the sync of yields
# fmt: off
......@@ -254,6 +236,7 @@ PrepareConfig(
HHReweigthing.update_config(
config=analysis,
root_processes={
"HH_2B2WToLNu2J_GluGlu": BR_HH_BBWW_SL,
"HH_2B2VTo2L2Nu_GluGlu": BR_HH_BBVV_DL,
"HH_2B2Tau_GluGlu": BR_HH_BBTAUTAU,
},
......@@ -275,6 +258,39 @@ HHReweigthing.update_config(
]
),
)
class_HHGluGlu_NLO_reweight = aci.Process(
name="class_HHGluGlu_NLO_reweight",
id=17789287,
label="HH(GGF)",
processes=[
analysis.processes.get("HH_2B2WToLNu2J_GluGlu_reweight"),
analysis.processes.get("HH_2B2VTo2L2Nu_GluGlu_reweight"),
analysis.processes.get("HH_2B2Tau_GluGlu_reweight"),
],
)
analysis.processes.extend([class_HHGluGlu_NLO_reweight])
analysis.aux["multiclass"] = MulticlassConfig(
groups={
"mergedinclusive": {
"class_HHGluGlu_NLO_reweight": {"groups": ["signal", "constrain", "fit"]},
"class_HHVBF_NLO": {"groups": ["signal", "constrain", "fit"]},
"tt": {"groups": ["background", "constrain"]},
"st": {"groups": ["background"]},
"wjets": {"groups": ["background"]},
"H": {"groups": ["background"]},
"class_other": {"groups": ["background"]},
},
"ggfttbar": {
"ggHH_kl_1_kt_1_2B2WToLNu2J": {"groups": ["signal", "constrain", "fit"]},
"tt": {"groups": ["background", "constrain"]},
},
},
group="mergedinclusive",
maxn=2e6,
)
from bbww_sl.config.categories import setup_categories
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment