Skip to content

Commit

Permalink
2017 templates
Browse files Browse the repository at this point in the history
  • Loading branch information
rkansal47 committed Apr 3, 2024
1 parent c159183 commit f870226
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/HHbbVV/postprocessing/bash_scripts/NonresTemplatesScan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ while true; do
;;
--bdt)
# bdt_cut="--nonres-bdt-wp 0.99 0.997 0.998 0.999"
bdt_cut="--nonres-bdt-wp 0.9995 0.9999 0.99999"
bdt_cut="--nonres-bdt-wp 0.9995 0.9999"
;;
--txbb)
txbb_cut="--nonres-txbb-wp MP HP"
txbb_cut="--nonres-txbb-wp HP"
;;
--tag)
shift
Expand All @@ -53,7 +53,8 @@ if [[ -z $TAG ]]; then
exit 1
fi

for year in 2016APV 2016 2017 2018
# for year in 2016APV 2016 2017 2018
for year in 2017
do
python -u postprocessing.py --year $year --data-dir "$data_dir" --bdt-preds-dir $bdt_preds_dir \
--templates --template-dir "templates/$TAG" --no-do-jshifts \
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
,Pre-selection,QCD SF,LP SF,bbFatJetPt >= 300,VVFatJetPt >= 300,0.8 ≤ bbFatJetParticleNetMD_Txbb < 0.987,0 ≤ nGoodElectronsHbb < 0.9,0 ≤ nGoodMuonsHbb < 0.9
HHbbVV,1.676130328580837,1.676130328580837,1.676130328580837,1.6712036429905937,1.6670538167650584,0.8958404102473586,0.8942229325316694,0.8882082761216553
qqHH_CV_1_C2V_0_kl_1_HHbbVV,20.76198779204722,20.76198779204722,20.76198779204722,20.740910849479715,20.727007927656505,9.288506195183555,9.267504023067316,9.206424925437547
QCD,1117757.9198795073,1251971.716351885,1251971.716351885,1247814.9781850395,1244750.07933536,1143331.0221521324,1141294.8337143487,1135611.1443310194
TT,114729.52068857195,114729.52068857195,114729.52068857195,114375.90267312861,114019.19131760647,105921.95209069573,94109.79714396792,83049.76136771697
ST,9991.097357360093,9991.097357360093,9991.097357360093,9956.444147193402,9930.244963807756,9235.433282805323,8334.993552497284,7467.605774977011
W+Jets,14710.822213085146,14710.822213085146,14710.822213085146,14672.491652608198,14641.631954844934,13595.578384585595,13559.796461576161,13505.576176223845
Z+Jets,21597.004857058182,21597.004857058182,21597.004857058182,21522.694272012075,21479.126831498128,15519.657395224112,15484.087587123968,15381.734217811074
Diboson,936.1606241609028,936.1606241609028,936.1606241609028,932.3120773317856,930.6761200627391,667.6647629648394,632.5861554357709,596.7387960574015
ggFHbb,224.56874142701201,224.56874142701201,224.56874142701201,224.09132954605533,223.5656191986538,118.69483039355298,118.45821610291918,117.43612354633522
VBFHbb,66.27722451912622,66.27722451912622,66.27722451912622,66.16198883813554,66.0249915252132,32.62717765129778,32.50248820703429,32.14584089330372
ZHbb,63.465766584473805,63.465766584473805,63.465766584473805,63.322797344840964,63.235634550720064,31.762660021899208,31.686928147229867,31.366574301967624
WHbb,108.86564442012758,108.86564442012758,108.86564442012758,108.63886528171966,108.52664862322723,59.065988888646665,58.93673588594653,58.452439970124345
ggZHbb,9.5080271296301,9.5080271296301,9.5080271296301,9.483212575914823,9.46312346044892,5.72297987523155,5.705324578194473,5.652641230197077
ttHbb,312.2634270090423,312.2634270090423,312.2634270090423,311.1744105719533,310.21793216817366,250.87374886015397,220.27784457550888,190.01347347091334
HWW,150.72907678953348,150.72907678953348,150.72907678953348,150.22850888691733,149.66583899443282,137.96777014331087,114.03306188818213,93.65408916850045
Data,1414872.0,1414872.0,1414872.0,1414872.0,1414872.0,1307299.0,1290258.0,1271831.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
,Pre-selection,QCD SF,LP SF,bbFatJetPt >= 300,VVFatJetPt >= 300,BDTScore >= 0.9995,bbFatJetParticleNetMD_Txbb >= 0.987,0 ≤ nGoodElectronsHbb < 0.9,0 ≤ nGoodMuonsHbb < 0.9
HHbbVV,1.676130328580837,1.676130328580837,1.676130328580837,1.6712036429905937,1.6670538167650584,0.05054543560377898,0.024998012234202904,0.02495627816899896,0.024822920036343385
qqHH_CV_1_C2V_0_kl_1_HHbbVV,20.76198779204722,20.76198779204722,20.76198779204722,20.740910849479715,20.727007927656505,0.745757139261274,0.4406390383572959,0.4400153039375865,0.4387717969563851
QCD,1117757.9198795073,1251971.716351885,1251971.716351885,1247814.9781850395,1244750.07933536,5.996938673655936,0.0,0.0,0.0
TT,114729.52068857195,114729.52068857195,114729.52068857195,114375.90267312861,114019.19131760647,3.150398075732058,0.09819583912532676,0.09819583912532676,0.09819583912532676
ST,9991.097357360093,9991.097357360093,9991.097357360093,9956.444147193402,9930.244963807756,0.06761134343476857,0.0,0.0,0.0
W+Jets,14710.822213085146,14710.822213085146,14710.822213085146,14672.491652608198,14641.631954844934,1.5323256031169137,0.0,0.0,0.0
Z+Jets,21597.004857058182,21597.004857058182,21597.004857058182,21522.694272012075,21479.126831498128,0.6124942927033304,0.20268784513528254,0.20268784513528254,0.20268784513528254
Diboson,936.1606241609028,936.1606241609028,936.1606241609028,932.3120773317856,930.6761200627391,0.0,0.0,0.0,0.0
ggFHbb,224.56874142701201,224.56874142701201,224.56874142701201,224.09132954605533,223.5656191986538,0.0,0.0,0.0,0.0
VBFHbb,66.27722451912622,66.27722451912622,66.27722451912622,66.16198883813554,66.0249915252132,0.0,0.0,0.0,0.0
ZHbb,63.465766584473805,63.465766584473805,63.465766584473805,63.322797344840964,63.235634550720064,0.0002787393852770451,0.0002787393852770451,0.0002787393852770451,0.0002787393852770451
WHbb,108.86564442012758,108.86564442012758,108.86564442012758,108.63886528171966,108.52664862322723,0.005836867757869767,0.0019125133012394477,0.0019125133012394477,0.0019125133012394477
ggZHbb,9.5080271296301,9.5080271296301,9.5080271296301,9.483212575914823,9.46312346044892,0.00021252826610272766,0.0,0.0,0.0
ttHbb,312.2634270090423,312.2634270090423,312.2634270090423,311.1744105719533,310.21793216817366,0.021898014454031348,0.007495988678881589,0.007495988678881589,0.007495988678881589
HWW,150.72907678953348,150.72907678953348,150.72907678953348,150.22850888691733,149.66583899443282,0.4058796359809593,0.07049573306586782,0.06877635919817796,0.06877635919817796
Data,1414872.0,1414872.0,1414872.0,1414872.0,1414872.0,31.0,0.0,0.0,0.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"2016APV": {"pass": {"trig_total": 8638.593545006772, "trig_total_err": 128.35314884314658}, "fail": {"trig_total": 2660504.74319953, "trig_total_err": 4119.442774242709}}, "HHbbVV": {"lp_sf": 1.0359814396406297, "lp_sf_unc": 0.15576373244655392, "lp_sf_uncs": {"syst_unc": 0.11519200967615001, "stat_unc": 0.06657887986047198, "sj_pt_unc": 0.0013009207114169513, "sj_matching_unc": 0.08098581119108979}}, "qqHH_CV_1_C2V_0_kl_1_HHbbVV": {"lp_sf": 1.0486856343796624, "lp_sf_unc": 0.1199809190394604, "lp_sf_uncs": {"syst_unc": 0.041747241004338916, "stat_unc": 0.07090984700751168, "sj_pt_unc": 0.0037823003011776507, "sj_matching_unc": 0.08723575301378556}}, "2016": {"pass": {"trig_total": 7918.761823700485, "trig_total_err": 128.2339091452518}, "fail": {"trig_total": 2279925.507221415, "trig_total_err": 3872.4562812405525}}, "2018": {"pass": {"trig_total": 16223.417482085026, "trig_total_err": 202.81589196074526}, "fail": {"trig_total": 1842338.4174895105, "trig_total_err": 1991.002296784295}}}
{"2016APV": {"pass": {"trig_total": 8638.593545006772, "trig_total_err": 128.35314884314658}, "fail": {"trig_total": 2660504.74319953, "trig_total_err": 4119.442774242709}}, "HHbbVV": {"lp_sf": 1.0359814396406297, "lp_sf_unc": 0.15576373244655392, "lp_sf_uncs": {"syst_unc": 0.11519200967615001, "stat_unc": 0.06657887986047198, "sj_pt_unc": 0.0013009207114169513, "sj_matching_unc": 0.08098581119108979}}, "qqHH_CV_1_C2V_0_kl_1_HHbbVV": {"lp_sf": 1.0486856343796624, "lp_sf_unc": 0.1199809190394604, "lp_sf_uncs": {"syst_unc": 0.041747241004338916, "stat_unc": 0.07090984700751168, "sj_pt_unc": 0.0037823003011776507, "sj_matching_unc": 0.08723575301378556}}, "2016": {"pass": {"trig_total": 7918.761823700485, "trig_total_err": 128.2339091452518}, "fail": {"trig_total": 2279925.507221415, "trig_total_err": 3872.4562812405525}}, "2018": {"pass": {"trig_total": 16223.417482085026, "trig_total_err": 202.81589196074526}, "fail": {"trig_total": 1842338.4174895105, "trig_total_err": 1991.002296784295}}, "2017": {"pass": {"trig_total": 19162.614225593243, "trig_total_err": 249.80250263362996}, "fail": {"trig_total": 2329667.237158051, "trig_total_err": 2681.2240900538027}}}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
,Pre-selection,QCD SF,LP SF,bbFatJetPt >= 300,VVFatJetPt >= 300,0.8 ≤ bbFatJetParticleNetMD_Txbb < 0.987,0 ≤ nGoodElectronsHbb < 0.9,0 ≤ nGoodMuonsHbb < 0.9
HHbbVV,1.676130328580837,1.676130328580837,1.676130328580837,1.6712036429905937,1.6670538167650584,0.8958404102473586,0.8942229325316694,0.8882082761216553
qqHH_CV_1_C2V_0_kl_1_HHbbVV,20.76198779204722,20.76198779204722,20.76198779204722,20.740910849479715,20.727007927656505,9.288506195183555,9.267504023067316,9.206424925437547
QCD,1117757.9198795073,1251971.716351885,1251971.716351885,1247814.9781850395,1244750.07933536,1143331.0221521324,1141294.8337143487,1135611.1443310194
TT,114729.52068857195,114729.52068857195,114729.52068857195,114375.90267312861,114019.19131760647,105921.95209069573,94109.79714396792,83049.76136771697
ST,9991.097357360093,9991.097357360093,9991.097357360093,9956.444147193402,9930.244963807756,9235.433282805323,8334.993552497284,7467.605774977011
W+Jets,14710.822213085146,14710.822213085146,14710.822213085146,14672.491652608198,14641.631954844934,13595.578384585595,13559.796461576161,13505.576176223845
Z+Jets,21597.004857058182,21597.004857058182,21597.004857058182,21522.694272012075,21479.126831498128,15519.657395224112,15484.087587123968,15381.734217811074
Diboson,936.1606241609028,936.1606241609028,936.1606241609028,932.3120773317856,930.6761200627391,667.6647629648394,632.5861554357709,596.7387960574015
ggFHbb,224.56874142701201,224.56874142701201,224.56874142701201,224.09132954605533,223.5656191986538,118.69483039355298,118.45821610291918,117.43612354633522
VBFHbb,66.27722451912622,66.27722451912622,66.27722451912622,66.16198883813554,66.0249915252132,32.62717765129778,32.50248820703429,32.14584089330372
ZHbb,63.465766584473805,63.465766584473805,63.465766584473805,63.322797344840964,63.235634550720064,31.762660021899208,31.686928147229867,31.366574301967624
WHbb,108.86564442012758,108.86564442012758,108.86564442012758,108.63886528171966,108.52664862322723,59.065988888646665,58.93673588594653,58.452439970124345
ggZHbb,9.5080271296301,9.5080271296301,9.5080271296301,9.483212575914823,9.46312346044892,5.72297987523155,5.705324578194473,5.652641230197077
ttHbb,312.2634270090423,312.2634270090423,312.2634270090423,311.1744105719533,310.21793216817366,250.87374886015397,220.27784457550888,190.01347347091334
HWW,150.72907678953348,150.72907678953348,150.72907678953348,150.22850888691733,149.66583899443282,137.96777014331087,114.03306188818213,93.65408916850045
Data,1414872.0,1414872.0,1414872.0,1414872.0,1414872.0,1307299.0,1290258.0,1271831.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
,Pre-selection,QCD SF,LP SF,bbFatJetPt >= 300,VVFatJetPt >= 300,BDTScore >= 0.9999,bbFatJetParticleNetMD_Txbb >= 0.987,0 ≤ nGoodElectronsHbb < 0.9,0 ≤ nGoodMuonsHbb < 0.9
HHbbVV,1.676130328580837,1.676130328580837,1.676130328580837,1.6712036429905937,1.6670538167650584,0.0074323724344391865,0.0034634769355819184,0.0034449506174861247,0.003424971731487443
qqHH_CV_1_C2V_0_kl_1_HHbbVV,20.76198779204722,20.76198779204722,20.76198779204722,20.740910849479715,20.727007927656505,0.08224620795819018,0.050316581643648786,0.05028003236841774,0.050186782389419586
QCD,1117757.9198795073,1251971.716351885,1251971.716351885,1247814.9781850395,1244750.07933536,0.0,0.0,0.0,0.0
TT,114729.52068857195,114729.52068857195,114729.52068857195,114375.90267312861,114019.19131760647,0.27015436028878925,0.0,0.0,0.0
ST,9991.097357360093,9991.097357360093,9991.097357360093,9956.444147193402,9930.244963807756,-0.04254772285788505,0.0,0.0,0.0
W+Jets,14710.822213085146,14710.822213085146,14710.822213085146,14672.491652608198,14641.631954844934,0.1758475389272305,0.0,0.0,0.0
Z+Jets,21597.004857058182,21597.004857058182,21597.004857058182,21522.694272012075,21479.126831498128,0.06493526528883191,0.0,0.0,0.0
Diboson,936.1606241609028,936.1606241609028,936.1606241609028,932.3120773317856,930.6761200627391,0.0,0.0,0.0,0.0
ggFHbb,224.56874142701201,224.56874142701201,224.56874142701201,224.09132954605533,223.5656191986538,0.0,0.0,0.0,0.0
VBFHbb,66.27722451912622,66.27722451912622,66.27722451912622,66.16198883813554,66.0249915252132,0.0,0.0,0.0,0.0
ZHbb,63.465766584473805,63.465766584473805,63.465766584473805,63.322797344840964,63.235634550720064,0.0,0.0,0.0,0.0
WHbb,108.86564442012758,108.86564442012758,108.86564442012758,108.63886528171966,108.52664862322723,0.0,0.0,0.0,0.0
ggZHbb,9.5080271296301,9.5080271296301,9.5080271296301,9.483212575914823,9.46312346044892,0.0,0.0,0.0,0.0
ttHbb,312.2634270090423,312.2634270090423,312.2634270090423,311.1744105719533,310.21793216817366,0.0,0.0,0.0,0.0
HWW,150.72907678953348,150.72907678953348,150.72907678953348,150.22850888691733,149.66583899443282,0.04610043179673749,0.007885081508938586,0.007885081508938586,0.007885081508938586
Data,1414872.0,1414872.0,1414872.0,1414872.0,1414872.0,1.0,0.0,0.0,0.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"2016APV": {"pass": {"trig_total": 974.682780107712, "trig_total_err": 9.922552427245416}, "fail": {"trig_total": 2660504.74319953, "trig_total_err": 4119.442774242709}}, "HHbbVV": {"lp_sf": 1.0087140021346477, "lp_sf_unc": 0.10813906031500424, "lp_sf_uncs": {"syst_unc": 0.03712018438654031, "stat_unc": 0.08828709474177476, "sj_pt_unc": 0.003932624543220806, "sj_matching_unc": 0.050060679611650484}}, "qqHH_CV_1_C2V_0_kl_1_HHbbVV": {"lp_sf": 1.0537589050359883, "lp_sf_unc": 0.1381737773072094, "lp_sf_uncs": {"syst_unc": 0.09588150635145196, "stat_unc": 0.07993328829696361, "sj_pt_unc": 0.00957175715686565, "sj_matching_unc": 0.058461785484906874}}, "2016": {"pass": {"trig_total": 915.6362376849595, "trig_total_err": 11.063710655450244}, "fail": {"trig_total": 2279925.507221415, "trig_total_err": 3872.4562812405525}}, "2018": {"pass": {"trig_total": 1819.3110880459265, "trig_total_err": 13.813697989842613}, "fail": {"trig_total": 1842338.4174895105, "trig_total_err": 1991.002296784295}}}
{"2016APV": {"pass": {"trig_total": 974.682780107712, "trig_total_err": 9.922552427245416}, "fail": {"trig_total": 2660504.74319953, "trig_total_err": 4119.442774242709}}, "HHbbVV": {"lp_sf": 1.0087140021346477, "lp_sf_unc": 0.10813906031500424, "lp_sf_uncs": {"syst_unc": 0.03712018438654031, "stat_unc": 0.08828709474177476, "sj_pt_unc": 0.003932624543220806, "sj_matching_unc": 0.050060679611650484}}, "qqHH_CV_1_C2V_0_kl_1_HHbbVV": {"lp_sf": 1.0537589050359883, "lp_sf_unc": 0.1381737773072094, "lp_sf_uncs": {"syst_unc": 0.09588150635145196, "stat_unc": 0.07993328829696361, "sj_pt_unc": 0.00957175715686565, "sj_matching_unc": 0.058461785484906874}}, "2016": {"pass": {"trig_total": 915.6362376849595, "trig_total_err": 11.063710655450244}, "fail": {"trig_total": 2279925.507221415, "trig_total_err": 3872.4562812405525}}, "2018": {"pass": {"trig_total": 1819.3110880459265, "trig_total_err": 13.813697989842613}, "fail": {"trig_total": 1842338.4174895105, "trig_total_err": 1991.002296784295}}, "2017": {"pass": {"trig_total": 2187.6976037411614, "trig_total_err": 18.755250668091787}, "fail": {"trig_total": 2329667.237158051, "trig_total_err": 2681.2240900538027}}}

0 comments on commit f870226

Please sign in to comment.