Skip to content

Commit

Permalink
add bdt_disc flag, correct GloParT-v2 mass (#232)
Browse files Browse the repository at this point in the history
* add bdt_disc flag

* fix

* fix

* fix mass

* style: pre-commit fixes

* fix dict name

* swap order

* update mass window

* dummy values

* dummy

* add new corrections

* style: pre-commit fixes

* fix bool

* style: pre-commit fixes

* fix fom report

* style: pre-commit fixes

* generalize

* style: pre-commit fixes

* 10.7

* update

* update create datacard

* style: pre-commit fixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Cristina Mantilla Suarez <[email protected]>
  • Loading branch information
3 people authored Nov 21, 2024
1 parent bbfffc0 commit 0c16deb
Show file tree
Hide file tree
Showing 45 changed files with 3,141 additions and 179 deletions.
1 change: 0 additions & 1 deletion src/HH4b/corrections/data/ttbar_sfs/24Sep27_v5_glopartv2

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"schema_version": 2,
"corrections": [
{
"name": "ttbar_corr_bdtshape_2022-2023",
"description": "ttbar correction bdtshape for 2022-2023",
"version": 1,
"inputs": [
{
"name": "bdtshape",
"type": "real",
"description": "bdtshape"
},
{
"name": "systematic",
"type": "string",
"description": "Systematic variation"
}
],
"output": {
"name": "weight",
"type": "real",
"description": "ttbar efficiency"
},
"data": {
"nodetype": "category",
"input": "systematic",
"content": [
{
"key": "nominal",
"value": {
"nodetype": "binning",
"input": "bdtshape",
"edges": [
0.0,
0.03,
0.3,
0.5,
0.7,
0.93,
1.0
],
"content": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
],
"flow": 1.0
}
},
{
"key": "stat_up",
"value": {
"nodetype": "binning",
"input": "bdtshape",
"edges": [
0.0,
0.03,
0.3,
0.5,
0.7,
0.93,
1.0
],
"content": [
0.3,
0.3,
0.3,
0.3,
0.3,
0.3
],
"flow": 1.0
}
},
{
"key": "stat_dn",
"value": {
"nodetype": "binning",
"input": "bdtshape",
"edges": [
0.0,
0.03,
0.3,
0.5,
0.7,
0.93,
1.0
],
"content": [
0.3,
0.3,
0.3,
0.3,
0.3,
0.3
],
"flow": 1.0
}
}
]
}
}
]
}
161 changes: 159 additions & 2 deletions src/HH4b/corrections/data/ttbarcorr_2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@
}
},
{
"name": "ttbar_corr_Xbb_2022",
"description": "ttbar correction Xbb for 2022",
"name": "ttbar_corr_pnet-legacy_Xbb_2022",
"description": "ttbar correction PNet Legacy Xbb for 2022",
"version": 1,
"inputs": [
{
Expand Down Expand Up @@ -345,6 +345,163 @@
]
}
},
{
"name": "ttbar_corr_dummy_Xbb_2022",
"description": "dummy ttbar correction Xbb for 2022",
"version": 1,
"inputs": [
{
"name": "Xbb",
"type": "real",
"description": "Xbb"
},
{
"name": "systematic",
"type": "string",
"description": "Systematic variation"
}
],
"output": {
"name": "weight",
"type": "real",
"description": "ttbar efficiency"
},
"data": {
"nodetype": "category",
"input": "systematic",
"content": [
{
"key": "nominal",
"value": {
"nodetype": "binning",
"input": "Xbb",
"edges": [
0.0,
0.009999999776482582,
0.09000000357627869,
0.18000000715255737,
0.27000001072883606,
0.36000001430511475,
0.44999998807907104,
0.5400000214576721,
0.6299999952316284,
0.7200000286102295,
0.7900000214576721,
0.8500000238418579,
0.9100000262260437,
0.9399999976158142,
0.9700000286102295,
1.0
],
"content": [
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0,
1.0
],
"flow": 1.0
}
},
{
"key": "stat_up",
"value": {
"nodetype": "binning",
"input": "Xbb",
"edges": [
0.0,
0.009999999776482582,
0.09000000357627869,
0.18000000715255737,
0.27000001072883606,
0.36000001430511475,
0.44999998807907104,
0.5400000214576721,
0.6299999952316284,
0.7200000286102295,
0.7900000214576721,
0.8500000238418579,
0.9100000262260437,
0.9399999976158142,
0.9700000286102295,
1.0
],
"content": [
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03
],
"flow": 1.0
}
},
{
"key": "stat_dn",
"value": {
"nodetype": "binning",
"input": "Xbb",
"edges": [
0.0,
0.009999999776482582,
0.09000000357627869,
0.18000000715255737,
0.27000001072883606,
0.36000001430511475,
0.44999998807907104,
0.5400000214576721,
0.6299999952316284,
0.7200000286102295,
0.7900000214576721,
0.8500000238418579,
0.9100000262260437,
0.9399999976158142,
0.9700000286102295,
1.0
],
"content": [
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03,
0.03
],
"flow": 1.0
}
}
]
}
},
{
"name": "ttbar_corr_PTJJ_2022",
"description": "ttbar correction PTJJ for 2022",
Expand Down
Loading

0 comments on commit 0c16deb

Please sign in to comment.