From 98ceaee74500bf48f5f34a7e904dc3ea3d1d8017 Mon Sep 17 00:00:00 2001 From: Jacopo Malvaso Date: Tue, 23 Jul 2024 15:43:29 +0200 Subject: [PATCH 1/6] Campaign defition RUN3 2022_preEE --- cmsdb/campaigns/run2_2017_nano_v9/__init__.py | 2 +- .../run3_2022_preEE_nano_tau_v12/__init__.py | 35 + .../run3_2022_preEE_nano_tau_v12/data.py | 74 ++ .../run3_2022_preEE_nano_tau_v12/ewk.py | 366 ++++++ .../higgs.py | 2 +- .../run3_2022_preEE_nano_tau_v12/signal.py | 539 ++++++++ .../run3_2022_preEE_nano_tau_v12/top.py | 133 ++ .../run3_2022_preEE_nano_v12/__init__.py | 44 - .../run3_2022_preEE_nano_v12/data.py | 176 --- .../campaigns/run3_2022_preEE_nano_v12/ewk.py | 617 --------- .../run3_2022_preEE_nano_v12/hh2bbww.py | 56 - .../run3_2022_preEE_nano_v12/hhh4b2tau.py | 15 - .../campaigns/run3_2022_preEE_nano_v12/qcd.py | 250 ---- .../campaigns/run3_2022_preEE_nano_v12/top.py | 1132 ----------------- cmsdb/constants/__init__.py | 109 +- cmsdb/processes/ewk.py | 949 +------------- cmsdb/processes/higgs.py | 63 +- cmsdb/processes/top.py | 104 +- 18 files changed, 1411 insertions(+), 3255 deletions(-) create mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py create mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/data.py create mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py rename cmsdb/campaigns/{run3_2022_preEE_nano_v12 => run3_2022_preEE_nano_tau_v12}/higgs.py (99%) create mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py create mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/top.py delete mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_v12/__init__.py delete mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_v12/data.py delete mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_v12/ewk.py delete mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_v12/hh2bbww.py delete mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_v12/hhh4b2tau.py delete mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_v12/qcd.py delete mode 100644 cmsdb/campaigns/run3_2022_preEE_nano_v12/top.py diff --git a/cmsdb/campaigns/run2_2017_nano_v9/__init__.py b/cmsdb/campaigns/run2_2017_nano_v9/__init__.py index 06f53c83..cc57e6a3 100644 --- a/cmsdb/campaigns/run2_2017_nano_v9/__init__.py +++ b/cmsdb/campaigns/run2_2017_nano_v9/__init__.py @@ -18,7 +18,7 @@ campaign_run2_2017_nano_v9 = Campaign( name="run2_2017_nano_v9", id=220171, - ecm=13, + ecm=13.6, bx=25, aux={ "tier": "NanoAOD", diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py new file mode 100644 index 00000000..66fa98f5 --- /dev/null +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py @@ -0,0 +1,35 @@ +# coding: utf-8 + +""" +TBU +""" + +from order import Campaign + + +# +# campaign +# + +campaign_run3_2022_preEE_nano_tau_v12 = Campaign( + name="run3_2022_preEE_nano_tau_v12", + id=20221233, # run 2 year 2022 ver 12 #33 is just for separation between different configs + ecm=13.6, + bx=25, + aux={ + "tier": "NanoAOD", + "year": 2022, + "version": 12, + "custom": { + "name": "run3_2022_preEE_nano_tau_v12", + "creator": "desy", + "location": "/eos/cms/store/group/phys_higgs/HLepRare/skim_2024_v1/Run3_2022" + }, + }, +) + +# trailing imports to load datasets +import cmsdb.campaigns.run3_2022_preEE_nano_tau_v12.data +import cmsdb.campaigns.run3_2022_preEE_nano_tau_v12.top +import cmsdb.campaigns.run3_2022_preEE_nano_tau_v12.ewk +import cmsdb.campaigns.run3_2022_preEE_nano_tau_v12.signal diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/data.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/data.py new file mode 100644 index 00000000..de8df918 --- /dev/null +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/data.py @@ -0,0 +1,74 @@ +# coding: utf-8 + +""" +CMS datasets from the 2022 post-EE data-taking campaign +""" + +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_preEE_nano_tau_v12 import campaign_run3_2022_preEE_nano_tau_v12 as cpn + +cpn.add_dataset( + name='data_tau_C', + id=2212010, + is_data=True, + processes=[procs.data_tau], + keys=['/Tau_Run2022C'], + n_files=10, + n_events=25903135.0, + aux={'era': 'C', 'require_triggers': ['DoubleMediumChargedIsoPFTauHPS40_Trk1_eta2p1', 'DoubleTightChargedIsoPFTauHPS35_Trk1_eta2p1']} +) + +cpn.add_dataset( + name='data_tau_D', + id=2212011, + is_data=True, + processes=[procs.data_tau], + keys=['/Tau_Run2022D'], + n_files=6, + n_events=16686692.0, + aux={'era': 'D', 'require_triggers': ['DoubleMediumChargedIsoPFTauHPS40_Trk1_eta2p1', 'DoubleTightChargedIsoPFTauHPS35_Trk1_eta2p1']} +) + +cpn.add_dataset( + name='data_mu_C', + id=2212012, + is_data=True, + processes=[procs.data_mu], + keys=['/Muon_Run2022C'], + n_files=28, + n_events=138329693.0, + aux={'era': 'C'} +) + +cpn.add_dataset( + name='data_mu_D', + id=2212013, + is_data=True, + processes=[procs.data_mu], + keys=['/Muon_Run2022D'], + n_files=16, + n_events=75440027.0, + aux={'era': 'D'} +) + +cpn.add_dataset( + name='data_e_C', + id=2212014, + is_data=True, + processes=[procs.data_e], + keys=['/EGamma_Run2022C'], + n_files=46, + n_events=263549470.0, + aux={'era': 'C'} +) + +cpn.add_dataset( + name='data_e_D', + id=2212015, + is_data=True, + processes=[procs.data_e], + keys=['/EGamma_Run2022D'], + n_files=18, + n_events=89134996.0, + aux={'era': 'D'} +) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py new file mode 100644 index 00000000..2bacc6db --- /dev/null +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py @@ -0,0 +1,366 @@ +# coding: utf-8 + +""" +Electroweak datasets for the 2022 post-EE data-taking campaign +""" + +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_preEE_nano_tau_v12 import campaign_run3_2022_preEE_nano_tau_v12 as cpn + + +# +# Drell-Yan +# + +cpn.add_dataset( + name='dy_incl', + id=2212016, + is_data=False, + processes=[procs.dy_lep], + keys=['/DYto2L_M-50_madgraphMLM', '/DYto2L_M-50_madgraphMLM_ext1'], + n_files=63, + n_events=145286646.0, + aux=None +) + +cpn.add_dataset( + name='dy_lep_m10to50', + id=2212017, + is_data=False, + processes=[procs.dy_lep], + keys=['/DYto2L_M-10to50_amcatnloFXFX'], + n_files=15, + n_events=52629903.0, + aux=None +) + +cpn.add_dataset( + name='dy_lep_0j', + id=2212018, + is_data=False, + processes=[procs.dy_lep], + keys=['/DYto2L_M-50_0J_amcatnloFXFX'], + n_files=42, + n_events=83840818.0, + aux=None +) + +cpn.add_dataset( + name='dy_lep_1j', + id=2212019, + is_data=False, + processes=[procs.dy_lep], + keys=['/DYto2L_M-50_1J_amcatnloFXFX'], + n_files=54, + n_events=46809421.0, + aux=None +) + +cpn.add_dataset( + name='dy_lep_2j', + id=22120110, + is_data=False, + processes=[procs.dy_lep], + keys=['/DYto2L_M-50_2J_amcatnloFXFX'], + n_files=51, + n_events=23075468.0, + aux=None +) + +# cpn.add_dataset( +# name='wj_incl', +# id=22120111, +# is_data=False, +# processes=[procs.wj], +# keys=['/WtoLNu_amcatnloFXFX'], +# n_files=24, +# n_events=59463375.0, +# aux=None +# ) +cpn.add_dataset( + name='wj_incl', + id=414, + processes=[procs.wj], + keys=['/WtoLNu_madgraphMLM','/WtoLNu_madgraphMLM_ext1'], + n_files=21+24, + n_events=87204163+97491826, + aux={ + "require_triggers" : ["IsoMu24",] + }, +) + +cpn.add_dataset( + name='ww', + id=22120112, + is_data=False, + processes=[procs.ww], + keys=['/WW'], + n_files=5, + n_events=15405496.0, + aux=None +) + +cpn.add_dataset( + name='wz', + id=22120113, + is_data=False, + processes=[procs.wz], + keys=['/WZ'], + n_files=3, + n_events=7527043.0, + aux=None +) + +cpn.add_dataset( + name='zz', + id=22120114, + is_data=False, + processes=[procs.zz], + keys=['/ZZ'], + n_files=1, + n_events=1181750.0, + aux=None +) + +## DYto2E ## +# cpn.add_dataset( +# name=['DYto2E_MLL-10to50_powheg'], +# id=10, +# processes=[procs.process_10], +# keys=['DYto2E_MLL-10to50_powheg'], +# n_files=1, +# n_events=1356076, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-120to200_powheg'], +# id=11, +# processes=[procs.process_11], +# keys=['DYto2E_MLL-120to200_powheg'], +# n_files=1, +# n_events=1482424, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-1500to2500_powheg'], +# id=12, +# processes=[procs.process_12], +# keys=['DYto2E_MLL-1500to2500_powheg'], +# n_files=1, +# n_events=586670, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-200to400_powheg'], +# id=13, +# processes=[procs.process_13], +# keys=['DYto2E_MLL-200to400_powheg'], +# n_files=1, +# n_events=864092, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-2500to4000_powheg'], +# id=14, +# processes=[procs.process_14], +# keys=['DYto2E_MLL-2500to4000_powheg'], +# n_files=1, +# n_events=290470, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-4000to6000_powheg'], +# id=15, +# processes=[procs.process_15], +# keys=['DYto2E_MLL-4000to6000_powheg'], +# n_files=1, +# n_events=298946, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-400to800_powheg'], +# id=16, +# processes=[procs.process_16], +# keys=['DYto2E_MLL-400to800_powheg'], +# n_files=1, +# n_events=1070267, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-50to120_powheg'], +# id=17, +# processes=[procs.process_17], +# keys=['DYto2E_MLL-50to120_powheg'], +# n_files=2, +# n_events=2859284, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-6000_powheg'], +# id=18, +# processes=[procs.process_18], +# keys=['DYto2E_MLL-6000_powheg'], +# n_files=1, +# n_events=145094, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2E_MLL-800to1500_powheg'], +# id=19, +# processes=[procs.process_19], +# keys=['DYto2E_MLL-800to1500_powheg'], +# n_files=1, +# n_events=610366, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +## DYto2Tau ## + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-10to50_powheg'], +# id=51, +# processes=[procs.process_51], +# keys=['DYto2Tau_MLL-10to50_powheg'], +# n_files=1, +# n_events=1338709, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-120to200_powheg'], +# id=52, +# processes=[procs.process_52], +# keys=['DYto2Tau_MLL-120to200_powheg'], +# n_files=1, +# n_events=1483110, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-1500to2500_powheg'], +# id=53, +# processes=[procs.process_53], +# keys=['DYto2Tau_MLL-1500to2500_powheg'], +# n_files=1, +# n_events=599982, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-200to400_powheg'], +# id=54, +# processes=[procs.process_54], +# keys=['DYto2Tau_MLL-200to400_powheg'], +# n_files=1, +# n_events=872968, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-2500to4000_powheg'], +# id=55, +# processes=[procs.process_55], +# keys=['DYto2Tau_MLL-2500to4000_powheg'], +# n_files=1, +# n_events=301961, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-4000to6000_powheg'], +# id=56, +# processes=[procs.process_56], +# keys=['DYto2Tau_MLL-4000to6000_powheg'], +# n_files=1, +# n_events=303143, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-400to800_powheg'], +# id=57, +# processes=[procs.process_57], +# keys=['DYto2Tau_MLL-400to800_powheg'], +# n_files=1, +# n_events=897512, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-50to120_powheg'], +# id=58, +# processes=[procs.process_58], +# keys=['DYto2Tau_MLL-50to120_powheg'], +# n_files=2, +# n_events=2907117, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-6000_powheg'], +# id=59, +# processes=[procs.process_59], +# keys=['DYto2Tau_MLL-6000_powheg'], +# n_files=1, +# n_events=146995, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['DYto2Tau_MLL-800to1500_powheg'], +# id=60, +# processes=[procs.process_60], +# keys=['DYto2Tau_MLL-800to1500_powheg'], +# n_files=1, +# n_events=581124, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) \ No newline at end of file diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/higgs.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/higgs.py similarity index 99% rename from cmsdb/campaigns/run3_2022_preEE_nano_v12/higgs.py rename to cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/higgs.py index 4af421ae..434f49c5 100644 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/higgs.py +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/higgs.py @@ -1243,4 +1243,4 @@ n_events=790196, ), ), -) +) \ No newline at end of file diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py new file mode 100644 index 00000000..9255457d --- /dev/null +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py @@ -0,0 +1,539 @@ +# coding: utf-8 + +""" +CMS datasets from the 2022 post-EE data-taking campaign +""" + +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_preEE_nano_tau_v12 import campaign_run3_2022_preEE_nano_tau_v12 as cpn + + +# +# Muon +# + +cpn.add_dataset( + name="signal", + id=11100, + processes=[procs.h_ggf_tautau], + keys=['/GluGluHToTauTau_M125'], + n_files=1, + n_events=295692, + aux={ + "require_triggers" : ["IsoMu24",] + }, +) +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-1000_2HDM-II'], +# id=69, +# processes=[procs.process_69], +# keys=['GluGluHto2Tau_M-1000_2HDM-II'], +# n_files=1, +# n_events=446596, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-100_2HDM-II'], +# id=70, +# processes=[procs.process_70], +# keys=['GluGluHto2Tau_M-100_2HDM-II'], +# n_files=1, +# n_events=449942, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-105_2HDM-II'], +# id=71, +# processes=[procs.process_71], +# keys=['GluGluHto2Tau_M-105_2HDM-II'], +# n_files=1, +# n_events=448536, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-1100_2HDM-II'], +# id=72, +# processes=[procs.process_72], +# keys=['GluGluHto2Tau_M-1100_2HDM-II'], +# n_files=1, +# n_events=447987, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-110_2HDM-II'], +# id=73, +# processes=[procs.process_73], +# keys=['GluGluHto2Tau_M-110_2HDM-II'], +# n_files=1, +# n_events=449958, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-115_2HDM-II'], +# id=74, +# processes=[procs.process_74], +# keys=['GluGluHto2Tau_M-115_2HDM-II'], +# n_files=1, +# n_events=447160, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-1200_2HDM-II'], +# id=75, +# processes=[procs.process_75], +# keys=['GluGluHto2Tau_M-1200_2HDM-II'], +# n_files=1, +# n_events=447983, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-120_2HDM-II'], +# id=76, +# processes=[procs.process_76], +# keys=['GluGluHto2Tau_M-120_2HDM-II'], +# n_files=1, +# n_events=449175, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-125_2HDM-II'], +# id=77, +# processes=[procs.process_77], +# keys=['GluGluHto2Tau_M-125_2HDM-II'], +# n_files=1, +# n_events=447825, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-130_2HDM-II'], +# id=78, +# processes=[procs.process_78], +# keys=['GluGluHto2Tau_M-130_2HDM-II'], +# n_files=1, +# n_events=449968, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-135_2HDM-II'], +# id=79, +# processes=[procs.process_79], +# keys=['GluGluHto2Tau_M-135_2HDM-II'], +# n_files=1, +# n_events=449970, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-1400_2HDM-II'], +# id=80, +# processes=[procs.process_80], +# keys=['GluGluHto2Tau_M-1400_2HDM-II'], +# n_files=1, +# n_events=446050, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-140_2HDM-II'], +# id=81, +# processes=[procs.process_81], +# keys=['GluGluHto2Tau_M-140_2HDM-II'], +# n_files=1, +# n_events=449962, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-1600_2HDM-II'], +# id=82, +# processes=[procs.process_82], +# keys=['GluGluHto2Tau_M-1600_2HDM-II'], +# n_files=1, +# n_events=448004, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-160_2HDM-II'], +# id=83, +# processes=[procs.process_83], +# keys=['GluGluHto2Tau_M-160_2HDM-II'], +# n_files=1, +# n_events=449972, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-1800_2HDM-II'], +# id=84, +# processes=[procs.process_84], +# keys=['GluGluHto2Tau_M-1800_2HDM-II'], +# n_files=1, +# n_events=448684, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-180_2HDM-II'], +# id=85, +# processes=[procs.process_85], +# keys=['GluGluHto2Tau_M-180_2HDM-II'], +# n_files=1, +# n_events=449279, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-2000_2HDM-II'], +# id=86, +# processes=[procs.process_86], +# keys=['GluGluHto2Tau_M-2000_2HDM-II'], +# n_files=1, +# n_events=446753, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-200_2HDM-II'], +# id=87, +# processes=[procs.process_87], +# keys=['GluGluHto2Tau_M-200_2HDM-II'], +# n_files=1, +# n_events=448584, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-2300_2HDM-II'], +# id=88, +# processes=[procs.process_88], +# keys=['GluGluHto2Tau_M-2300_2HDM-II'], +# n_files=1, +# n_events=449309, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-250_2HDM-II'], +# id=89, +# processes=[procs.process_89], +# keys=['GluGluHto2Tau_M-250_2HDM-II'], +# n_files=1, +# n_events=448594, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-2600_2HDM-II'], +# id=90, +# processes=[procs.process_90], +# keys=['GluGluHto2Tau_M-2600_2HDM-II'], +# n_files=1, +# n_events=449332, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-2900_2HDM-II'], +# id=91, +# processes=[procs.process_91], +# keys=['GluGluHto2Tau_M-2900_2HDM-II'], +# n_files=1, +# n_events=446066, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-300_2HDM-II'], +# id=92, +# processes=[procs.process_92], +# keys=['GluGluHto2Tau_M-300_2HDM-II'], +# n_files=1, +# n_events=448598, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-3200_2HDM-II'], +# id=93, +# processes=[procs.process_93], +# keys=['GluGluHto2Tau_M-3200_2HDM-II'], +# n_files=1, +# n_events=449932, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-3500_2HDM-II'], +# id=94, +# processes=[procs.process_94], +# keys=['GluGluHto2Tau_M-3500_2HDM-II'], +# n_files=1, +# n_events=449908, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-350_2HDM-II'], +# id=95, +# processes=[procs.process_95], +# keys=['GluGluHto2Tau_M-350_2HDM-II'], +# n_files=1, +# n_events=447891, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-400_2HDM-II'], +# id=96, +# processes=[procs.process_96], +# keys=['GluGluHto2Tau_M-400_2HDM-II'], +# n_files=1, +# n_events=449301, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-450_2HDM-II'], +# id=97, +# processes=[procs.process_97], +# keys=['GluGluHto2Tau_M-450_2HDM-II'], +# n_files=1, +# n_events=449992, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-500_2HDM-II'], +# id=98, +# processes=[procs.process_98], +# keys=['GluGluHto2Tau_M-500_2HDM-II'], +# n_files=1, +# n_events=449988, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-600_2HDM-II'], +# id=99, +# processes=[procs.process_99], +# keys=['GluGluHto2Tau_M-600_2HDM-II'], +# n_files=1, +# n_events=449300, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-60_2HDM-II'], +# id=100, +# processes=[procs.process_100], +# keys=['GluGluHto2Tau_M-60_2HDM-II'], +# n_files=1, +# n_events=447803, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-65_2HDM-II'], +# id=101, +# processes=[procs.process_101], +# keys=['GluGluHto2Tau_M-65_2HDM-II'], +# n_files=1, +# n_events=448504, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-700_2HDM-II'], +# id=102, +# processes=[procs.process_102], +# keys=['GluGluHto2Tau_M-700_2HDM-II'], +# n_files=1, +# n_events=449994, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-70_2HDM-II'], +# id=103, +# processes=[procs.process_103], +# keys=['GluGluHto2Tau_M-70_2HDM-II'], +# n_files=1, +# n_events=448500, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-75_2HDM-II'], +# id=104, +# processes=[procs.process_104], +# keys=['GluGluHto2Tau_M-75_2HDM-II'], +# n_files=1, +# n_events=449940, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-800_2HDM-II'], +# id=105, +# processes=[procs.process_105], +# keys=['GluGluHto2Tau_M-800_2HDM-II'], +# n_files=1, +# n_events=448646, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-80_2HDM-II'], +# id=106, +# processes=[procs.process_106], +# keys=['GluGluHto2Tau_M-80_2HDM-II'], +# n_files=1, +# n_events=448532, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-85_2HDM-II'], +# id=107, +# processes=[procs.process_107], +# keys=['GluGluHto2Tau_M-85_2HDM-II'], +# n_files=1, +# n_events=448516, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-900_2HDM-II'], +# id=108, +# processes=[procs.process_108], +# keys=['GluGluHto2Tau_M-900_2HDM-II'], +# n_files=1, +# n_events=448622, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-90_2HDM-II'], +# id=109, +# processes=[procs.process_109], +# keys=['GluGluHto2Tau_M-90_2HDM-II'], +# n_files=1, +# n_events=448516, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) + +# cpn.add_dataset( +# name=['GluGluHto2Tau_M-95_2HDM-II'], +# id=110, +# processes=[procs.process_110], +# keys=['GluGluHto2Tau_M-95_2HDM-II'], +# n_files=1, +# n_events=447820, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) +# cpn.add_dataset( +# name=['VBFHToTauTau_M125'], +# id=370, +# processes=[procs.process_370], +# keys=['VBFHToTauTau_M125'], +# n_files=1, +# n_events=298955, +# aux={ +# "require_triggers" : ["IsoMu24",] +# }, +# ) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/top.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/top.py new file mode 100644 index 00000000..129ae2d5 --- /dev/null +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/top.py @@ -0,0 +1,133 @@ +# coding: utf-8 + +""" +Top quark datasets for the 2022 pre-EE data-taking campaign +""" + +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_preEE_nano_tau_v12 import campaign_run3_2022_preEE_nano_tau_v12 as cpn +### SINGLE TOP ### +#TBbarQ +cpn.add_dataset( + name='st_tchannel_t', + id=22120118, + is_data=False, + processes=[procs.st_tchannel_t], + keys=['/ST_t-channel_top_4f_InclusiveDecays'], + n_files=2, + n_events=2737505.0, + aux=None +) + +#TbarBQ_t +cpn.add_dataset( + name='st_tchannel_tbar', + id=22120119, + is_data=False, + processes=[procs.st_tchannel_tbar], + keys=['/ST_t-channel_antitop_4f_InclusiveDecays'], + n_files=1, + n_events=1325389.0, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_t_sl', + id=22120120, + is_data=False, + processes=[procs.st_twchannel_t_sl], + keys=['/ST_tW_top_LNu2Q', '/ST_tW_top_LNu2Q_ext1'], + n_files=8, + n_events=9643983.0, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_t_dl', + id=22120121, + is_data=False, + processes=[procs.st_twchannel_t_dl], + keys=['/ST_tW_top_2L2Nu', '/ST_tW_top_2L2Nu_ext1'], + n_files=6, + n_events=4886868.0, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_t_fh', + id=22120122, + is_data=False, + processes=[procs.st_twchannel_t_fh], + keys=['/ST_tW_top_4Q', '/ST_tW_top_4Q_ext1'], + n_files=2, + n_events=3861851.0, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_tbar_sl', + id=22120123, + is_data=False, + processes=[procs.st_twchannel_tbar_sl], + keys=['/ST_tW_antitop_LNu2Q', '/ST_tW_antitop_LNu2Q_ext1'], + n_files=8, + n_events=9224089.0, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_tbar_dl', + id=22120124, + is_data=False, + processes=[procs.st_twchannel_tbar_dl], + keys=['/ST_tW_antitop_2L2Nu', '/ST_tW_antitop_2L2Nu_ext1'], + n_files=3+3, + n_events=2465884.0+2435657.0, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_tbar_fh', + id=22120125, + is_data=False, + processes=[procs.st_twchannel_tbar_fh], + keys=['/ST_tW_antitop_4Q', '/ST_tW_antitop_4Q_ext1'], + n_files=5, + n_events=7762668.0, + aux=None +) + +### TT SAMPLES ### +cpn.add_dataset( + name='tt_sl', + id=22120115, + is_data=False, + processes=[procs.tt_sl], + keys=['/TTtoLNu2Q', '/TTtoLNu2Q_ext1'], + n_files=82+71, + n_events= 88730729.0+76380270.0, + aux=None +) + +cpn.add_dataset( + name='tt_dl', + id=22120116, + is_data=False, + processes=[procs.tt_dl], + keys=['/TTto2L2Nu', '/TTto2L2Nu_ext1'], + n_files=24+24, + n_events=23610071.0+23890314.0, + aux=None +) + +cpn.add_dataset( + name='tt_fh', + id=22120117, + is_data=False, + processes=[procs.tt_fh], + keys=['/TTto4Q', '/TTto4Q_ext1'], + n_files=33+32, + n_events=53042730.0+52146535.0, + aux=None +) + diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/__init__.py b/cmsdb/campaigns/run3_2022_preEE_nano_v12/__init__.py deleted file mode 100644 index 454cdcc2..00000000 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/__init__.py +++ /dev/null @@ -1,44 +0,0 @@ -# coding: utf-8 - -""" -Common, analysis independent definition of the 2022 pre-EE data-taking campaign -with datasets at NanoAOD tier in version 12. The 'pre-EE' refers to data taken -before part of the positive ECAL endcap (EE+) had to be shut down because of a water -leak inside the detector in late 2022 (more details can be found at -https://cms.cern/news/problems-and-solutions-ecal-leak-story). -The corresponding set of MC samples include a simulation of the detector including -the endcap region that was later affected by the leak. - -See https://python-order.readthedocs.io/en/latest/quickstart.html#analysis-campaign-and-config. - -Dataset ids are identical to those in DAS (https://cmsweb.cern.ch/das). -""" - -from order import Campaign - - -# -# campaign -# - -campaign_run3_2022_preEE_nano_v12 = Campaign( - name="run3_2022_preEE_nano_v12", - id=320221201, # 3 2022 12 01(u) - ecm=13.6, - bx=25, - aux={ - "tier": "NanoAOD", - "year": 2022, - "version": 12, - }, -) - - -# trailing imports to load datasets -import cmsdb.campaigns.run3_2022_preEE_nano_v12.data # noqa -import cmsdb.campaigns.run3_2022_preEE_nano_v12.top # noqa -import cmsdb.campaigns.run3_2022_preEE_nano_v12.ewk # noqa -import cmsdb.campaigns.run3_2022_preEE_nano_v12.qcd # noqa -import cmsdb.campaigns.run3_2022_preEE_nano_v12.higgs # noqa -import cmsdb.campaigns.run3_2022_preEE_nano_v12.hh2bbww # noqa -import cmsdb.campaigns.run3_2022_preEE_nano_v12.hhh4b2tau # noqa diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/data.py b/cmsdb/campaigns/run3_2022_preEE_nano_v12/data.py deleted file mode 100644 index 8e0c414f..00000000 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/data.py +++ /dev/null @@ -1,176 +0,0 @@ -# coding: utf-8 - -""" -CMS datasets from the 2022 pre-EE data-taking campaign -""" - -import cmsdb.processes as procs -from cmsdb.campaigns.run3_2022_preEE_nano_v12 import campaign_run3_2022_preEE_nano_v12 as cpn - - -# -# Muon -# - - -cpn.add_dataset( - name="data_mu_c", - id=14784127, - is_data=True, - processes=[procs.data_mu], - keys=[ - "/Muon/Run2022C-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=124, - n_events=138427345, - aux={ - "era": "C", - }, -) - -cpn.add_dataset( - name="data_mu_d", - id=14783357, - is_data=True, - processes=[procs.data_mu], - keys=[ - "/Muon/Run2022D-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=82, - n_events=75468381, - aux={ - "era": "D", - }, -) - - -# -# E/Gamma -# - - -cpn.add_dataset( - name="data_egamma_a", - id=14783268, - is_data=True, - processes=[procs.data_egamma], - keys=[ - "/EGamma/Run2022A-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=5, - n_events=186, - aux={ - "era": "A", - }, -) - -cpn.add_dataset( - name="data_egamma_b", - id=14826835, - is_data=True, - processes=[procs.data_egamma], - keys=[ - "/EGamma/Run2022B-22Sep2023-v2/NANOAOD", # noqa - ], - n_files=14, - n_events=11074301, - aux={ - "era": "B", - }, -) - -cpn.add_dataset( - name="data_egamma_c", - id=14784140, - is_data=True, - processes=[procs.data_egamma], - keys=[ - "/EGamma/Run2022C-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=313, - n_events=263689151, - aux={ - "era": "C", - }, -) - -cpn.add_dataset( - name="data_egamma_d", - id=14783299, - is_data=True, - processes=[procs.data_egamma], - keys=[ - "/EGamma/Run2022D-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=109, - n_events=89134996, - aux={ - "era": "D", - }, -) - - -# -# MuonEG -# - - -cpn.add_dataset( - name="data_muoneg_a", - id=14783289, - is_data=True, - processes=[procs.data_muoneg], - keys=[ - "/MuonEG/Run2022A-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=5, - n_events=12, - aux={ - "era": "A", - }, -) - -cpn.add_dataset( - name="data_muoneg_b", - id=14784076, - is_data=True, - processes=[procs.data_muoneg], - keys=[ - "/MuonEG/Run2022B-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=7, - n_events=254803, - aux={ - "era": "B", - }, -) - -cpn.add_dataset( - name="data_muoneg_c", - id=14784125, - is_data=True, - processes=[procs.data_muoneg], - keys=[ - "/MuonEG/Run2022C-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=28, - n_events=15768439, - aux={ - "era": "C", - }, -) - -cpn.add_dataset( - name="data_muoneg_d", - id=14784209, - is_data=True, - processes=[procs.data_muoneg], - keys=[ - "/MuonEG/Run2022D-22Sep2023-v1/NANOAOD", # noqa - ], - n_files=16, - n_events=8007031, - aux={ - "era": "D", - }, -) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/ewk.py b/cmsdb/campaigns/run3_2022_preEE_nano_v12/ewk.py deleted file mode 100644 index da08278c..00000000 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/ewk.py +++ /dev/null @@ -1,617 +0,0 @@ -# coding: utf-8 - -""" -Electroweak datasets for the 2022 pre-EE data-taking campaign -""" - -from order import DatasetInfo - -import cmsdb.processes as procs -from cmsdb.campaigns.run3_2022_preEE_nano_v12 import campaign_run3_2022_preEE_nano_v12 as cpn - -#################################################################################################### -# -# Drell-Yan -# -#################################################################################################### - -# inclusive, LO, forPog -cpn.add_dataset( - name="dy_lep_m50_for_pog_madgraph", - id=14802794, - processes=[procs.dy_lep_m50], - keys=[ - "/DYJetsToLL_M-50_TuneCP5_13p6TeV-madgraphMLM-pythia8/Run3Summer22NanoAODv12-forPOG_130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=51, - n_events=27096229, -) - -# inclusive, LO -cpn.add_dataset( - name="dy_lep_m10to50_madgraph", - id=14873228, - processes=[procs.dy_lep_m10to50], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-4Jets_MLL-10to50_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v3/NANOAODSIM", # noqa - ], - n_files=2274, - n_events=500642946, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m50_madgraph", - id=14810676, - processes=[procs.dy_lep_m50], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-4Jets_MLL-50_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=236, - n_events=240872023, - ), - extension=DatasetInfo( - keys=[ - "/DYto2L-4Jets_MLL-50_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6_ext1-v2/NANOAODSIM", # noqa - ], - n_files=1587, - n_events=254295366, - ), - ), -) - -# jet-binned, LO -cpn.add_dataset( - name="dy_lep_m50_1j_madgraph", - id=14790810, - processes=[procs.dy_lep_m50_1j], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-4Jets_MLL-50_1J_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=187, - n_events=57771603, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m50_2j_madgraph", - id=14794042, - processes=[procs.dy_lep_m50_2j], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-4Jets_MLL-50_2J_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=147, - n_events=50007544, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m50_3j_madgraph", - id=14791238, - processes=[procs.dy_lep_m50_3j], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-4Jets_MLL-50_3J_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=109, - n_events=28997825, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m50_4j_madgraph", - id=14794840, - processes=[procs.dy_lep_m50_4j], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-4Jets_MLL-50_4J_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=140, - n_events=9490226, - ), - ), -) - -# TODO: implement corresponding processes + xsecs -# # ptll-binned, LO -# cpn.add_dataset( -# name="dy_lep_m50_ptll100to200_madgraph", -# id=14948737, -# processes=[procs.dy_lep_m50_ptll100to200], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-50_PTLL-100to200_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=497, -# n_events=69961256, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_ptll200to400_madgraph", -# id=14949443, -# processes=[procs.dy_lep_m50_ptll200to400], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-50_PTLL-200to400_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=155, -# n_events=6931476, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_ptll400to600_madgraph", -# id=14949288, -# processes=[procs.dy_lep_m50_ptll400to600], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-50_PTLL-400to600_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=81, -# n_events=3355496, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_ptll600toinf_madgraph", -# id=14948747, -# processes=[procs.dy_lep_m50_ptll600toinf], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-50_PTLL-600_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=117, -# n_events=3470735, -# ), -# ), -# ) - -# # ht-binned, LO -# cpn.add_dataset( -# name="dy_lep_m4to50_ht40to70_madgraph", -# id=14950532, -# processes=[procs.dy_lep_m4to50_ht40to70], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-4to50_HT-40to70_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=1706, -# n_events=332696345, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m4to50_ht70to100_madgraph", -# id=14949534, -# processes=[procs.dy_lep_m4to50_ht70to100], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-4to50_HT-70to100_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=1099, -# n_events=201751012, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m4to50_ht400to800_madgraph", -# id=14949799, -# processes=[procs.dy_lep_m4to50_ht400to800], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-4to50_HT-400to800_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=77, -# n_events=4520981, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m4to50_ht800to1500_madgraph", -# id=14948706, -# processes=[procs.dy_lep_m4to50_ht800to1500], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-4to50_HT-800to1500_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=189, -# n_events=3901947, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m4to50_ht1500to2500_madgraph", -# id=14951014, -# processes=[procs.dy_lep_m4to50_ht1500to2500], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-4to50_HT-1500to2500_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=54, -# n_events=3203979, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m4to50_ht2500toinf_madgraph", -# id=14952243, -# processes=[procs.dy_lep_m4to50_ht2500toinf], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-4to50_HT-2500_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=147, -# n_events=3660177, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50to120_ht40to70_madgraph", -# id=14817089, -# processes=[procs.dy_lep_m50to120_ht40to70], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-50to120_HT-40to70_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=422, -# n_events=133980512, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50to120_ht70to100_madgraph", -# id=14847021, -# processes=[procs.dy_lep_m50to120_ht70to100], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-50to120_HT-70to100_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v3/NANOAODSIM", # noqa -# ], -# n_files=648, -# n_events=98847366, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50to120_ht100to400_madgraph", -# id=14813464, -# processes=[procs.dy_lep_m50to120_ht100to400], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-4Jets_MLL-50to120_HT-100to400_TuneCP5_13p6TeV_madgraphMLM-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=307, -# n_events=142936007, -# ), -# ), -# ) - -# inclusive, NLO -cpn.add_dataset( - name="dy_lep_m4to10_amcatnlo", - id=14940403, - processes=[procs.dy_lep_m4to10], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-4to10_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=1037, - n_events=197465370, - ), - extension=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-4to10_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6_ext1-v2/NANOAODSIM", # noqa - ], - n_files=838, - n_events=147147055, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m10to50_amcatnlo", - id=14803206, - processes=[procs.dy_lep_m10to50], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-10to50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=322, - n_events=215532589, - ), - extension=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-10to50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6_ext1-v3/NANOAODSIM", # noqa - ], - n_files=1123, - n_events=171220296, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m50_amcatnlo", - id=14791972, - processes=[procs.dy_lep_m50], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=286, - n_events=213436879, - ), - extension=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6_ext1-v1/NANOAODSIM", # noqa - ], - n_files=407, - n_events=319825084, - ), - ), -) - -# jet-binned, NLO -cpn.add_dataset( - name="dy_lep_m50_0j_amcatnlo", - id=14791116, - processes=[procs.dy_lep_m50_0j], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-50_0J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=452, - n_events=346950546, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m50_1j_amcatnlo", - id=14790681, - processes=[procs.dy_lep_m50_1j], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-50_1J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=454, - n_events=322623183, - ), - ), -) -cpn.add_dataset( - name="dy_lep_m50_2j_amcatnlo", - id=14801013, - processes=[procs.dy_lep_m50_2j], - info=dict( - nominal=DatasetInfo( - keys=[ - "/DYto2L-2Jets_MLL-50_2J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa - ], - n_files=386, - n_events=277437970, - ), - ), -) - -# TODO: implement corresponding processes + xsecs -# # ptll and jet-binned, NLO -# cpn.add_dataset( -# name="dy_lep_m50_1j_ptll40to100_amcatnlo", -# id=14825993, -# processes=[procs.dy_lep_m50_1j_ptll40to100], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-40to100_1J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=287, -# n_events=163904854, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_1j_ptll100to200_amcatnlo", -# id=14826169, -# processes=[procs.dy_lep_m50_1j_ptll100to200], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-100to200_1J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=183, -# n_events=64510280, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_1j_ptll200to400_amcatnlo", -# id=14824736, -# processes=[procs.dy_lep_m50_1j_ptll200to400], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-200to400_1J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=61, -# n_events=6583092, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_1j_ptll400to600_amcatnlo", -# id=14826052, -# processes=[procs.dy_lep_m50_1j_ptll400to600], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-400to600_1J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=38, -# n_events=1722633, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_1j_ptll600toinf_amcatnlo", -# id=14870369, -# processes=[procs.dy_lep_m50_1j_ptll600toinf], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-600_1J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v3/NANOAODSIM", # noqa -# ], -# n_files=33, -# n_events=1862921, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_2j_ptll40to100_amcatnlo", -# id=14868304, -# processes=[procs.dy_lep_m50_2j_ptll40to100], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-40to100_2J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v3/NANOAODSIM", # noqa -# ], -# n_files=406, -# n_events=66554879, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_2j_ptll100to200_amcatnlo", -# id=14870830, -# processes=[procs.dy_lep_m50_2j_ptll100to200], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-100to200_2J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v3/NANOAODSIM", # noqa -# ], -# n_files=356, -# n_events=70249250, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_2j_ptll200to400_amcatnlo", -# id=14853119, -# processes=[procs.dy_lep_m50_2j_ptll200to400], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-200to400_2J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v3/NANOAODSIM", # noqa -# ], -# n_files=93, -# n_events=12661552, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_2j_ptll400to600_amcatnlo", -# id=14827368, -# processes=[procs.dy_lep_m50_2j_ptll400to600], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-400to600_2J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa -# ], -# n_files=48, -# n_events=1739647, -# ), -# ), -# ) -# cpn.add_dataset( -# name="dy_lep_m50_2j_ptll600toinf_amcatnlo", -# id=14824689, -# processes=[procs.dy_lep_m50_2j_ptll600toinf], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/DYto2L-2Jets_MLL-50_PTLL-600_2J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v1/NANOAODSIM", # noqa -# ], -# n_files=25, -# n_events=1682240, -# ), -# ), -# ) - - -#################################################################################################### -# -# W boson production -# -#################################################################################################### - -cpn.add_dataset( - name="w_lnu_amcatnlo", - id=14803995, - processes=[procs.w_lnu], - keys=[ - "/WtoLNu-2Jets_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=148, - n_events=84739011, -) - -# -# Diboson -# - -cpn.add_dataset( - name="ww_pythia", - id=14800098, - processes=[procs.ww], - keys=[ - "/WW_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=63, - n_events=15357390, -) - -cpn.add_dataset( - name="wz_pythia", - id=14803901, - processes=[procs.wz], - keys=[ - "/WZ_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=46, - n_events=7527043, -) - -cpn.add_dataset( - name="zz_pythia", - id=14808010, - processes=[procs.zz], - keys=[ - "/ZZ_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=21, - n_events=1181750, -) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/hh2bbww.py b/cmsdb/campaigns/run3_2022_preEE_nano_v12/hh2bbww.py deleted file mode 100644 index 83771a8a..00000000 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/hh2bbww.py +++ /dev/null @@ -1,56 +0,0 @@ -# coding: utf-8 - -""" -HH -> bbWW datasets for the 2022 pre-EE data-taking campaign -""" - -import cmsdb.processes as procs -from cmsdb.campaigns.run3_2022_preEE_nano_v12 import campaign_run3_2022_preEE_nano_v12 as cpn - -# -# ggf, HH -> bbVV inclusive -# - -cpn.add_dataset( - name="hh_ggf_kl1_kt1_hbb_hvv_powheg", - id=14863914, - processes=[procs.hh_ggf_kl1_kt1_hbb_hvv], - keys=[ - "/GluGlutoHHto2B2V_kl-1p00_kt-1p00_c2-0p00_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v3/NANOAODSIM", # noqa - ], - n_files=48, - n_events=229178, - aux={"allow_uppercase_name": True}, -) - -# -# ggf, HH -> bbVV single lepton -# - -cpn.add_dataset( - name="hh_ggf_kl1_kt1_hbb_hvvqqlnu_powheg", - id=14868316, - processes=[procs.hh_ggf_kl1_kt1_hbb_hvvqqlnu], - keys=[ - "/GluGlutoHHto2B2WtoLNu2Q_kl-1p00_kt-1p00_c2-0p00_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=31, - n_events=89899, - aux={"allow_uppercase_name": True}, -) - -# -# ggf, HH -> bbVV dilepton -# - -cpn.add_dataset( - name="hh_ggf_kl1_kt1_hbb_hvv2l2nu_powheg", - id=14847284, - processes=[procs.hh_ggf_kl1_kt1_hbb_hvv2l2nu], - keys=[ - "/GluGlutoHHto2B2Vto2L2Nu_kl-1p00_kt-1p00_c2-0p00_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v1/NANOAODSIM", # noqa - ], - n_files=20, - n_events=86800, - aux={"allow_uppercase_name": True}, -) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/hhh4b2tau.py b/cmsdb/campaigns/run3_2022_preEE_nano_v12/hhh4b2tau.py deleted file mode 100644 index 14a2ef9b..00000000 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/hhh4b2tau.py +++ /dev/null @@ -1,15 +0,0 @@ - -import cmsdb.processes as procs -from cmsdb.campaigns.run3_2022_preEE_nano_v12 import campaign_run3_2022_preEE_nano_v12 as cpn - -# SM sample -cpn.add_dataset( - name="hhh4b2tau_c3_0_d4_0_madgraph", - id=14791536, - processes=[procs.hhh_ggf_4b2tau], - keys=[ - "/HHHto4B2Tau_c3-0_d4-0_TuneCP5_13p6TeV_amcatnlo-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=32, - n_events=9483880, -) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/qcd.py b/cmsdb/campaigns/run3_2022_preEE_nano_v12/qcd.py deleted file mode 100644 index 79fc09e2..00000000 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/qcd.py +++ /dev/null @@ -1,250 +0,0 @@ -# coding: utf-8 - -""" -QCD datasets for the 2022 pre-EE data-taking campaign -""" - -import cmsdb.processes as procs -from cmsdb.campaigns.run3_2022_preEE_nano_v12 import campaign_run3_2022_preEE_nano_v12 as cpn - - -# -# QCD (pythia, pt-binned, muon enriched) -# - - -cpn.add_dataset( - name="qcd_mu_pt15to20_pythia", - id=14800053, - processes=[procs.qcd_mu_pt15to20], - keys=[ - "/QCD_PT-15to20_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=38, - n_events=4417909, -) - -cpn.add_dataset( - name="qcd_mu_pt20to30_pythia", - id=14809799, - processes=[procs.qcd_mu_pt20to30], - keys=[ - "/QCD_PT-20to30_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=71, - n_events=30200859, -) -cpn.add_dataset( - name="qcd_mu_pt30to50_pythia", - id=14805426, - processes=[procs.qcd_mu_pt30to50], - keys=[ - "/QCD_PT-30to50_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=82, - n_events=33440507, -) -cpn.add_dataset( - name="qcd_mu_pt50to80_pythia", - id=14791064, - processes=[procs.qcd_mu_pt50to80], - keys=[ - "/QCD_PT-50to80_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=86, - n_events=40107069, -) -cpn.add_dataset( - name="qcd_mu_pt80to120_pythia", - id=14797620, - processes=[procs.qcd_mu_pt80to120], - keys=[ - "/QCD_PT-80to120_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=84, - n_events=24614026, -) -cpn.add_dataset( - name="qcd_mu_pt120to170_pythia", - id=14791498, - processes=[procs.qcd_mu_pt120to170], - keys=[ - "/QCD_PT-120to170_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=88, - n_events=18555616, -) -cpn.add_dataset( - name="qcd_mu_pt170to300_pythia", - id=14798613, - processes=[procs.qcd_mu_pt170to300], - keys=[ - "/QCD_PT-170to300_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=193, - n_events=36864921, -) -cpn.add_dataset( - name="qcd_mu_pt300to470_pythia", - id=14792060, - processes=[procs.qcd_mu_pt300to470], - keys=[ - "/QCD_PT-300to470_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=64, - n_events=30226277, -) -cpn.add_dataset( - name="qcd_mu_pt470to600_pythia", - id=14791997, - processes=[procs.qcd_mu_pt470to600], - keys=[ - "/QCD_PT-470to600_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=58, - n_events=18567007, -) -cpn.add_dataset( - name="qcd_mu_pt600to800_pythia", - id=14800405, - processes=[procs.qcd_mu_pt600to800], - keys=[ - "/QCD_PT-600to800_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=107, - n_events=19723745, -) -cpn.add_dataset( - name="qcd_mu_pt800to1000_pythia", - id=14808237, - processes=[procs.qcd_mu_pt800to1000], - keys=[ - "/QCD_PT-800to1000_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=86, - n_events=39316355, -) -cpn.add_dataset( - name="qcd_mu_pt1000_pythia", - id=14796004, - processes=[procs.qcd_mu_pt1000], - keys=[ - "/QCD_PT-1000_MuEnrichedPt5_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=64, - n_events=13705539, -) - - -# -# QCD (pythia, pt-binned, electron enriched) -# - - -cpn.add_dataset( - name="qcd_em_pt10to30_pythia", - id=14805335, - processes=[procs.qcd_em_pt10to30], - keys=[ - "/QCD_PT-10to30_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=49, - n_events=986169, -) -cpn.add_dataset( - name="qcd_em_pt30to50_pythia", - id=14808098, - processes=[procs.qcd_em_pt30to50], - keys=[ - "/QCD_PT-30to50_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=21, - n_events=954720, -) -cpn.add_dataset( - name="qcd_em_pt50to80_pythia", - id=14792371, - processes=[procs.qcd_em_pt50to80], - keys=[ - "/QCD_PT-50to80_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=24, - n_events=929811, -) -cpn.add_dataset( - name="qcd_em_pt80to120_pythia", - id=14801474, - processes=[procs.qcd_em_pt80to120], - keys=[ - "/QCD_PT-80to120_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=30, - n_events=951227, -) -cpn.add_dataset( - name="qcd_em_pt120to170_pythia", - id=14801536, - processes=[procs.qcd_em_pt120to170], - keys=[ - "/QCD_PT-120to170_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=36, - n_events=931334, -) -cpn.add_dataset( - name="qcd_em_pt170to300_pythia", - id=14808219, - processes=[procs.qcd_em_pt170to300], - keys=[ - "/QCD_PT-170to300_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=24, - n_events=1007981, -) -cpn.add_dataset( - name="qcd_em_pt300toinf_pythia", - id=14802354, - processes=[procs.qcd_em_pt300toinf], - keys=[ - "/QCD_PT-300toInf_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=23, - n_events=908512, -) - - -# -# QCD (pythia, pt-binned, double electron enriched) -# - - -cpn.add_dataset( - name="qcd_doubleem_pt30to40_mgg80_pythia", - id=14801752, - processes=[procs.qcd_doubleem_pt30to40_mgg80], - keys=[ - "/QCD_PT-30to40_DoubleEMEnriched_MGG-80toInf_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=54, - n_events=1425413, -) -cpn.add_dataset( - name="qcd_doubleem_pt30_mgg40to80_pythia", - id=14807962, - processes=[procs.qcd_doubleem_pt30_mgg40to80], - keys=[ - "/QCD_PT-30toInf_DoubleEMEnriched_MGG-40to80_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=38, - n_events=2875029, -) -cpn.add_dataset( - name="qcd_doubleem_pt40_mgg80_pythia", - id=14803826, - processes=[procs.qcd_doubleem_pt40_mgg80], - keys=[ - "/QCD_PT-40toInf_DoubleEMEnriched_MGG-80toInf_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=26, - n_events=2947774, -) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_v12/top.py b/cmsdb/campaigns/run3_2022_preEE_nano_v12/top.py deleted file mode 100644 index 54a41561..00000000 --- a/cmsdb/campaigns/run3_2022_preEE_nano_v12/top.py +++ /dev/null @@ -1,1132 +0,0 @@ -# coding: utf-8 - -""" -top quark datasets for the 2022 pre-EE data-taking campaign -""" - -from order import DatasetInfo - -import cmsdb.processes as procs -from cmsdb.campaigns.run3_2022_preEE_nano_v12 import campaign_run3_2022_preEE_nano_v12 as cpn - - -# -# ttbar -# - - -cpn.add_dataset( - name="tt_sl_powheg", - id=14791322, - processes=[procs.tt_sl], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TTtoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=187, - n_events=87986940, - ), - extension=DatasetInfo( - keys=[ - "/TTtoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - ], - n_files=716, - n_events=76955324, - ), - hdamp_down=DatasetInfo( - keys=[ - "/TTtoLNu2Q_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=101, - n_events=32029996, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TTtoLNu2Q_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=160, - n_events=31572504, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTtoLNu2Q_MT-166p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=85, - # n_events=30007707, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTtoLNu2Q_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=77, - # n_events=32108628, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TTtoLNu2Q_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=112, - n_events=32724200, - ), - mtop_up=DatasetInfo( - keys=[ - "/TTtoLNu2Q_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=124, - n_events=31188404, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTtoLNu2Q_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=99, - # n_events=31416065, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTtoLNu2Q_MT-178p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=70, - # n_events=31349400, - # ), - cr_1=DatasetInfo( - keys=[ - "/TTtoLNu2Q_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=75, - n_events=32314035, - ), - cr_2=DatasetInfo( - keys=[ - "/TTtoLNu2Q_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=63, - n_events=31008419, - ), - tune_down=DatasetInfo( - keys=[ - "/TTtoLNu2Q_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=70, - n_events=32337000, - ), - tune_up=DatasetInfo( - keys=[ - "/TTtoLNu2Q_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=76, - n_events=31582784, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTtoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-JMENano12p5_132X_mcRun3_2022_realistic_v3_ext1-v2/NANOAODSIM", # noqa - # ], - # n_files=116, - # n_events=77002090, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTtoLNu2Q_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=74, - # n_events=32388034, - # ), - ), -) - -cpn.add_dataset( - name="tt_dl_powheg", - id=14803719, - is_data=False, - processes=[procs.tt_dl], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TTto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=67, - n_events=23778148, - ), - extension=DatasetInfo( - keys=[ - "/TTto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - ], - n_files=319, - n_events=24047488, - ), - hdamp_down=DatasetInfo( - keys=[ - "/TTto2L2Nu_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=60, - n_events=9858113, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TTto2L2Nu_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=63, - n_events=9795550, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto2L2Nu_MT-166p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=32, - # n_events=9822000, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto2L2Nu_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=89, - # n_events=9638631, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TTto2L2Nu_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=53, - n_events=9728780, - ), - mtop_up=DatasetInfo( - keys=[ - "/TTto2L2Nu_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=111, - n_events=9445459, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto2L2Nu_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=143, - # n_events=9539336, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto2L2Nu_MT-178p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=127, - # n_events=9494040, - # ), - cr_1=DatasetInfo( - keys=[ - "/TTto2L2Nu_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=29, - n_events=9784596, - ), - cr_2=DatasetInfo( - keys=[ - "/TTto2L2Nu_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=31, - n_events=9752000, - ), - tune_down=DatasetInfo( - keys=[ - "/TTto2L2Nu_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=37, - n_events=9765000, - ), - tune_up=DatasetInfo( - keys=[ - "/TTto2L2Nu_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=109, - n_events=9669120, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-JMENano12p5_132X_mcRun3_2022_realistic_v3-v2/NANOAODSIM", # noqa - # ], - # n_files=33, - # n_events=23802613, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-JMENano12p5_132X_mcRun3_2022_realistic_v3_ext1-v2/NANOAODSIM", # noqa - # ], - # n_files=37, - # n_events=24084800, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto2L2Nu_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=41, - # n_events=9829000, - # ), - ), -) - - -cpn.add_dataset( - name="tt_fh_powheg", - id=14808372, - processes=[procs.tt_fh], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TTto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=114, - n_events=53605620, - ), - extension=DatasetInfo( - keys=[ - "/TTto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - ], - n_files=498, - n_events=51819730, - ), - hdamp_down=DatasetInfo( - keys=[ - "/TTto4Q_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=68, - n_events=23228415, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TTto4Q_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=65, - n_events=21600896, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto4Q_MT-166p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=114, - # n_events=22800215, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto4Q_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=122, - # n_events=21834464, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TTto4Q_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=107, - n_events=23222000, - ), - mtop_up=DatasetInfo( - keys=[ - "/TTto4Q_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=129, - n_events=22750854, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto4Q_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=146, - # n_events=21718270, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto4Q_MT-178p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=55, - # n_events=21696467, - # ), - cr_1=DatasetInfo( - keys=[ - "/TTto4Q_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=72, - n_events=22590056, - ), - cr_2=DatasetInfo( - keys=[ - "/TTto4Q_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=47, - n_events=23285645, - ), - tune_down=DatasetInfo( - keys=[ - "/TTto4Q_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=46, - n_events=22201488, - ), - tune_up=DatasetInfo( - keys=[ - "/TTto4Q_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=58, - n_events=22435778, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-JMENano12p5_132X_mcRun3_2022_realistic_v3-v2/NANOAODSIM", # noqa - # ], - # n_files=83, - # n_events=53475524, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-JMENano12p5_132X_mcRun3_2022_realistic_v3_ext1-v2/NANOAODSIM", # noqa - # ], - # n_files=88, - # n_events=52573597, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TTto4Q_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=63, - # n_events=21791429, - # ), - ), -) - - -# -# single top (t-channel) -# - - -cpn.add_dataset( - name="st_tchannel_t_powheg", - id=14803181, - processes=[procs.st_tchannel_t], - keys=[ - "/TBbarQ_t-channel_4FS_TuneCP5_13p6TeV_powheg-madspin-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=43, - n_events=2973675, -) - -cpn.add_dataset( - name="st_tchannel_tbar_powheg", - id=14808106, - processes=[procs.st_tchannel_tbar], - keys=[ - "/TbarBQ_t-channel_4FS_TuneCP5_13p6TeV_powheg-madspin-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=35, - n_events=1433215, -) - - -# -# single-top (tW-channel) -# - - -cpn.add_dataset( - name="st_twchannel_t_sl_powheg", - id=14799262, - processes=[procs.st_twchannel_t_sl], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - - ], - n_files=64, - n_events=4643600, - ), - extension=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - - ], - n_files=119, - n_events=4899672, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminustoLNu2Q_DS_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=63, - # n_events=4681299, - # ), - hdamp_down=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=69, - n_events=4903597, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=73, - n_events=4837983, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminustoLNu2Q_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=54, - # n_events=4854094, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=34, - n_events=4904011, - ), - mtop_up=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=57, - n_events=4512526, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminustoLNu2Q_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=62, - # n_events=4825550, - # ), - cr_1=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=83, - n_events=4524604, - ), - cr_2=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=35, - n_events=4548795, - ), - tune_down=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=44, - n_events=5090154, - ), - tune_up=DatasetInfo( - keys=[ - "/TWminustoLNu2Q_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=55, - n_events=4902158, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminustoLNu2Q_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=37, - # n_events=4635831, - # ), - ), -) - -cpn.add_dataset( - name="st_twchannel_tbar_sl_powheg", - id=14793356, - processes=[procs.st_twchannel_tbar_sl], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - - ], - n_files=50, - n_events=4407845, - ), - extension=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - - ], - n_files=116, - n_events=4850663, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplustoLNu2Q_DS_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=62, - # n_events=5283169, - # ), - hdamp_down=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=69, - n_events=4676784, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=68, - n_events=4844713, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplustoLNu2Q_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=69, - # n_events=5023981, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=61, - n_events=5085865, - ), - mtop_up=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=46, - n_events=4995477, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplustoLNu2Q_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=55, - # n_events=5034432, - # ), - cr_1=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=56, - n_events=4667072, - ), - cr_2=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=47, - n_events=4633416, - ), - tune_down=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=98, - n_events=4554541, - ), - tune_up=DatasetInfo( - keys=[ - "/TbarWplustoLNu2Q_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=47, - n_events=4623327, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplustoLNu2Q_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=41, - # n_events=4612907, - # ), - ), -) - -cpn.add_dataset( - name="st_twchannel_t_dl_powheg", - id=14805980, - processes=[procs.st_twchannel_t_dl], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=21, - n_events=2369680, - ), - extension=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - ], - n_files=56, - n_events=2499302, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto2L2Nu_DS_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=46, - # n_events=2500000, - # ), - hdamp_down=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=56, - n_events=2501382, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=48, - n_events=2538826, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto2L2Nu_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=20, - # n_events=2489305, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=69, - n_events=2513281, - ), - mtop_up=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=75, - n_events=2497924, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto2L2Nu_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=64, - # n_events=2428448, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto2L2Nu_TuneCH3_13p6TeV_powheg-herwig7/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v1/NANOAODSIM", # noqa - # ], - # n_files=23, - # n_events=2392986, - # ), - cr_1=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=41, - n_events=2490270, - ), - cr_2=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=34, - n_events=2455584, - ), - tune_down=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=27, - n_events=2365408, - ), - tune_up=DatasetInfo( - keys=[ - "/TWminusto2L2Nu_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=59, - n_events=2375416, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto2L2Nu_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=27, - # n_events=2387360, - # ), - ), -) - -cpn.add_dataset( - name="st_twchannel_tbar_dl_powheg", - id=14794142, - processes=[procs.st_twchannel_tbar_dl], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=26, - n_events=2465972, - ), - extension=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - ], - n_files=73, - n_events=2461995, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto2L2Nu_DS_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=39, - # n_events=2500000, - # ), - hdamp_down=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=42, - n_events=2499291, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=32, - n_events=2458051, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto2L2Nu_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=23, - # n_events=2377870, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=48, - n_events=2524255, - ), - mtop_up=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=32, - n_events=2491432, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto2L2Nu_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=72, - # n_events=2488253, - # ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto2L2Nu_TuneCH3_13p6TeV_powheg-herwig7/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v1/NANOAODSIM", # noqa - # ], - # n_files=24, - # n_events=2462984, - # ), - cr_1=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=24, - n_events=2350270, - ), - cr_2=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=53, - n_events=2445712, - ), - tune_down=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=25, - n_events=2363085, - ), - tune_up=DatasetInfo( - keys=[ - "/TbarWplusto2L2Nu_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=32, - n_events=2536835, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto2L2Nu_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=55, - # n_events=2437522, - # ), - ), -) - -cpn.add_dataset( - name="st_twchannel_t_fh_powheg", - id=14793291, - processes=[procs.st_twchannel_t_fh], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TWminusto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=48, - n_events=3883455, - ), - extension=DatasetInfo( - keys=[ - "/TWminusto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - ], - n_files=62, - n_events=3880525, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto4Q_DS_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=64, - # n_events=3956724, - # ), - hdamp_down=DatasetInfo( - keys=[ - "/TWminusto4Q_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=35, - n_events=3976914, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TWminusto4Q_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=24, - n_events=3916606, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto4Q_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=17, - # n_events=3950320, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TWminusto4Q_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=25, - n_events=4020863, - ), - mtop_up=DatasetInfo( - keys=[ - "/TWminusto4Q_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=80, - n_events=3883800, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto4Q_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=29, - # n_events=3981640, - # ), - cr_1=DatasetInfo( - keys=[ - "/TWminusto4Q_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=41, - n_events=3784408, - ), - cr_2=DatasetInfo( - keys=[ - "/TWminusto4Q_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=82, - n_events=3786106, - ), - tune_down=DatasetInfo( - keys=[ - "/TWminusto4Q_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=65, - n_events=3814360, - ), - tune_up=DatasetInfo( - keys=[ - "/TWminusto4Q_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=32, - n_events=3853959, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TWminusto4Q_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=58, - # n_events=3717175, - # ), - ), -) - -cpn.add_dataset( - name="st_twchannel_tbar_fh_powheg", - id=14791411, - processes=[procs.st_twchannel_tbar_fh], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TbarWplusto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=24, - n_events=3762952, - ), - extension=DatasetInfo( - keys=[ - "/TbarWplusto4Q_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5_ext1-v2/NANOAODSIM", # noqa - ], - n_files=71, - n_events=4000000, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto4Q_DS_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=28, - # n_events=3871291, - # ), - hdamp_down=DatasetInfo( - keys=[ - "/TbarWplusto4Q_Hdamp-158_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=19, - n_events=3963854, - ), - hdamp_up=DatasetInfo( - keys=[ - "/TbarWplusto4Q_Hdamp-418_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=27, - n_events=3897924, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto4Q_MT-169p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=44, - # n_events=3960966, - # ), - mtop_down=DatasetInfo( - keys=[ - "/TbarWplusto4Q_MT-171p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=58, - n_events=3938484, - ), - mtop_up=DatasetInfo( - keys=[ - "/TbarWplusto4Q_MT-173p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=32, - n_events=3919556, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto4Q_MT-175p5_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=76, - # n_events=3995968, - # ), - cr_1=DatasetInfo( - keys=[ - "/TbarWplusto4Q_TuneCP5CR1_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=88, - n_events=3779571, - ), - cr_2=DatasetInfo( - keys=[ - "/TbarWplusto4Q_TuneCP5CR2_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=54, - n_events=3842472, - ), - tune_down=DatasetInfo( - keys=[ - "/TbarWplusto4Q_TuneCP5Down_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=34, - n_events=3971608, - ), - tune_up=DatasetInfo( - keys=[ - "/TbarWplusto4Q_TuneCP5Up_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=41, - n_events=3920656, - ), - # xxx=DatasetInfo( - # keys=[ - # "/TbarWplusto4Q_TuneCP5_ERDOn_13p6TeV_powheg-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - # ], - # n_files=51, - # n_events=3896725, - # ), - ), -) - - -#################################################################################################### -# -# ttV, ttVV -# -#################################################################################################### - -# TODO: add corresponding process -# cpn.add_dataset( -# name="ttz_amcatnlo", -# id=14796050, -# processes=[procs.ttz], -# info=dict( -# nominal=DatasetInfo( -# keys=[ -# "/TTZ-ZtoQQ-1Jets_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa -# ], -# n_files=24, -# n_events=376687, -# ), -# ), -# ) -cpn.add_dataset( - name="ttzz_madgraph", - id=14800072, - processes=[procs.ttzz], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TTZZ_TuneCP5_13p6TeV_madgraph-madspin-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=22, - n_events=443238, - ), - ), -) - -cpn.add_dataset( - name="ttww_madgraph", - id=14797430, - processes=[procs.ttww], - info=dict( - nominal=DatasetInfo( - keys=[ - "/TTWW_TuneCP5_13p6TeV_madgraph-madspin-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa - ], - n_files=23, - n_events=448443, - ), - ), -) diff --git a/cmsdb/constants/__init__.py b/cmsdb/constants/__init__.py index 40ba7b50..5bd7fad4 100644 --- a/cmsdb/constants/__init__.py +++ b/cmsdb/constants/__init__.py @@ -1,3 +1,109 @@ +# """ +# Scientific constants. +# """ + +# from scinum import Number, Correlation, combine_uncertainties + +# from cmsdb.util import DotDict + +# # misc +# n_leps = Number(3) + +# # Z and W branching ratios and masses from +# # https://pdg.lbl.gov/2023/tables/contents_tables.html +# # Cut-off date for Listings/Summary Tables was Jan. 15, 2023, content of the 2023 Review of Particle Physics + +# # masses +# m_z = Number(91.1876, {"z_mass": 0.0021}) + +# # branching ratios +# br_w = DotDict() +# br_w["had"] = Number(0.6741, {"br_w_had": 0.0027}) +# br_w["lep"] = 1 - br_w.had + +# br_ww = DotDict( +# fh=br_w.had ** 2, +# dl=br_w.lep ** 2, +# sl=2 * ((br_w.had * Correlation(br_w_had=-1)) * br_w.lep), # use correlation to reduce error on br +# ) + +# br_z = DotDict( +# qq=Number(0.69911, {"br_z_qq": 0.00056}), +# clep=Number(0.033658, {"br_z_clep": 0.000023}) * n_leps, +# ) +# br_z.nunu = 1 - br_z.qq - br_z.clep + +# br_zz = DotDict( +# qqqq=br_z.qq ** 2, +# llll=br_z.clep ** 2, +# nunununu=br_z.nunu ** 2, +# llnunu=2 * br_z.nunu * br_z.clep, +# llqq=2 * br_z.clep * br_z.qq, +# qqnunu=2 * br_z.qq * br_z.nunu, +# ) + +# # higgs branching ratios from lhchwg, taken for mH = 125GeV +# # https://twiki.cern.ch/twiki/bin/view/LHCPhysics/CERNYellowReportPageBR?rev=23 + +# # explanation on uncertainties and how to combine them: +# # https://cds.cern.ch/record/1416519/files/CERN-2012-002.pdf?version=1 +# # section 2.1.3 : procedure to determine uncertainties + + +# br_h_ww_full = Number(0.2137, {"theo": (0.0099j, 0.0099j), "m_q": (0.0099j, 0.0098j), "alpha_s": (0.0066j, 0.0063j)}) +# br_h_zz_full = Number(0.02619, {"theo": (0.0099j, 0.0099j), "m_q": (0.0099j, 0.0098j), "alpha_s": (0.0066j, 0.0063j)}) +# br_h_gg_full = Number(0.002270, {"theo": (0.0173j, 0.0172j), "m_q": (0.0093j, 0.0099j), "alpha_s": (0.0061j, 0.0062j)}) +# br_h_zg_full = Number(0.001533, {"theo": (0.571j, 0.571j), "m_q": (0.0098j, 0.0101j), "alpha_s": (0.0058j, 0.0065j)}) +# br_h_gluglu_full = Number(0.08187, {"theo": (0.0340j, 0.0341j), "m_q": (0.0112j, 0.0113j), "alpha_s": (0.0369j, 0.0361j)}) # noqa +# br_h_bb_full = Number(0.5824, {"theo": (0.0065j, 0.0065j), "m_q": (0.0072j, 0.0074j), "alpha_s": (0.0078j, 0.0080j)}) +# br_h_cc_full = Number(0.02891, {"theo": (0.0120j, 0.0120j), "m_q": (0.0526j, 0.0098j), "alpha_s": (0.0125j, 0.0125j)}) +# br_h_tt_full = Number(0.06272, {"theo": (0.0117j, 0.0116j), "m_q": (0.0098j, 0.0099j), "alpha_s": (0.0062j, 0.0062j)}) +# br_h_mm_full = Number(0.0002176, {"theo": (0.0123j, 0.0123j), "m_q": (0.0097j, 0.0099j), "alpha_s": (0.0059j, 0.0064j)}) + +# # TODO: H -> ee BR is not available in the YellowReport, so I'm using the muon BR scaled to electron mass instead +# br_h_ee_full = br_h_mm_full / 200 ** 2 + + +# def combine_uncertainties_higgs_br(number: Number): +# parametric_uncertainties = { +# direction: combine_uncertainties("+", number.u("m_q", direction), number.u("alpha_s", direction), rho=0) +# for direction in ["up", "down"] +# } +# return ( +# combine_uncertainties("+", number.u("theo", direction), parametric_uncertainties[direction], rho=1) +# for direction in ["up", "down"] +# ) + + +# br_h = DotDict( +# ww=Number(br_h_ww_full.n, {"br_h_ww": tuple(combine_uncertainties_higgs_br(br_h_ww_full))}), +# zz=Number(br_h_zz_full.n, {"br_h_zz": tuple(combine_uncertainties_higgs_br(br_h_zz_full))}), +# gg=Number(br_h_gg_full.n, {"br_h_gg": tuple(combine_uncertainties_higgs_br(br_h_gg_full))}), +# zg=Number(br_h_zg_full.n, {"br_h_zg": tuple(combine_uncertainties_higgs_br(br_h_zg_full))}), +# gluglu=Number(br_h_gluglu_full.n, {"br_h_gluglu": tuple(combine_uncertainties_higgs_br(br_h_gluglu_full))}), +# bb=Number(br_h_bb_full.n, {"br_h_bb": tuple(combine_uncertainties_higgs_br(br_h_bb_full))}), +# cc=Number(br_h_cc_full.n, {"br_h_cc": tuple(combine_uncertainties_higgs_br(br_h_cc_full))}), +# tt=Number(br_h_tt_full.n, {"br_h_tt": tuple(combine_uncertainties_higgs_br(br_h_tt_full))}), +# mm=Number(br_h_mm_full.n, {"br_h_mm": tuple(combine_uncertainties_higgs_br(br_h_mm_full))}), +# ee=Number(br_h_ee_full.n, {"br_h_ee": tuple(combine_uncertainties_higgs_br(br_h_ee_full))}), +# ) + + +# br_hh = DotDict( +# bbbb=br_h.bb ** 2, +# bbvv=2 * br_h.bb * (br_h.ww + br_h.zz), +# bbww=2 * br_h.bb * br_h.ww, +# bbzz=2 * br_h.bb * br_h.zz, +# bbtt=2 * br_h.bb * br_h.tt, +# bbgg=2 * br_h.bb * br_h.gg, +# ttww=2 * br_h.tt * br_h.ww, +# ttzz=2 * br_h.tt * br_h.zz, +# tttt=br_h.tt ** 2, +# wwww=br_h.ww ** 2, +# zzzz=br_h.zz ** 2, +# wwzz=2 * br_h.ww * br_h.zz, +# wwgg=2 * br_h.ww * br_h.gg, +# ) # coding: utf-8 """ @@ -9,6 +115,7 @@ from cmsdb.util import DotDict # misc +inf = float("inf") n_leps = Number(3) # Z and W branching ratios and masses from @@ -105,4 +212,4 @@ def combine_uncertainties_higgs_br(number: Number): zzzz=br_h.zz ** 2, wwzz=2 * br_h.ww * br_h.zz, wwgg=2 * br_h.ww * br_h.gg, -) +) \ No newline at end of file diff --git a/cmsdb/processes/ewk.py b/cmsdb/processes/ewk.py index d208de4b..029ca116 100644 --- a/cmsdb/processes/ewk.py +++ b/cmsdb/processes/ewk.py @@ -5,49 +5,26 @@ """ __all__ = [ - "dy", - "dy_lep", - "dy_lep_m4to10", - "dy_lep_m10to50", - "dy_lep_m50", "dy_lep_m50_0j", "dy_lep_m50_1j", "dy_lep_m50_2j", "dy_lep_m50_3j", "dy_lep_m50_4j", - "dy_lep_0j", "dy_lep_1j", "dy_lep_2j", - "dy_lep_m50_ht70to100", "dy_lep_m50_ht100to200", "dy_lep_m50_ht200to400", - "dy_lep_m50_ht400to600", "dy_lep_m50_ht600to800", "dy_lep_m50_ht800to1200", - "dy_lep_m50_ht1200to2500", "dy_lep_m50_ht2500", - "dy_lep_pt0to50", "dy_lep_pt50to100", "dy_lep_pt100to250", "dy_lep_pt250to400", - "dy_lep_pt400to650", "dy_lep_pt650", - "z", - "z_nunu", - "z_nunu_ht100to200", "z_nunu_ht200to400", "z_nunu_ht400to600", - "z_nunu_ht600to800", "z_nunu_ht800to1200", "z_nunu_ht1200to2500", - "z_nunu_ht2500", - "z_qq", - "z_qq_ht200to400", "z_qq_ht400to600", "z_qq_ht600to800", "z_qq_ht800", - "w", - "w_taunu", "w_munu", - "w_lnu", - "w_lnu_ht70to100", "w_lnu_ht100to200", "w_lnu_ht200to400", "w_lnu_ht400to600", - "w_lnu_ht600to800", "w_lnu_ht800to1200", "w_lnu_ht1200to2500", "w_lnu_ht2500", - "ewk", - "ewk_wp_lnu_m50", "ewk_wm_lnu_m50", "ewk_z_ll_m50", - "vv", - "zz", - "zz_qqll_m4", "zz_llnunu_m4", "zz_llll_m4", "zz_qqqq", "zz_nunuqq", - "wz", "wz_lllnu_m4", "wz_qqll_m4", "wz_lnuqq", - "ww", - "ww_lnulnu", "ww_lnuqq", "ww_qqqq", - "vvv", - "zzz", "wzz", "wwz", "www", - + "dy","dy_lep","dy_z2mumu","dy_z2tautau", "dy_z2ee", + "w","wj", + "vv","ww","wz","zz" ] from order import Process from scinum import Number - +from scripts.get_x_secs import get_xsec_values,save_xsecs_to_file import cmsdb.constants as const +#[https://twiki.cern.ch/twiki/bin/viewauth/CMS/MATRIXCrossSectionsat13p6TeV] +kfactor_dy=6282.6/5455.0 # LO->NNLO+NLO_EW k-factor computed for 13.6 TeV +kfactor_wj=63425.1/55300 # LO->NNLO+NLO_EW k-factor computed for 13.6 TeV +kfactor_ww=1.524 # LO->NNLO+NLO_EW computed for 13.6 TeV +kfactor_zz=1.524 # LO->NNLO+NLO_EW computed for 13.6 TeV +kfactor_wz=1.414 # LO->NNLO+NLO_EW computed for 13.6 TeV + + # # Drell-Yan # @@ -56,482 +33,44 @@ name="dy", id=50000, label="Drell-Yan", - xsecs={13: Number(0.1)}, # TODO + xsecs={13.6: Number(0.1)}, ) dy_lep = dy.add_process( name="dy_lep", id=51000, - label=rf"{dy.label} ($Z \rightarrow ll$)", - xsecs={13: Number(0.1)}, # TODO + label=rf"{dy.label} $Z \rightarrow ll$", + xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV + 13.6: Number(5455.0*kfactor_dy)}, ) -# NNLO cross section, based on: -# https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat13TeV?rev=28 -# and for 13.6 TeV, based on: -# https://twiki.cern.ch/twiki/bin/viewauth/CMS/MATRIXCrossSectionsat13p6TeV?rev=12 - -# if needed for scaling from NLO to NNLO: -# NLO cross section, based on GenXSecAnalyzer for -# DYJetsToLL_M-50_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -dy_lep_m50_nlo_13TeV_xsec = Number(6421.0, {"tot": 11.25}) - -# if needed for scaling from LO to NNLO: -# LO cross section, based on GenXSecAnalyzer for DYJetsToLL_M-50_TuneCP5_13TeV-madgraphMLM-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -dy_lep_m50_lo_13TeV_xsec = Number(5395.0, {"tot": 1.858}) - -# 13.6 TeV LO and NLO cross sections are based on the XSDB -# https://xsdb-temp.app.cern.ch/xsdb/?columns=39911424¤tPage=0&pageSize=10&searchQuery=DAS%3DDYto2L-2Jets_MLL-4to10_TuneCP5_13p6TeV_amcatnloFXFX-pythia8 # noqa -dy_lep_m4to10_nlo_13p6TeV_xsec = Number(141500, {"tot": 301.9}) -# https://xsdb-temp.app.cern.ch/xsdb/?columns=37814272¤tPage=0&pageSize=10&searchQuery=DAS%3DDYto2L-2Jets_MLL-10to50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8 # noqa -dy_lep_m10to50_nlo_13p6TeV_xsec = Number(20950.0, {"tot": 183.5}) -# https://xsdb-temp.app.cern.ch/xsdb/?columns=37814272¤tPage=0&pageSize=10&searchQuery=DAS%3DDYto2L-2Jets_MLL-50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8 # noqa -dy_lep_m50_nlo_13p6TeV_xsec = Number(6688.0, {"tot": 83.99}) - -# https://xsdb-temp.app.cern.ch/xsdb/?columns=37814272¤tPage=0&pageSize=10&searchQuery=DAS%3DDYto2L-4Jets_MLL-10to50_TuneCP5_13p6TeV_madgraphMLM-pythia8 # noqa -dy_lep_m10to50_lo_13p6TeV_xsec = Number(17380, {"tot": 26.57}) -# https://xsdb-temp.app.cern.ch/xsdb/?columns=37814272¤tPage=0&pageSize=10&searchQuery=DAS%3DDYto2L-4Jets_MLL-50_TuneCP5_13p6TeV_madgraphMLM-pythia8 # noqa -dy_lep_m50_lo_13p6TeV_xsec = Number(5467, {"tot": 13.22}) - -dy_lep_m50 = dy_lep.add_process( - name="dy_lep_m50", - id=51100, - xsecs={ - 13: Number(6077.22, { - "integration": 1.49, - "scale": 0.02j, - "pdf": 14.78, - }), - 13.6: const.n_leps * Number(2091.7, { - "scale": (0.008j, 0.013j), - "pdf": 0.01j, - }), - }, -) - -dy_lep_k_factor_LO_to_NNLO = { - 13: dy_lep_m50.get_xsec(13) / dy_lep_m50_lo_13TeV_xsec, - 13.6: dy_lep_m50.get_xsec(13.6) / dy_lep_m50_lo_13p6TeV_xsec, -} -dy_lep_k_factor_NLO_to_NNLO = { - 13: dy_lep_m50.get_xsec(13) / dy_lep_m50_nlo_13TeV_xsec, - 13.6: dy_lep_m50.get_xsec(13.6) / dy_lep_m50_nlo_13p6TeV_xsec, -} - -dy_lep_m4to10 = dy_lep.add_process( - name="dy_lep_m4to10", - id=51002, - xsecs={ - 13: Number(0.1), # TODO - 13.6: dy_lep_m4to10_nlo_13p6TeV_xsec * dy_lep_k_factor_NLO_to_NNLO[13.6], - }, -) -dy_lep_m10to50 = dy_lep.add_process( - name="dy_lep_m10to50", +dy_z2mumu = dy_lep.add_process( + name="dy_z2mumu", id=51001, - xsecs={ - 13: Number(0.1), # TODO - 13.6: dy_lep_m10to50_nlo_13p6TeV_xsec * dy_lep_k_factor_NLO_to_NNLO[13.6], - }, -) - -# -# N-jet binned Drell-Yan (scaled to NNLO) -# - -# 13.6 TeV xsecs based on XSDB for datasets DYto2L-4Jets_MLL-50_{i}J_TuneCP5_13p6TeV_madgraphMLM-pythia8 -# e.g. https://xsdb-temp.app.cern.ch/xsdb/?columns=39911424¤tPage=0&pageSize=10&searchQuery=DAS%3DDYto2L-4Jets_MLL-50_1J_TuneCP5_13p6TeV_madgraphMLM-pythia8 # noqa -# 13 TeV: based on GenXSecAnalyzer -# for datasets DY{i}JetsToLL_M-50_MatchEWPDG20_TuneCP5_13TeV-madgraphMLM-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -dy_lep_m50_0j = dy_lep_m50.add_process( - name="dy_lep_m50_0j", - id=51110, - xsecs={ - # NLO xsec taken from https://xsdb-temp.app.cern.ch/xsdb/?columns=39911424¤tPage=0&pageSize=10&searchQuery=DAS%3DDYto2L-2Jets_MLL-50_0J_TuneCP5_13p6TeV_amcatnloFXFX-pythia8 # noqa - 13.6: Number(5378, {"tot": 8.007}) * dy_lep_k_factor_NLO_to_NNLO[13.6], - }, -) - -dy_lep_m50_1j = dy_lep_m50.add_process( - name="dy_lep_m50_1j", - id=51111, - xsecs={ - 13: Number(926.8, { - "tot": 0.3597, - }) * dy_lep_k_factor_LO_to_NNLO[13], - # 13.6: Number(1017, {"tot": 6.264}) * dy_lep_k_factor_NLO_to_NNLO[13.6], - 13.6: Number(973.1, {"tot": 2.613}) * dy_lep_k_factor_LO_to_NNLO[13.6], - }, -) - -dy_lep_m50_2j = dy_lep_m50.add_process( - name="dy_lep_m50_2j", - id=51112, - xsecs={ - 13: Number(294.5, { - "tot": 0.1223, - }) * dy_lep_k_factor_LO_to_NNLO[13], - # 13.6: Number(385.5, {"tot": 3.858}) * dy_lep_k_factor_NLO_to_NNLO[13.6], - 13.6: Number(312.4, {"tot": 0.915}) * dy_lep_k_factor_LO_to_NNLO[13.6], - }, -) - -dy_lep_m50_3j = dy_lep_m50.add_process( - name="dy_lep_m50_3j", - id=51113, - xsecs={ - 13: Number(86.53, { - "tot": 0.03853, - }) * dy_lep_k_factor_LO_to_NNLO[13], - 13.6: Number(93.93, {"tot": 0.2858}) * dy_lep_k_factor_LO_to_NNLO[13.6], - }, -) - -dy_lep_m50_4j = dy_lep_m50.add_process( - name="dy_lep_m50_4j", - id=51114, - xsecs={ - 13: Number(41.21, { - "tot": 0.02392, - }) * dy_lep_k_factor_LO_to_NNLO[13], - 13.6: Number(45.43, {"tot": 0.1393}) * dy_lep_k_factor_LO_to_NNLO[13.6], - }, -) - -# based on GenXSecAnalyzer -# for DYJetsToLL_{i}J_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -dy_lep_0j = dy_lep.add_process( - name="dy_lep_0j", - id=51200, - xsecs={ - 13: Number(5134.0, { - "tot": 5.365, - }), - }, -) - -dy_lep_1j = dy_lep.add_process( - name="dy_lep_1j", - id=51300, - xsecs={ - 13: Number(952.7, { - "tot": 2.174, - }), - }, -) - -dy_lep_2j = dy_lep.add_process( - name="dy_lep_2j", - id=51400, - xsecs={ - 13: Number(359.1, { - "tot": 1.533, - }), - }, -) - -# LO cross sections, scaled to NNLO - -# based on GenXSecAnalyzer -# for DYJetsToLL_M-50_HT-{i}to{j}_TuneCP5_PSweights_13TeV-madgraphMLM-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2 -n 5000000 # noqa -dy_lep_m50_ht70to100 = dy_lep_m50.add_process( - name="dy_lep_m50_ht70to100", - id=51121, - xsecs={ - 13: Number(139.9, {"tot": 0.5747}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -dy_lep_m50_ht100to200 = dy_lep_m50.add_process( - name="dy_lep_m50_ht100to200", - id=51122, - xsecs={ - 13: Number(140.1, {"tot": 0.5875}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -dy_lep_m50_ht200to400 = dy_lep_m50.add_process( - name="dy_lep_m50_ht200to400", - id=51123, - xsecs={ - 13: Number(38.38, {"tot": 0.01628}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -dy_lep_m50_ht400to600 = dy_lep_m50.add_process( - name="dy_lep_m50_ht400to600", - id=51124, - xsecs={ - 13: Number(5.212, {"tot": 0.003149}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -dy_lep_m50_ht600to800 = dy_lep_m50.add_process( - name="dy_lep_m50_ht600to800", - id=51125, - xsecs={ - 13: Number(1.266, {"tot": 0.0007976}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -dy_lep_m50_ht800to1200 = dy_lep_m50.add_process( - name="dy_lep_m50_ht800to1200", - id=51126, - xsecs={ - 13: Number(0.5684, {"tot": 0.0003515}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -dy_lep_m50_ht1200to2500 = dy_lep_m50.add_process( - name="dy_lep_m50_ht1200to2500", - id=51127, - xsecs={ - 13: Number(0.1332, {"tot": 0.00009084}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -dy_lep_m50_ht2500 = dy_lep_m50.add_process( - name="dy_lep_m50_ht2500", - id=51128, - xsecs={ - 13: Number(0.002977, {"tot": 0.000003412}) * dy_lep_k_factor_LO_to_NNLO[13], - }, -) - -# based on GenXSecAnalyzer -# for DYJetsToLL_LHEFilterPtZ-{i}To{j}_MatchEWPDG20_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2 -n 5000000 # noqa -dy_lep_pt0to50 = dy_lep.add_process( - name="dy_lep_pt0to50", - id=51510, - xsecs={ - 13: Number(1494.0, { - "tot": 1.751, - }), - }, -) - -dy_lep_pt50to100 = dy_lep.add_process( - name="dy_lep_pt50to100", - id=51520, - xsecs={ - 13: Number(398.3, { - "tot": 0.5600, - }), - }, -) - -dy_lep_pt100to250 = dy_lep.add_process( - name="dy_lep_pt100to250", - id=51530, - xsecs={ - 13: Number(96.58, { - "tot": 0.1370, - }), - }, -) - -dy_lep_pt250to400 = dy_lep.add_process( - name="dy_lep_pt250to400", - id=51540, - xsecs={ - 13: Number(3.738, { - "tot": 0.005305, - }), - }, -) - -dy_lep_pt400to650 = dy_lep.add_process( - name="dy_lep_pt400to650", - id=51550, - xsecs={ - 13: Number(0.5050, { - "tot": 0.0008169, - }), - }, -) - -dy_lep_pt650 = dy_lep.add_process( - name="dy_lep_pt650", - id=51560, - xsecs={ - 13: Number(0.04763, { - "tot": 0.00007206, - }), - }, -) - -# -# Z boson (no photon/DY) -# - -z = Process( - name="z", - id=55000, - label="Z + jets", - xsecs={ - 13: Number(0.1), # TODO - 13.6: Number(0.1), # TODO - }, -) - -# Z -> neutrinos - -z_nunu = z.add_process( - name="z_nunu", - id=55100, - label=rf"{z.label} (Z $\rightarrow$ $\nu\nu$)", - xsecs={ - 13: Number(0.1), # TODO - 13.6: Number(0.1), # TODO - }, -) - -# 13 TeV Xsecs based on GenXSecAnalyzer -# for ZJetsToNuNu_HT-{i}To{j}_TuneCP5_13TeV-madgraphMLM-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -z_nunu_ht100to200 = z_nunu.add_process( - name="z_nunu_ht100to200", - id=55110, - xsecs={ - 13: Number(266.1, { - "tot": 0.1117, - }), - 13.6: Number(0.1), # TODO - }, -) - -z_nunu_ht200to400 = z_nunu.add_process( - name="z_nunu_ht200to400", - id=55120, - xsecs={ - 13: Number(73.00, { - "tot": 0.04408, - }), - 13.6: Number(0.1), # TODO - }, -) - -z_nunu_ht400to600 = z_nunu.add_process( - name="z_nunu_ht400to600", - id=55130, - xsecs={ - 13: Number(9.915, { - "tot": 0.004229, - }), - 13.6: Number(0.1), # TODO - }, -) - -z_nunu_ht600to800 = z_nunu.add_process( - name="z_nunu_ht600to800", - id=55140, - xsecs={ - 13: Number(2.409, { - "tot": 0.001678, - }), - 13.6: Number(0.1), # TODO - }, -) - -z_nunu_ht800to1200 = z_nunu.add_process( - name="z_nunu_ht800to1200", - id=55150, - xsecs={ - 13: Number(1.077, { - "tot": 0.001295, - }), - 13.6: Number(0.1), # TODO - }, -) - -z_nunu_ht1200to2500 = z_nunu.add_process( - name="z_nunu_ht1200to2500", - id=55160, - xsecs={ - 13: Number(0.2495, { - "tot": 0.0007030, - }), - 13.6: Number(0.1), # TODO - }, + label=rf"$Z \rightarrow \mu (\tau \rightarrow \mu$)", + xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV + 13.6: Number(5455.0*kfactor_dy)}, + color=(150, 74, 139), # Medium Orchid ) -z_nunu_ht2500 = z_nunu.add_process( - name="z_nunu_ht2500", - id=55170, - xsecs={ - 13: Number(0.005614, { - "tot": 0.00001616, - }), - 13.6: Number(0.1), # TODO - }, -) - -# Z -> quarks - -# 13 TeV Xsecs based on GenXSecAnalyzer -# for ZJetsToQQ_HT-{i}to{j}_TuneCP5_13TeV-madgraphMLM-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2 -n 5000000 # noqa -z_qq = z.add_process( - name="z_qq", - id=55210, - label=rf"{z.label} (Z $\rightarrow$ $\text{{q}}\overline{{\text{{q}}}}$)", - xsecs={ - 13: Number(0.1), # TODO - 13.6: Number(0.1), # TODO - }, -) - -z_qq_ht200to400 = z_qq.add_process( - name="z_qq_ht200to400", - id=55210, - xsecs={ - 13: Number(1012.0, { - "tot": 0.4260, - }), - 13.6: Number(0.1), # TODO - }, -) - -z_qq_ht400to600 = z_qq.add_process( - name="z_qq_ht400to600", - id=55220, - xsecs={ - 13: Number(114.5, { - "tot": 0.04884, - }), - 13.6: Number(0.1), # TODO - }, -) - -z_qq_ht600to800 = z_qq.add_process( - name="z_qq_ht600to800", - id=55230, - xsecs={ - 13: Number(25.38, { - "tot": 0.01088, - }), - 13.6: Number(0.1), # TODO - }, +dy_z2tautau = dy_lep.add_process( + name="dy_z2tautau", + id=51002, + label=rf"$Z \rightarrow \tau_h (\tau \rightarrow \mu)$", + xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV + 13.6: Number(5455.0*kfactor_dy)}, + color=(24, 69, 251), # Royal Blue ) -z_qq_ht800 = z_qq.add_process( - name="z_qq_ht800", - id=55240, - xsecs={ - 13: Number(12.92, { - "tot": 0.005923, - }), - 13.6: Number(0.1), # TODO - }, +dy_z2ee = dy_lep.add_process( + name="dy_z2ee", + id=51003, + label=rf"$Z \rightarrow \tau_h (\tau \rightarrow e)$", + xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV + 13.6: Number(5455.0*kfactor_dy)}, + color=(201, 31, 22), # Firebrick ) - # # W boson # @@ -540,32 +79,9 @@ name="w", id=6000, label="W + jets", - xsecs={13: Number(0.1)}, # TODO, or use w.set_xsec(13, w_lnu.get_xsec(13) / const.br_w["lep"]) below? -) - - -w_taunu = w.add_process( - name="w_taunu", - id=6010, - label=rf"{w.label} ($W \rightarrow tau\nu$)", - xsecs={ - 13: Number(0.1)}, # TODO + xsecs={13.6: Number(0.1)}, # TODO ) -w_munu = w.add_process( - name="w_munu", - id=6020, - label=rf"{w.label} ($W \rightarrow mu\nu$)", - xsecs={ - 13: Number(0.1)}, # TODO -) - - -# NNLO cross section, based on: -# https://twiki.cern.ch/twiki/bin/view/CMS/StandardModelCrossSectionsat13TeV?rev=27 -# and for 13.6 TeV, based on: -# https://twiki.cern.ch/twiki/bin/viewauth/CMS/MATRIXCrossSectionsat13p6TeV?rev=12 - wm_lnu_xs_13p6 = const.n_leps * Number(9009.5, { "scale": (0.014j, 0.012j), "pdf": 0.008j, @@ -575,153 +91,31 @@ "pdf": 0.007j, }) -w_lnu = w.add_process( - name="w_lnu", - id=6100, - label=rf"{w.label} ($W \rightarrow l\nu$)", - xsecs={ +#kfactor_wj=63425.1/55300 # LO->NNLO+NLO_EW k-factor computed for 13.6 TeV +wj = w.add_process( + name="wj", + id=6001, + label="W + jets", + xsecs={ 13: const.n_leps * Number(20508.9, { "scale": (165.7, 88.2), "pdf": 770.9, }), # addition necessary due to absence of combined value - 13.6: wm_lnu_xs_13p6 + wp_lnu_xs_13p6, - }, -) - - -# LO cross section, needed for scaling to NNLO: -# based on GenXSecAnalyzer -# for WJetsToLNu_TuneCP5_13TeV-madgraphMLM-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa - -w_lnu_lo_13TeV_xsec = Number(54070.0, {"tot": 18.32}) - -# LO cross sections, scaled to NNLO - -# ht bins based on GenXSecAnalyzer -# for WJetsToLNu_HT-{i}To{j}_TuneCP5_13TeV-madgraphMLM-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -w_lnu_ht70to100 = w_lnu.add_process( - name="w_lnu_ht70to100", - id=6110, - xsecs={ - 13: Number(1270.0, {"tot": 0.5259}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -w_lnu_ht100to200 = w_lnu.add_process( - name="w_lnu_ht100to200", - id=6120, - xsecs={ - 13: Number(1254.0, {"tot": 0.5274}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -w_lnu_ht200to400 = w_lnu.add_process( - name="w_lnu_ht200to400", - id=6130, - xsecs={ - 13: Number(336.6, {"tot": 0.1528}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -w_lnu_ht400to600 = w_lnu.add_process( - name="w_lnu_ht400to600", - id=6140, - xsecs={ - 13: Number(45.21, {"tot": 0.02966}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -w_lnu_ht600to800 = w_lnu.add_process( - name="w_lnu_ht600to800", - id=6150, - xsecs={ - 13: Number(10.98, {"tot": 0.006997}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -w_lnu_ht800to1200 = w_lnu.add_process( - name="w_lnu_ht800to1200", - id=6160, - xsecs={ - 13: Number(4.927, {"tot": 0.003229}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -w_lnu_ht1200to2500 = w_lnu.add_process( - name="w_lnu_ht1200to2500", - id=6170, - xsecs={ - 13: Number(1.157, {"tot": 0.0007663}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -# this ht bin needs the command: -# ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2 -n 5000000 # noqa -w_lnu_ht2500 = w_lnu.add_process( - name="w_lnu_ht2500", - id=6180, - xsecs={ - 13: Number(0.02624, {"tot": 0.00002981}) * w_lnu.get_xsec(13) / w_lnu_lo_13TeV_xsec, - }, -) - -# -# EWK radiations -# - -ewk = Process( - name="ewk", - id=7000, - label="EWK", - xsecs={13: Number(0.1)}, # TODO? Sum over the other? maybe with scaled w xsec to inclusive? -) - -# based on GenXSecAnalyzer -# for EWKWPlus2Jets_WToLNu_M-50_TuneCP5_withDipoleRecoil_13TeV-madgraph-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -ewk_wp_lnu_m50 = ewk.add_process( - name="ewk_wp_lnu_m50", - id=7100, - xsecs={ - 13: Number(39.07, {"tot": 0.006454}), - }, -) - -# based on GenXSecAnalyzer -# for EWKWMinus2Jets_WToLNu_M-50_TuneCP5_withDipoleRecoil_13TeV-madgraph-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -ewk_wm_lnu_m50 = ewk.add_process( - name="ewk_wm_lnu_m50", - id=7200, - xsecs={ - 13: Number(32.10, {"tot": 0.005308}), + 13.6: 55300.*kfactor_wj, + #wm_lnu_xs_13p6 + wp_lnu_xs_13p6, }, ) -# based on GenXSecAnalyzer -# for EWKZ2Jets_ZToLL_M-50_TuneCP5_withDipoleRecoil_13TeV-madgraph-pythia8 (Summer20UL16, LO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -ewk_z_ll_m50 = ewk.add_process( - name="ewk_z_ll_m50", - id=7300, - xsecs={ - 13: Number(6.206, {"tot": 0.002081}), - }, -) - - # -# Di-boson +# Diboson # vv = Process( name="vv", id=8000, label="Di-Boson", - xsecs={13: Number(0.1)}, # updated below as the sum over WW, WZ, ZZ + xsecs={13.6: Number(0.1)}, # TODO ) # ZZ xsec values at NLO from https://arxiv.org/pdf/1105.0020.pdf v1 @@ -733,259 +127,38 @@ id=8100, label="ZZ", xsecs={ - 13: Number(15.99, {"scale": (0.037j, 0.026j)}), + # https://cms.cern.ch/iCMS/jsp/db_notes/noteInfo.jsp?cmsnoteid=CMS%20AN-2019/197 (v9) + 13: Number(12.13), + 13.6: Number(12.75*kfactor_zz), }, ) -# based on GenXSecAnalyzer -# for ZZTo2Q2L_mllmin4p0_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2 -n 5000000 # noqa -zz_qqll_m4 = zz.add_process( - name="zz_qqll_m4", - id=8110, - xsecs={ - 13: Number(3.697, {"tot": 0.002713}), - }, -) - -# looking at the generator config: -# https://raw.githubusercontent.com/cms-sw/genproductions/ce68f8a7ab05f530e0a99124088c08d1cc2bf355/bin/Powheg/production/2017/13TeV/ZZ/ZZ_2L2NU_NNPDF31_13TeV.input # noqa -# it seems that there is a lepton mass cut of 4 GeV, like in the ZZTo2Q2L channel -# therefore values from GenXSecAnalyzer -# for ZZTo2L2Nu_TuneCP5_13TeV_powheg_pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -zz_llnunu_m4 = zz.add_process( - name="zz_llnunu_m4", - id=8120, - xsecs={ - 13: Number(0.9738, {"tot": 0.0009971}), - }, -) - -# looking at the generator config: -# https://raw.githubusercontent.com/cms-sw/genproductions/ce68f8a7ab05f530e0a99124088c08d1cc2bf355/bin/Powheg/production/2017/13TeV/ZZ/ZZ_4L_NNPDF31_13TeV.input # noqa -# it seems that there is a lepton mass cut of 4 GeV, like in the ZZTo2Q2L channel -# therefore values from GenXSecAnalyzer -# from ZZTo4L_TuneCP5_13TeV_powheg_pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -zz_llll_m4 = zz.add_process( - name="zz_llll_m4", - id=8130, - xsecs={ - 13: Number(1.325, {"tot": 0.00122}), - }, -) - -# no additional cut found in generator card in MCM: -# dataset: /ZZTo4Q_5f_TuneCP5_13TeV-amcatnloFXFX-pythia8/RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2/MINIAODSIM # noqa -# therefore, value obtained from branching ratio. -# Log for GenXSecAnalyzer of -# for ZZTo4Q_5f_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -> value : Number(3.287, {"tot": 0.006298}) -# also available, but not used here -zz_qqqq = zz.add_process( - name="zz_qqqq", - id=8140, - xsecs={ - 13: zz.get_xsec(13) * const.br_z["qq"] * const.br_z["qq"], # value around 7.8 - }, -) - -# no branching ratio Z->nunu available, so taking values from GenXSecAnalyzer -# for ZZTo2Nu2Q_5f_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2 -n 5000000 # noqa -zz_nunuqq = zz.add_process( - name="zz_nunuqq", - id=8150, - xsecs={ - 13: Number(4.557, {"tot": 0.004843}), - }, -) - -# WZ xsec values at NLO from https://arxiv.org/pdf/1105.0020.pdf v1 -# can this be used too? https://arxiv.org/pdf/2110.11231.pdf -> actual measurement, no theory prediction -wp_z_xsec = { - 13: Number(28.55, {"scale": (0.041j, 0.032j)}), -} - -wm_z_xsec = { - 13: Number(18.19, {"scale": (0.041j, 0.033j)}), -} - -# old value before update: -# https://cms.cern.ch/iCMS/jsp/db_notes/noteInfo.jsp?cmsnoteid=CMS%20AN-2019/197 (v3) Number(25.56) (LO) wz = vv.add_process( name="wz", id=8200, label="WZ", xsecs={ - # as a remark, the W cross section calculation from - # https://twiki.cern.ch/twiki/bin/viewauth/CMS/StandardModelCrossSectionsat13TeV?rev=28 - # shows a permille difference in the values calculated directly and the ones added from w+ and w- - 13: wp_z_xsec[13] + wm_z_xsec[13], - }, -) - -# looking at the generator config: -# https://github.com/cms-sw/genproductions/blob/2422e1837f93f875c54f8ace0f02d3dc962eca41/bin/MadGraph5_aMCatNLO/cards/production/2017/13TeV/WZTo3LNu01j_5f_NLO_FXFX/WZTo3LNu01j_5f_NLO_FXFX_run_card.dat # noqa -# it seems that there is a lepton mass cut of 4 GeV for leptons from Z, like in the ZZTo2Q2L channel -# therefore values from GenXSecAnalyzer -# for WZTo3LNu_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -wz_lllnu_m4 = wz.add_process( - name="wz_lllnu_m4", - id=8210, - xsecs={ - 13: Number(5.218, {"tot": 0.00525}), - }, -) - -# based on GenXSecAnalyzer -# for WZTo2Q2L_mllmin4p0_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2 -n 5000000 # noqa -wz_qqll_m4 = wz.add_process( - name="wz_qqll_m4", - id=8220, - xsecs={ - 13: Number(6.431, {"tot": 0.007851}), - }, -) - - -# no additional cut found in generator card in MCM: -# dataset: /WZTo1L1Nu2Q_4f_TuneCP5_13TeV-amcatnloFXFX-pythia8/RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2/MINIAODSIM # noqa -# therefore, value obtained from branching ratio. -# Log for GenXSecAnalyzer of -# for WZTo1L1Nu2Q_4f_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -> value : Number(9.159, {"tot": 0.008259}) -# also available, but not used here -wz_lnuqq = wz.add_process( - name="wz_lnuqq", - id=8230, - xsecs={ - 13: wz.get_xsec(13) * const.br_w["lep"] * const.br_z["qq"], # value around 10.65 + # https://cms.cern.ch/iCMS/jsp/db_notes/noteInfo.jsp?cmsnoteid=CMS%20AN-2019/197 (v9) + 13: Number(25.56), + 13.6: Number(29.1*kfactor_wz), }, ) -# NNLO QCD from https://twiki.cern.ch/twiki/bin/view/CMS/StandardModelCrossSectionsat13TeV?rev=28 -# itself from https://arxiv.org/pdf/1408.5243.pdf v1 - -# old value before update: -# https://cms.cern.ch/iCMS/jsp/db_notes/noteInfo.jsp?cmsnoteid=CMS%20AN-2019/197 (v3) Number(75.91) (LO) ww = vv.add_process( name="ww", id=8300, label="WW", xsecs={ - 13: Number(118.7, {"scale": (0.025j, 0.022j)}), - }, -) - -# update vv cross section -for cme in [13]: - vv.set_xsec(cme, ww.get_xsec(cme) + wz.get_xsec(cme) + zz.get_xsec(cme)) - -# no additional cut found in generator card: -# https://raw.githubusercontent.com/cms-sw/genproductions/master/bin/Powheg/production/2017/13TeV/WWTo2L2Nu_NNPDF31nnlo_13TeV/WWTo2L2Nu_NNPDF31nnlo_13TeV.input # noqa -# therefore, value obtained from branching ratio. -# Log for GenXSecAnalyzer of -# WWTo2L2Nu_TuneCP5_13TeV-powheg-pythia8 (Summer20UL16, NLO) with Number(11.09, {"tot": 0.00704}) -# also available, but not used here -ww_lnulnu = ww.add_process( - name="ww_lnulnu", - id=8310, - xsecs={ - 13: ww.get_xsec(13) * const.br_ww.dl, # value around 12.6 for comparison to GenXSecAnalyzer NLO result - }, -) - -# no additional cut found in generator card in MCM: -# dataset: /WWTo1L1Nu2Q_4f_TuneCP5_13TeV-amcatnloFXFX-pythia8/RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v2/MINIAODSIM # noqa -# therefore, value obtained from branching ratio. -# Log for GenXSecAnalyzer of -# for WWTo1L1Nu2Q_4f_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -> value : Number(50.94, {"tot": 0.042}) -# also available, but not used here -ww_lnuqq = ww.add_process( - name="ww_lnuqq", - id=8320, - xsecs={ - 13: ww.get_xsec(13) * const.br_ww.sl, # value around 50.06 for comparison to GenXSecAnalyzer NLO result - }, -) - -# no additional cut found in generator card in MCM: -# dataset: /WWTo4Q_4f_TuneCP5_13TeV-amcatnloFXFX-pythia8/RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v3/MINIAODSIM # noqa -# therefore, value obtained from branching ratio. -# Log for GenXSecAnalyzer of -# for WWTo4Q_4f_TuneCP5_13TeV-amcatnloFXFX-pythia8 (Summer20UL16, NLO) -> value : Number(51.53, {"tot": 0.04349}) -# also available, but not used here -ww_qqqq = ww.add_process( - name="ww_qqqq", - id=8330, - xsecs={ - 13: ww.get_xsec(13) * const.br_ww.fh, # value around 53.94 for comparison to GenXSecAnalyzer NLO result + # https://cms.cern.ch/iCMS/jsp/db_notes/noteInfo.jsp?cmsnoteid=CMS%20AN-2019/197 (v9) + 13 : Number(118.7), + 13.6 : Number(80.23*kfactor_ww), }, ) +# List of top-level processes +processes = [ww,zz,wz,dy_lep,wj] +# Save the xsec values to 'top.txt' for energy 13.6 TeV +save_xsecs_to_file(processes, 'wj.txt', 13.6) -# -# Triple-boson -# - -vvv = Process( - name="vvv", - id=9000, - label="Triple-Boson", - xsecs={13: Number(0.1)}, # updated below as sum over individual processes -) - -# based on GenXSecAnalyzer -# for ZZZ_TuneCP5_13TeV-amcatnlo-pythia8 (Summer20UL16, NLO) -# remark: calculated xsec has lower error for sample without ext-1 as not all events were used for calculation of ext-1 -# therefore the value for the sample without ext-1 is taken -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17-v1 -n 5000000 # noqa -zzz = vvv.add_process( - name="zzz", - id=9100, - xsecs={ - 13: Number(0.01476, {"tot": 2.347 * 10**(-6)}), - }, -) - -# based on GenXSecAnalyzer -# for WZZ_TuneCP5_13TeV-amcatnlo-pythia8 (Summer20UL16, NLO, ext-1) -# remark: calculated xsec is the same for simple sample and ext-1 sample -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17_ext1-v1 -n 5000000 # noqa -wzz = vvv.add_process( - name="wzz", - id=9200, - xsecs={ - 13: Number(0.05709, {"tot": 6.213 * 10**(-5)}), - }, -) - -# based on GenXSecAnalyzer -# for WWZ_4F_TuneCP5_13TeV-amcatnlo-pythia8 (Summer20UL16, NLO, ext-1) -# remark: calculated xsec is the same for simple sample and ext-1 sample -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17_ext1-v1 -n 5000000 # noqa -wwz = vvv.add_process( - name="wwz", - id=9300, - xsecs={ - 13: Number(0.1707, {"tot": 0.0001757}), - }, -) - -# based on GenXSecAnalyzer -# for WWW_4F_TuneCP5_13TeV-amcatnlo-pythia8 (Summer20UL16, NLO, ext-1) -# remark: calculated xsec is the same for simple sample and ext-1 sample -# using command ./calculateXSectionAndFilterEfficiency.sh -f datasets.txt -c RunIISummer20UL16MiniAODv2-106X_mcRun2_asymptotic_v17_ext1-v1 -n 5000000 # noqa -www = vvv.add_process( - name="www", - id=9400, - xsecs={ - 13: Number(0.2158, {"tot": 0.0002479}), - }, -) -# update vvv cross section -for cme in [13]: - vvv.set_xsec(cme, www.get_xsec(cme) + wwz.get_xsec(cme) + wzz.get_xsec(cme) + zzz.get_xsec(cme)) +# from IPython import embed; embed() \ No newline at end of file diff --git a/cmsdb/processes/higgs.py b/cmsdb/processes/higgs.py index 6c3c823f..5c434d0d 100644 --- a/cmsdb/processes/higgs.py +++ b/cmsdb/processes/higgs.py @@ -133,12 +133,12 @@ "h_hwwqqlnu", "h_hww2l2nu", "h_hww4q", "h_hzz4l", "h_hzz2l2nu", "h_hzz2l2q", "h_hzz2q2nu", "h_hzz4nu", "h_hzz4q", "h_hzg_zll", "h_hzg_zqq", "h_hzg_znunu", - "h_ggf", - "h_ggf_htt", "h_ggf_hww", "h_ggf_hzz", "h_ggf_hbb", "h_ggf_hnonbb", "h_ggf_hcc", - "h_ggf_hzg", "h_ggf_hgg", "h_ggf_hmm", - "h_ggf_hwwqqlnu", "h_ggf_hww2l2nu", "h_ggf_hww4q", - "h_ggf_hzz4l", "h_ggf_hzz2l2nu", "h_ggf_hzz2l2q", "h_ggf_hzz2q2nu", "h_ggf_hzz4nu", "h_ggf_hzz4q", - "h_ggf_hzg_zll", "h_ggf_hzg_zqq", "h_ggf_hzg_znunu", + "h_ggf","h_ggf_tautau", + # "h_ggf_htt", "h_ggf_hww", "h_ggf_hzz", "h_ggf_hbb", "h_ggf_hnonbb", "h_ggf_hcc", + # "h_ggf_hzg", "h_ggf_hgg", "h_ggf_hmm", + # "h_ggf_hwwqqlnu", "h_ggf_hww2l2nu", "h_ggf_hww4q", + # "h_ggf_hzz4l", "h_ggf_hzz2l2nu", "h_ggf_hzz2l2q", "h_ggf_hzz2q2nu", "h_ggf_hzz4nu", "h_ggf_hzz4q", + # "h_ggf_hzg_zll", "h_ggf_hzg_zqq", "h_ggf_hzg_znunu", "h_vbf", "h_vbf_htt", "h_vbf_hww", "h_vbf_hzz", "h_vbf_hbb", "h_vbf_hnonbb", "h_vbf_hcc", "h_vbf_hzg", "h_vbf_hgg", "h_vbf_hmm", @@ -508,56 +508,33 @@ id=11000, label=r"$H_{ggf}$", xsecs={ - 13: Number(4.858E+01, { - "pdf": 0.032j, - "th": (0.046j, 0.067j), - "th_gaussian": 0.039j, - }), + 13: Number(48.68, { # value for mH=125 GeV + "pdf": 0.0185j, + "th": (0.0426j, 0.0648j), + "alpha_s": (0.0259j, 0.0262j)} + ), # TODO 13.6: Number(52.23, { # value for mH=125 GeV "pdf": 0.032j, "th": (0.046j, 0.067j), "th_gaussian": 0.039, }), # TODO: only preliminary }, - aux={"production_mode_parent": h}, ) -# Higgs decay channels -h_ggf_htt = add_decay_process(h_ggf, h_decay_map.htt) -h_ggf_hww = add_decay_process(h_ggf, h_decay_map.hww) -h_ggf_hzz = add_decay_process(h_ggf, h_decay_map.hzz) -h_ggf_hbb = add_decay_process(h_ggf, h_decay_map.hbb) -h_ggf_hnonbb = add_decay_process(h_ggf, h_decay_map.hnonbb) -h_ggf_hcc = add_decay_process(h_ggf, h_decay_map.hcc) -h_ggf_hzg = add_decay_process(h_ggf, h_decay_map.hzg) -h_ggf_hgg = add_decay_process(h_ggf, h_decay_map.hgg) -h_ggf_hmm = add_decay_process(h_ggf, h_decay_map.hmm) - -# Higgs sub-decay channels -# TODO: mapping of parent processes does not yet work here -h_ggf_hwwqqlnu = add_sub_decay_process(h_ggf_hww, ww_decay_map["qqlnu"]) -h_ggf_hww2l2nu = add_sub_decay_process(h_ggf_hww, ww_decay_map["2l2nu"]) -h_ggf_hww4q = add_sub_decay_process(h_ggf_hww, ww_decay_map["4q"]) -h_ggf_hzz4l = add_sub_decay_process(h_ggf_hzz, zz_decay_map["4l"]) -h_ggf_hzz2l2nu = add_sub_decay_process(h_ggf_hzz, zz_decay_map["2l2nu"]) -h_ggf_hzz2l2q = add_sub_decay_process(h_ggf_hzz, zz_decay_map["2l2q"]) -h_ggf_hzz2q2nu = add_sub_decay_process(h_ggf_hzz, zz_decay_map["2q2nu"]) -h_ggf_hzz4nu = add_sub_decay_process(h_ggf_hzz, zz_decay_map["4nu"]) -h_ggf_hzz4q = add_sub_decay_process(h_ggf_hzz, zz_decay_map["4q"]) -h_ggf_hzg_zll = add_decay_process(h_ggf_hzg, hzg_decay_map["zll"]) -h_ggf_hzg_zqq = add_decay_process(h_ggf_hzg, hzg_decay_map["zqq"]) -h_ggf_hzg_znunu = add_decay_process(h_ggf_hzg, hzg_decay_map["znunu"]) - -#################################################################################################### -# -# vbf (qqH) -# -#################################################################################################### +h_ggf_tautau = h_ggf.add_process( + name="h_ggf_tautau", + id=11100, + # xsecs={ecm: h_ggf.get_xsec(ecm) * const.br_h.tt for ecm in (13, 13.6)}, + label=r"$H_{ggf} \rightarrow \tau\tau$", + xsecs={13.6 : h_ggf.get_xsec(13.6) * const.br_h.tt, + 13 : h_ggf.get_xsec(13) * const.br_h.tt}, +) h_vbf = h.add_process( name="h_vbf", id=12000, label=r"$H_{vbf}$", + xsecs={ 13: Number(3.782E+00, { "pdf": 0.021j, diff --git a/cmsdb/processes/top.py b/cmsdb/processes/top.py index 2e76279b..d5c76017 100644 --- a/cmsdb/processes/top.py +++ b/cmsdb/processes/top.py @@ -26,7 +26,7 @@ from order import Process from scinum import Number - +from scripts.get_x_secs import get_xsec_values,save_xsecs_to_file import cmsdb.constants as const from cmsdb.util import multiply_xsecs @@ -39,8 +39,7 @@ # cross sections correspond to mtop = 172.5 GeV # https://twiki.cern.ch/twiki/bin/view/CMS/TopMonteCarloSystematics?rev=7#mtop # - - +kfactor_ttbar=923.6/762.1 # NLO->NNLO k-factor computed for 13.6 TeV tt = Process( name="tt", id=1000, @@ -65,7 +64,8 @@ id=1100, label=f"{tt.label}, SL", color=(205, 0, 9), - xsecs=multiply_xsecs(tt, const.br_ww.sl), + xsecs= {13.6 : 334.8*kfactor_ttbar,} + # xsecs=multiply_xsecs(tt, const.br_ww.sl), ) tt_dl = tt.add_process( @@ -73,7 +73,8 @@ id=1200, label=f"{tt.label}, DL", color=(235, 230, 10), - xsecs=multiply_xsecs(tt, const.br_ww.dl), + xsecs = {13.6 : 80.9*kfactor_ttbar} , + # xsecs=multiply_xsecs(tt, const.br_ww.dl), ) tt_fh = tt.add_process( @@ -81,7 +82,8 @@ id=1300, label=f"{tt.label}, FH", color=(255, 153, 0), - xsecs=multiply_xsecs(tt, const.br_ww.fh), + xsecs = {13.6 : 346.4*kfactor_ttbar}, + # xsecs=multiply_xsecs(tt, const.br_ww.fh), ) @@ -101,7 +103,16 @@ name="st", id=2000, label=r"Single $t$/$\bar{t}$", - color=(2, 210, 209), + xsecs={ #dunmmy x_sec + 13: Number(833.9, { + "scale": (20.5, 30.0), + "pdf": 21.0, + "mtop": (23.2, 22.5),}), + 13.6: Number(923.6, { + "scale": (22.6, 33.4), + "pdf": 22.8, + "mtop": (25.4, 24.6),}),}, + color=(2, 210, 209), ) st_tchannel = st.add_process( @@ -137,14 +148,14 @@ E_beam=0.2, integration=0.1, )), - 13.6: Number(145.0, dict( - scale=(1.7, 1.1), - pdf=(2.3, 1.5), # includes alpha_s - mtop=(1.3, 0.9), - E_beam=(0.4, 0.3), - integration=0.1, - - )), + 13.6 : 123.8, + # 13.6: Number(145.0, dict( + # scale=(1.7, 1.1), + # pdf=(2.3, 1.5), # includes alpha_s + # mtop=(1.3, 0.9), + # E_beam=(0.4, 0.3), + # integration=0.1,)), + }, ) @@ -159,13 +170,14 @@ E_beam=(0.2, 0.1), integration=0.1, )), - 13.6: Number(87.2, dict( - scale=(0.9, 0.8), - pdf=(1.5, 1.3), # includes alpha_s - mtop=(0.6, 0.7), - E_beam=(0.2, 0.2), - integration=0.1, - )), + 13.6 : 75.47, + # 13.6: Number(87.2, dict( + # scale=(0.9, 0.8), + # pdf=(1.5, 1.3), # includes alpha_s + # mtop=(0.6, 0.7), + # E_beam=(0.2, 0.2), + # integration=0.1, + # )), }, ) @@ -197,19 +209,22 @@ 13.6: st_twchannel.get_xsec(13.6) / 2, }, ) + # "TWminustoLNu2Q" : 15.8, + # "TbarWplustoLNu2Q" : 15.9, st_twchannel_t_sl = st_twchannel_t.add_process( name="st_twchannel_t_sl", id=2211, - xsecs=multiply_xsecs(st_twchannel_t, const.br_ww.sl), + xsecs={13.6 : 15.9}, + # multiply_xsecs(st_twchannel_t, const.br_ww.sl), ) st_twchannel_t_dl = st_twchannel_t.add_process( name="st_twchannel_t_dl", id=2212, - xsecs=multiply_xsecs(st_twchannel_t, const.br_ww.dl), + xsecs={13.6 : 3.8}, + #multiply_xsecs(st_twchannel_t, const.br_ww.dl), ) - st_twchannel_t_fh = st_twchannel_t.add_process( name="st_twchannel_t_fh", id=2213, @@ -228,13 +243,15 @@ st_twchannel_tbar_sl = st_twchannel_tbar.add_process( name="st_twchannel_tbar_sl", id=2221, - xsecs=multiply_xsecs(st_twchannel_tbar, const.br_ww.sl), + xsecs={13.6 : 15.9}, + # multiply_xsecs(st_twchannel_tbar, const.br_ww.sl), ) st_twchannel_tbar_dl = st_twchannel_tbar.add_process( name="st_twchannel_tbar_dl", id=2222, - xsecs=multiply_xsecs(st_twchannel_tbar, const.br_ww.dl), + xsecs= {13.6 : 3.8}, + # multiply_xsecs(st_twchannel_tbar, const.br_ww.dl), ) st_twchannel_tbar_fh = st_twchannel_tbar.add_process( @@ -254,7 +271,12 @@ "mtop": (0.23, 0.22), "E_beam": 0.01, }), - # TODO: 13.6 TeV xsecs + 13.6: Number(10.32, { #dummy values copied by 13 TeV + "scale": (0.29, 0.24), + "pdf": 0.27, + "mtop": (0.23, 0.22), + "E_beam": 0.01, + }), }, ) @@ -280,7 +302,12 @@ "mtop": (0.14, 0.13), "E_beam": 0.01, }), - # TODO: 13.6 TeV xsecs + 13.6: Number(6.35, { #dummy values copied by 13 TeV + "scale": (0.18, 0.15), + "pdf": 0.14, + "mtop": (0.14, 0.13), + "E_beam": 0.01, + }), }, ) @@ -306,7 +333,12 @@ "mtop": 0.09, "E_beam": 0.01, }), - # TODO: 13.6 TeV xsecs + 13.6: Number(3.97, { #dummy values copied by 13 TeV + "scale": (0.11, 0.09), + "pdf": 0.15, + "mtop": 0.09, + "E_beam": 0.01, + }), }, ) @@ -352,7 +384,7 @@ "scale": (0.086j, 0.095j), "pdf": 0.023j, }), - 14: Number(1.045, { + 14: Number(1.045, { "scale": (0.088j, 0.099j), "pdf": 0.031j, }), @@ -458,3 +490,13 @@ 13, ttzz.get_xsec(13) + ttwz.get_xsec(13) + ttww.get_xsec(13), ) + + +# List of top-level processes +processes = [tt, st, tt_fh, tt_dl, tt_sl, st_tchannel_t, st_tchannel_tbar, st_twchannel_t_sl, st_twchannel_tbar_sl, st_twchannel_t_dl, st_twchannel_tbar_dl, st_twchannel_t_fh, st_twchannel_tbar_fh] + +# Save the xsec values to 'top.txt' for energy 13.6 TeV +save_xsecs_to_file(processes, 'top.txt', 13.6) + + +# from IPython import embed; embed() \ No newline at end of file From b888ef6e3f4956a025279b75965c9b1ab4054095 Mon Sep 17 00:00:00 2001 From: Jacopo Malvaso Date: Tue, 20 Aug 2024 13:35:05 +0200 Subject: [PATCH 2/6] Small changes to 2022preEE campaign and processes --- .../run3_2022_preEE_nano_tau_v12/ewk.py | 47 ++++++++------ .../run3_2022_preEE_nano_tau_v12/signal.py | 10 +-- cmsdb/processes/ewk.py | 62 +++++++++++++------ cmsdb/processes/top.py | 5 +- 4 files changed, 78 insertions(+), 46 deletions(-) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py index 2bacc6db..f16e00b1 100644 --- a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/ewk.py @@ -13,27 +13,36 @@ # cpn.add_dataset( - name='dy_incl', + name='dy_incl', #DYto2L_M-50 id=2212016, is_data=False, processes=[procs.dy_lep], keys=['/DYto2L_M-50_madgraphMLM', '/DYto2L_M-50_madgraphMLM_ext1'], - n_files=63, - n_events=145286646.0, - aux=None -) - -cpn.add_dataset( - name='dy_lep_m10to50', - id=2212017, - is_data=False, - processes=[procs.dy_lep], - keys=['/DYto2L_M-10to50_amcatnloFXFX'], - n_files=15, - n_events=52629903.0, + n_files=32+31, + n_events=73914947+71371699, aux=None ) +# cpn.add_dataset( +# name='dy_lep_m10to50', +# id=2212017, +# is_data=False, +# processes=[procs.dy_lep], +# keys=['/DYto2L_M-10to50_amcatnloFXFX'], +# n_files=15, +# n_events=52629903, +# aux=None +# ) +# cpn.add_dataset( +# name='dy_lep_m10to50', +# id=2212017, +# is_data=False, +# processes=[procs.dy_lep_m10to50], +# keys=['/DYto2L_M-10to50_madgraphMLM'], +# n_files=32, +# n_events=163769744, +# aux=None, +# ) cpn.add_dataset( name='dy_lep_0j', id=2212018, @@ -41,7 +50,7 @@ processes=[procs.dy_lep], keys=['/DYto2L_M-50_0J_amcatnloFXFX'], n_files=42, - n_events=83840818.0, + n_events=83840818, aux=None ) @@ -52,7 +61,7 @@ processes=[procs.dy_lep], keys=['/DYto2L_M-50_1J_amcatnloFXFX'], n_files=54, - n_events=46809421.0, + n_events=46809421, aux=None ) @@ -63,7 +72,7 @@ processes=[procs.dy_lep], keys=['/DYto2L_M-50_2J_amcatnloFXFX'], n_files=51, - n_events=23075468.0, + n_events=23075468, aux=None ) @@ -96,7 +105,7 @@ processes=[procs.ww], keys=['/WW'], n_files=5, - n_events=15405496.0, + n_events=15405496, aux=None ) @@ -118,7 +127,7 @@ processes=[procs.zz], keys=['/ZZ'], n_files=1, - n_events=1181750.0, + n_events=1181750, aux=None ) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py index 9255457d..3511f87b 100644 --- a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/signal.py @@ -38,8 +38,8 @@ # cpn.add_dataset( # name=['GluGluHto2Tau_M-100_2HDM-II'], # id=70, -# processes=[procs.process_70], -# keys=['GluGluHto2Tau_M-100_2HDM-II'], +# processes=[procs.h_ggf_tautau], +# keys=['/GluGluHto2Tau_M-100_2HDM-II'], # n_files=1, # n_events=449942, # aux={ @@ -98,8 +98,8 @@ # cpn.add_dataset( # name=['GluGluHto2Tau_M-1200_2HDM-II'], # id=75, -# processes=[procs.process_75], -# keys=['GluGluHto2Tau_M-1200_2HDM-II'], +# processes=[procs.h_ggf_tautau], +# keys=['/GluGluHto2Tau_M-1200_2HDM-II'], # n_files=1, # n_events=447983, # aux={ @@ -122,7 +122,7 @@ # cpn.add_dataset( # name=['GluGluHto2Tau_M-125_2HDM-II'], # id=77, -# processes=[procs.process_77], +# processes=[procs.h_ggf_tautau], # keys=['GluGluHto2Tau_M-125_2HDM-II'], # n_files=1, # n_events=447825, diff --git a/cmsdb/processes/ewk.py b/cmsdb/processes/ewk.py index 3e689343..4b0503e1 100644 --- a/cmsdb/processes/ewk.py +++ b/cmsdb/processes/ewk.py @@ -12,7 +12,7 @@ """ __all__ = [ - "dy","dy_lep","dy_z2mumu","dy_z2tautau", "dy_z2ee", + "dy","dy_lep","dy_z2mumu","dy_z2ee", #,"dy_z2tautau","dy_lep_m10to50""dy_lowmass" "w","wj", "vv","ww","wz","zz" ] @@ -51,33 +51,61 @@ 13.6: Number(5455.0*kfactor_dy)}, ) +# dy_lep_m10to50 = dy.add_process( +# name="dy_lep_m10to50", +# id=50001, +# label=rf"{dy.label} $Z \rightarrow ll$", +# xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV +# 13.6: Number(5455.0*kfactor_dy)}, +# ) + + dy_z2mumu = dy_lep.add_process( name="dy_z2mumu", id=51001, label=rf"$Z \rightarrow \mu (\tau \rightarrow \mu$)", - xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV - 13.6: Number(5455.0*kfactor_dy)}, - color=(150, 74, 139), # Medium Orchid + # xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV + # 13.6: Number(5455.0*kfactor_dy)}, + color="#94a4a2", ) -dy_z2tautau = dy_lep.add_process( - name="dy_z2tautau", - id=51002, - label=rf"$Z \rightarrow \tau_h (\tau \rightarrow \mu)$", - xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV - 13.6: Number(5455.0*kfactor_dy)}, - color=(24, 69, 251), # Royal Blue -) +# dy_z2tautau = dy_lep.add_process( +# name="dy_z2tautau", +# id=51002, +# label=rf"$Z \rightarrow \ell \tau_h$", +# xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV +# 13.6: Number(5455.0*kfactor_dy)}, +# #color="#e76300", +# ) dy_z2ee = dy_lep.add_process( name="dy_z2ee", id=51003, - label=rf"$Z \rightarrow \tau_h (\tau \rightarrow e)$", - xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV - 13.6: Number(5455.0*kfactor_dy)}, - color=(201, 31, 22), # Firebrick + label=rf"$Z \rightarrow e (\tau \rightarrow e)$", + # xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV + # 13.6: Number(5455.0*kfactor_dy)}, + color="#b9ac70", ) +dy_z2ll = dy_lep.add_process( + name="dy_z2ll", + id=51004, + label=rf"$Z \rightarrow \tau \tau$", + # xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV + # 13.6: Number(5455.0*kfactor_dy)}, + color="#832db6", +) + +# dy_lowmass = dy_lep_m10to50.add_process( +# name="dy_lowmass", +# id=51005, +# label=rf"$Z \rightarrow \tau \tau (M-10to50)$", +# # xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV +# # 13.6: Number(5455.0*kfactor_dy)}, +# color="#b9ac70", +# ) + + # # W boson # @@ -164,5 +192,3 @@ # Save the xsec values to 'top.txt' for energy 13.6 TeV save_xsecs_to_file(processes, 'wj.txt', 13.6) - -# from IPython import embed; embed() \ No newline at end of file diff --git a/cmsdb/processes/top.py b/cmsdb/processes/top.py index c89230d1..dd9f7571 100644 --- a/cmsdb/processes/top.py +++ b/cmsdb/processes/top.py @@ -389,7 +389,6 @@ "scale": (0.086j, 0.095j), "pdf": 0.023j, }), - 14: Number(1.045, { # from xsdb for ttz_zqq: https://xsdb-temp.app.cern.ch/xsdb/?columns=67108863¤tPage=0&pageSize=10&searchQuery=process_name%3D%5ETTZ-ZtoQQ-1Jets_TuneCP5_13p6TeV_amcatnloFXFX-pythia8%24 # noqa 13.6: Number(0.660300, { "total": 0.003767, @@ -398,7 +397,7 @@ "scale": (0.088j, 0.099j), "pdf": 0.031j, }), - }, + }, ) # based on GenXSecAnalyzer @@ -565,5 +564,3 @@ # Save the xsec values to 'top.txt' for energy 13.6 TeV save_xsecs_to_file(processes, 'top.txt', 13.6) - -# from IPython import embed; embed() \ No newline at end of file From 52ce34e4ca0f03b9d26051bd58c8960209e8cf3d Mon Sep 17 00:00:00 2001 From: Jacopo Malvaso Date: Tue, 20 Aug 2024 13:40:04 +0200 Subject: [PATCH 3/6] Commenting out the get_x_sec function --- cmsdb/processes/ewk.py | 2 +- cmsdb/processes/top.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cmsdb/processes/ewk.py b/cmsdb/processes/ewk.py index 4b0503e1..8cebe14d 100644 --- a/cmsdb/processes/ewk.py +++ b/cmsdb/processes/ewk.py @@ -20,7 +20,7 @@ from order import Process from scinum import Number -from scripts.get_x_secs import get_xsec_values,save_xsecs_to_file +#from scripts.get_x_secs import get_xsec_values,save_xsecs_to_file import cmsdb.constants as const diff --git a/cmsdb/processes/top.py b/cmsdb/processes/top.py index dd9f7571..66a7aa60 100644 --- a/cmsdb/processes/top.py +++ b/cmsdb/processes/top.py @@ -26,7 +26,7 @@ from order import Process from scinum import Number -from scripts.get_x_secs import get_xsec_values,save_xsecs_to_file +#from scripts.get_x_secs import get_xsec_values,save_xsecs_to_file import cmsdb.constants as const from cmsdb.util import multiply_xsecs @@ -558,9 +558,9 @@ ) -# List of top-level processes -processes = [tt, st, tt_fh, tt_dl, tt_sl, st_tchannel_t, st_tchannel_tbar, st_twchannel_t_sl, st_twchannel_tbar_sl, st_twchannel_t_dl, st_twchannel_tbar_dl, st_twchannel_t_fh, st_twchannel_tbar_fh] +# # List of top-level processes +# processes = [tt, st, tt_fh, tt_dl, tt_sl, st_tchannel_t, st_tchannel_tbar, st_twchannel_t_sl, st_twchannel_tbar_sl, st_twchannel_t_dl, st_twchannel_tbar_dl, st_twchannel_t_fh, st_twchannel_tbar_fh] -# Save the xsec values to 'top.txt' for energy 13.6 TeV -save_xsecs_to_file(processes, 'top.txt', 13.6) +# # Save the xsec values to 'top.txt' for energy 13.6 TeV +# save_xsecs_to_file(processes, 'top.txt', 13.6) From bb2c683ede056aa2d53e9a946fd86b7132180b95 Mon Sep 17 00:00:00 2001 From: Jacopo Malvaso Date: Tue, 20 Aug 2024 13:42:57 +0200 Subject: [PATCH 4/6] Commenting out the save_xsecs_to_file from ewk.py --- cmsdb/processes/ewk.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmsdb/processes/ewk.py b/cmsdb/processes/ewk.py index 8cebe14d..f0c858f4 100644 --- a/cmsdb/processes/ewk.py +++ b/cmsdb/processes/ewk.py @@ -186,9 +186,9 @@ 13.6 : Number(80.23*kfactor_ww), }, ) -# List of top-level processes -processes = [ww,zz,wz,dy_lep,wj] +# # List of top-level processes +# processes = [ww,zz,wz,dy_lep,wj] -# Save the xsec values to 'top.txt' for energy 13.6 TeV -save_xsecs_to_file(processes, 'wj.txt', 13.6) +# # Save the xsec values to 'top.txt' for energy 13.6 TeV +# save_xsecs_to_file(processes, 'wj.txt', 13.6) From c0b9bd8263b1089c0ca752baa2a64d22115d9b4d Mon Sep 17 00:00:00 2001 From: Jacopo Malvaso Date: Tue, 12 Nov 2024 10:18:03 +0100 Subject: [PATCH 5/6] Fix to the run3_preeEE campaign --- .../run3_2022_preEE_nano_tau_v12/__init__.py | 1 + cmsdb/processes/ewk.py | 22 +++++++++---------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py index 5718fae9..3e96610e 100644 --- a/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py +++ b/cmsdb/campaigns/run3_2022_preEE_nano_tau_v12/__init__.py @@ -13,6 +13,7 @@ "year": 2022, "version": 12, "tag": "preEE", + "run": 3, "custom": { "name": "run3_2022_preEE_nano_tau_v12", "creator": "desy", diff --git a/cmsdb/processes/ewk.py b/cmsdb/processes/ewk.py index 4ebe8881..da5423b5 100644 --- a/cmsdb/processes/ewk.py +++ b/cmsdb/processes/ewk.py @@ -79,24 +79,24 @@ # ) dy_z2mumu = dy_lep.add_process( name="dy_z2mumu", - id=51001, - label=rf"({dy.label} $Z \rightarrow \mu (\tau \rightarrow \mu$)", + id=51004, + label=rf"$Z \rightarrow \mu (\tau \rightarrow \mu$)", xsecs={13.6: Number(5455.0*kfactor_dy)}, color=(51,153,204), ) -dy_z2tautau = dy_lep.add_process( - name="dy_z2tautau", - id=51002, - label=rf"({dy.label} $Z \rightarrow \tau_h (\tau \rightarrow \mu)$", - xsecs={13.6: Number(5455.0*kfactor_dy)}, - color=(255,204,102), -) +# dy_z2tautau = dy_lep.add_process( +# name="dy_z2tautau", +# id=51002, +# label=rf"{dy.label} $Z \rightarrow \tau_h (\tau \rightarrow \mu$", +# xsecs={13.6: Number(5455.0*kfactor_dy)}, +# color=(255,204,102), +# ) dy_z2ee = dy_lep.add_process( name="dy_z2ee", - id=51003, + id=51001, label=rf"$Z \rightarrow e (\tau \rightarrow e)$", # xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV # 13.6: Number(5455.0*kfactor_dy)}, @@ -105,7 +105,7 @@ dy_z2ll = dy_lep.add_process( name="dy_z2ll", - id=51004, + id=51005, label=rf"$Z \rightarrow \tau \tau$", # xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV # 13.6: Number(5455.0*kfactor_dy)}, From 4b513ed68755b78a42aa98bc989c58f85f165ee8 Mon Sep 17 00:00:00 2001 From: Jacopo Malvaso Date: Wed, 13 Nov 2024 17:25:15 +0100 Subject: [PATCH 6/6] v14 config, post_ee campaign --- .../__init__.py | 27 ++++ .../run3_2022_postEE_v1_nano_tau_v14/data.py | 104 +++++++++++++++ .../run3_2022_postEE_v1_nano_tau_v14/ewk.py | 61 +++++++++ .../run3_2022_postEE_v1_nano_tau_v14/higgs.py | 20 +++ .../run3_2022_postEE_v1_nano_tau_v14/top.py | 118 ++++++++++++++++++ cmsdb/processes/ewk.py | 26 +++- cmsdb/processes/top.py | 2 +- 7 files changed, 356 insertions(+), 2 deletions(-) create mode 100644 cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/__init__.py create mode 100644 cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/data.py create mode 100644 cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/ewk.py create mode 100644 cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/higgs.py create mode 100644 cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/top.py diff --git a/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/__init__.py b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/__init__.py new file mode 100644 index 00000000..01c38ce9 --- /dev/null +++ b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/__init__.py @@ -0,0 +1,27 @@ +from order import Campaign +# +# campaign +# + +campaign_run3_2022_postEE_v1_nano_tau_v14 = Campaign( + name="run3_2022_postEE_v1_nano_tau_v14", + id=20221434, # run 2 year 2022 ver 14 #33 is just for separation between different configs + ecm=13.6, + bx=25, + aux={ + "tier": "NanoAOD", + "year": 2022, + "version": 14, + "tag": "postEE", + "custom": { + "name": "run3_2022_postEE_v1_nano_tau_v14", + "creator": "desy", + "location": "/eos/cms/store/group/phys_higgs/HLepRare/skim_2024_v1/Run3_2022EE" + }, + }, +) + +import cmsdb.campaigns.run3_2022_postEE_v1_nano_tau_v14.ewk +import cmsdb.campaigns.run3_2022_postEE_v1_nano_tau_v14.data +import cmsdb.campaigns.run3_2022_postEE_v1_nano_tau_v14.top +#import cmsdb.campaigns.run3_2022_preEE_nano_tau_v12.signal diff --git a/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/data.py b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/data.py new file mode 100644 index 00000000..f3311431 --- /dev/null +++ b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/data.py @@ -0,0 +1,104 @@ +""" +CMS TAUPOG skimmed datasets from the 2022 data-taking campaign +""" +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_postEE_v1_nano_tau_v14 import campaign_run3_2022_postEE_v1_nano_tau_v14 as cpn + +cpn.add_dataset( + name="data_e_E", + id=220156080, + is_data=True, + processes=[procs.data_e], + keys=["/EGamma_Run2022E",], + n_files=31, + n_events=148661479, + aux={"era": "e"}, + ) + +cpn.add_dataset( + name="data_e_F", + id=220173217, + is_data=True, + processes=[procs.data_e], + keys=["/EGamma_Run2022F",], + n_files=105, + n_events=464077454, + aux={"era": "f"}, + ) + +cpn.add_dataset( + name="data_e_G", + id=220170974, + is_data=True, + processes=[procs.data_e], + keys=["/EGamma_Run2022G",], + n_files=18, + n_events=76724231, + aux={"era": "g"}, + ) + +cpn.add_dataset( + name="data_mu_E", + id=220178126, + is_data=True, + processes=[procs.data_mu], + keys=["/Muon_Run2022E",], + n_files=29, + n_events=141480973, + aux={"era": "e"}, + ) + +cpn.add_dataset( + name="data_mu_F", + id=220140406, + is_data=True, + processes=[procs.data_mu], + keys=["/Muon_Run2022F",], + n_files=102, + n_events=449185088, + aux={"era": "f"}, + ) + +cpn.add_dataset( + name="data_mu_G", + id=220154444, + is_data=True, + processes=[procs.data_mu], + keys=["/Muon_Run2022G",], + n_files=18, + n_events=76689396, + aux={"era": "g"}, + ) + +cpn.add_dataset( + name="data_tau_E", + id=220188559, + is_data=True, + processes=[procs.data_tau], + keys=["/Tau_Run2022E",], + n_files=11, + n_events=30520481, + aux={"era": "e"}, + ) + +cpn.add_dataset( + name="data_tau_F", + id=220137395, + is_data=True, + processes=[procs.data_tau], + keys=["/Tau_Run2022F",], + n_files=43, + n_events=115472800, + aux={"era": "f"}, + ) + +cpn.add_dataset( + name="data_tau_G", + id=220121946, + is_data=True, + processes=[procs.data_tau], + keys=["/Tau_Run2022G",], + n_files=7, + n_events=17838713, + aux={"era": "g"}, + ) diff --git a/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/ewk.py b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/ewk.py new file mode 100644 index 00000000..1b9ba076 --- /dev/null +++ b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/ewk.py @@ -0,0 +1,61 @@ +""" +CMS TAUPOG skimmed datasets from the 2022 data-taking campaign +""" +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_postEE_v1_nano_tau_v14 import campaign_run3_2022_postEE_v1_nano_tau_v14 as cpn + +cpn.add_dataset( + name="dy_incl_m10_50", + id=220119662, + is_mc=True, + processes=[procs.dy_lep], + keys=["/DYto2L_M-10to50_madgraphMLM",], + n_files=101, + n_events=520125461, + ) + +cpn.add_dataset( + name="dy_incl_m50", + id=220119663, + is_mc=True, + processes=[procs.dy_lep], + keys=["/DYto2L_M-50_madgraphMLM","DYto2L_M-50_madgraphMLM_ext1"], + n_files=103+108, + n_events=240687634+254153530, + ) + +cpn.add_dataset( + name='wj_incl', + id=220119664, + processes=[procs.wj], + keys=["WtoLNu_madgraphMLM","WtoLNu_madgraphMLM_ext1"], + n_files=80+81 + n_events=342750582+341334203 +) + +cpn.add_dataset( + name="zz", + id=220140873, + processes=[procs.zz], + keys=["/ZZ",], + n_files=2, + n_events=4043040, + ) + +cpn.add_dataset( + name="wz", + id=220153410, + processes=[procs.wz], + keys=["/WZ",], + n_files=8, + n_events=27003640, + ) + +cpn.add_dataset( + name="ww", + id=220190280, + processes=[procs.ww], + keys=["/WW",], + n_files=16, + n_events=53112080, + ) diff --git a/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/higgs.py b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/higgs.py new file mode 100644 index 00000000..7014568b --- /dev/null +++ b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/higgs.py @@ -0,0 +1,20 @@ +""" +CMS TAUPOG skimmed datasets from the 2022 data-taking campaign +""" +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_postEE_v1_nano_tau_v14 import campaign_run3_2022_postEE_v1_nano_tau_v14 as cpn + +cpn.add_dataset( + name="h_ggf_htt_uncor_unfiltered", + id=14805985, + processes=[procs.h_ggf_htt], + info=dict( + nominal=DatasetInfo( + keys=[ + "/GluGluHTo2Tau_UncorrelatedDecay_UnFiltered", + ], + n_files=1, + n_events=499966, + ), + ), +) \ No newline at end of file diff --git a/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/top.py b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/top.py new file mode 100644 index 00000000..0059a3ba --- /dev/null +++ b/cmsdb/campaigns/run3_2022_postEE_v1_nano_tau_v14/top.py @@ -0,0 +1,118 @@ +""" +CMS TAUPOG skimmed datasets from the 2022 data-taking campaign +""" +import cmsdb.processes as procs +from cmsdb.campaigns.run3_2022_postEE_v1_nano_tau_v14 import campaign_run3_2022_postEE_v1_nano_tau_v14 as cpn +### SINGLE TOP ### + +cpn.add_dataset( + name='st_tchannel_t', + id=22120118, + processes=[procs.st_tchannel_t], + keys=['/ST_t-channel_top_4f_InclusiveDecays'], + n_files=5, + n_events=9368799, + aux=None +) + +cpn.add_dataset( + name='st_tchannel_tbar', + id=22120119, + processes=[procs.st_tchannel_tbar], + keys=['/ST_t-channel_antitop_4f_InclusiveDecays'], + n_files=3, + n_events=4794814, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_t_sl', + id=22120120, + processes=[procs.st_twchannel_t_sl], + keys=['/ST_tW_top_LNu2Q', '/ST_tW_top_LNu2Q_ext1'], + n_files=13+13, + n_events=16686824+15824984, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_t_dl', + id=22120121, + processes=[procs.st_twchannel_t_dl], + keys=['/ST_tW_top_2L2Nu', '/ST_tW_top_2L2Nu_ext1'], + n_files=7+8, + n_events=8065066+8510272, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_t_fh', + id=22120122, + processes=[procs.st_twchannel_t_fh], + keys=['/ST_tW_top_4Q', '/ST_tW_top_4Q_ext1'], + n_files=7+7, + n_events=13459714+13999444, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_tbar_sl', + id=22120123, + processes=[procs.st_twchannel_tbar_sl], + keys=['/ST_tW_antitop_LNu2Q', '/ST_tW_antitop_LNu2Q_ext1'], + n_files=13+14, + n_events=16485400+17271609, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_tbar_dl', + id=22120124, + processes=[procs.st_twchannel_tbar_dl], + keys=['/ST_tW_antitop_2L2Nu', '/ST_tW_antitop_2L2Nu_ext1'], + n_files=7+8, + n_events=8259727+8522476, + aux=None +) + +cpn.add_dataset( + name='st_twchannel_tbar_fh', + id=22120125, + processes=[procs.st_twchannel_tbar_fh], + keys=['/ST_tW_antitop_4Q', '/ST_tW_antitop_4Q_ext1'], + n_files=7+7, + n_events=13447400+12556124, + aux=None +) + +### TT SAMPLES ### +cpn.add_dataset( + name='tt_sl', + id=22120115, + processes=[procs.tt_sl], + keys=['/TTtoLNu2Q', '/TTtoLNu2Q_ext1'], + n_files=82+71, + n_events= 88730729+76380270, + aux=None +) + +cpn.add_dataset( + name='tt_dl', + id=22120116, + processes=[procs.tt_dl], + keys=['/TTto2L2Nu', '/TTto2L2Nu_ext1'], + n_files=84+83, + n_events=84124365+84236946, + aux=None +) + +cpn.add_dataset( + name='tt_fh', + id=22120117, + processes=[procs.tt_fh], + keys=['/TTto4Q', '/TTto4Q_ext1'], + n_files=107+112, + n_events=178208417.0+186029697.0, + aux=None +) + diff --git a/cmsdb/processes/ewk.py b/cmsdb/processes/ewk.py index bfb91575..a4a35ca5 100644 --- a/cmsdb/processes/ewk.py +++ b/cmsdb/processes/ewk.py @@ -46,10 +46,32 @@ dy_lep = dy.add_process( name="dy_lep", id=51000, - label=rf"{dy.label} $Z \rightarrow ll$", + label=rf"$Z \rightarrow ll$", xsecs={13: Number(5455.0*kfactor_dy), #FIXME Add proper number for 13TeV 13.6: Number(5455.0*kfactor_dy)}, ) +dy_z2ee = dy_lep.add_process( + name="dy_z2ee", + id=51001, + label=rf"$Z \rightarrow ee$", + xsecs={13.6: Number(5455.0*kfactor_dy)}, + color="#b9ac70", +) +dy_z2mumu = dy_lep.add_process( + name="dy_z2mumu", + id=51004, + label=rf"$Z \rightarrow \mu\mu$", + xsecs={13.6: Number(5455.0*kfactor_dy)}, + color="#3399cc", +) + +dy_z2tautau = dy_lep.add_process( + name="dy_z2tautau", + id=51005, + label=rf"$Z \rightarrow \tau\tau$+jet fakes", + xsecs={13.6: Number(5455.0*kfactor_dy)}, + color="#a172bd", +) # dy_lep_m10to50 = dy.add_process( # name="dy_lep_m10to50", @@ -156,6 +178,7 @@ 13.6: 55300.*kfactor_wj, #wm_lnu_xs_13p6 + wp_lnu_xs_13p6, }, + color="#c95954" ) # @@ -167,6 +190,7 @@ id=8000, label="Di-Boson", xsecs={13.6: Number(0.1)}, # TODO + color="#7aee7a" ) # ZZ 13 TeV xsec values at nNNLO from diff --git a/cmsdb/processes/top.py b/cmsdb/processes/top.py index 66a7aa60..b8c28623 100644 --- a/cmsdb/processes/top.py +++ b/cmsdb/processes/top.py @@ -44,7 +44,6 @@ name="tt", id=1000, label=r"$t\bar{t}$ + Jets", - color=(205, 0, 9), xsecs={ 13: Number(833.9, { "scale": (20.5, 30.0), @@ -57,6 +56,7 @@ "mtop": (25.4, 24.6), }), }, + color="#ffcc66" ) tt_sl = tt.add_process(