Commit 08dc0109 authored by Peter Fackeldey's avatar Peter Fackeldey
Browse files

decorrelate scale envelope like TLL

parent 4a6ef1a1
......@@ -16,30 +16,15 @@ from utils.util import AsteriskDict
class StatModelBase(Datacard):
@property
def custom_lines(self):
rename = {"TT": "ttbar", "ST": "singlet"}
return (
[
f"nuisance edit rename {process} * {nuisance} {nuisance}_{rename.get(process, process)}"
for process in ["TT", "WJets", "ST"]
for nuisance in ["ps_fsr", "ps_isr"]
]
+ [
f"nuisance edit rename {process} * scale scale_{rename.get(process, process)}"
for process in ["TT", "WJets"]
]
# + [
# f"nuisance edit rename {process} * CMS_bbww_sl_TriangleExtrapolation_{self.category}_{self.year} CMS_bbww_sl_TriangleExtrapolation_{self.category}_{self.year}_{process}"
# for process in [
# "TT",
# "WJets",
# "ST",
# "Fakes",
# ]
# ]
+ [
f"{self.bin} autoMCStats 10",
]
lines = self.decorrelate(
systematic="scale",
processes=["DY", "TT", "VV", "WJets", "ggHH", "tHW", "tHq", "ttH", "ttW", "ttZ"],
)
# Check decorrelation with Karl:
lines += self.decorrelate(systematic="ps_fsr", processes=["WJets", "TT", "ST"])
lines += self.decorrelate(systematic="ps_isr", processes=["WJets", "TT", "ST"])
lines += [f"{self.bin} autoMCStats 10"]
return lines
# hook for renamings
# rename processes
......@@ -344,11 +329,11 @@ class StatModelBase(Datacard):
strength=1.0,
processes=[
"tt",
"st",
# "st",
# "GluGluHToTauTau_M125",
# "GluGluHToBB_M125",
"dc_ggHbb",
"GluGluHToWWToLNuQQ_M125_NNPDF31",
# "dc_ggHbb",
# "GluGluHToWWToLNuQQ_M125_NNPDF31",
],
)
self.add_systematics(
......
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