Skip to content

Commit

Permalink
Add datasets for Run3 2022 campaigns.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsavoiu committed Jul 3, 2023
1 parent db2fec4 commit 753baf5
Show file tree
Hide file tree
Showing 10 changed files with 2,422 additions and 0 deletions.
35 changes: 35 additions & 0 deletions cmsdb/campaigns/run3_2022_postEE_nano_v11/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# coding: utf-8

"""
Common, analysis independent definition of the 2022 post-EE data-taking campaign
with datasets at NanoAOD tier in version 11.
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_postEE_nano_v11 = Campaign(
name="run3_2022_postEE_nano_v11",
id=320221102, # 3 2022 11 02(u)
ecm=13.6,
bx=25,
aux={
"tier": "NanoAOD",
"year": 2022,
"version": 11,
},
)


# trailing imports to load datasets
import cmsdb.campaigns.run3_2022_postEE_nano_v11.data # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v11.top # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v11.ewk # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v11.qcd # noqa
108 changes: 108 additions & 0 deletions cmsdb/campaigns/run3_2022_postEE_nano_v11/data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# coding: utf-8

"""
CMS datasets from the 2022 post-EE data-taking campaign
"""

import cmsdb.processes as procs
from cmsdb.campaigns.run3_2022_postEE_nano_v11 import campaign_run3_2022_postEE_nano_v11 as cpn



#
# Muon
#

cpn.add_dataset(
name="data_mu_e",
id=14665058,
is_data=True,
processes=[procs.data_mu],
keys=[
"/Muon/Run2022E-ReRecoNanoAODv11-v1/NANOAOD",
],
n_files=98,
n_events=142785268,
aux={
"era": "E",
},
)

cpn.add_dataset(
name="data_mu_f",
id=14578756,
is_data=True,
processes=[procs.data_mu],
keys=[
"/Muon/Run2022F-PromptNanoAODv11_v1-v2/NANOAOD",
],
n_files=290,
n_events=449906805,
aux={
"era": "F",
},
)

cpn.add_dataset(
name="data_mu_g",
id=14578734,
is_data=True,
processes=[procs.data_mu],
keys=[
"/Muon/Run2022G-PromptNanoAODv11_v1-v2/NANOAOD",
],
n_files=51,
n_events=76689396,
aux={
"era": "G",
},
)

#
# E/Gamma
#

cpn.add_dataset(
name="data_egamma_e",
id=14670601,
is_data=True,
processes=[procs.data_egamma],
keys=[
"/EGamma/Run2022E-ReRecoNanoAODv11-v1/NANOAOD",
],
n_files=99,
n_events=149463867,
aux={
"era": "E",
},
)

cpn.add_dataset(
name="data_egamma_f",
id=14579815,
is_data=True,
processes=[procs.data_egamma],
keys=[
"/EGamma/Run2022F-PromptNanoAODv11_v1-v2/NANOAOD",
],
n_files=343,
n_events=464472966,
aux={
"era": "F",
},
)

cpn.add_dataset(
name="data_egamma_g",
id=14579488,
is_data=True,
processes=[procs.data_egamma],
keys=[
"/EGamma/Run2022G-PromptNanoAODv11_v1-v2/NANOAOD",
],
n_files=60,
n_events=76828141,
aux={
"era": "G",
},
)
130 changes: 130 additions & 0 deletions cmsdb/campaigns/run3_2022_postEE_nano_v11/ewk.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# coding: utf-8

"""
Electroweak datasets for the 2022 post-EE data-taking campaign
"""

import cmsdb.processes as procs
from cmsdb.campaigns.run3_2022_postEE_nano_v11 import campaign_run3_2022_postEE_nano_v11 as cpn


#
# Drell-Yan
#

# inclusive (MadGraph)
# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEwmLHEGS&dataset=DYJetsToLL_M-50&nanoaod_version=v11
cpn.add_dataset(
name="dy_lep_m50_madgraph",
id=14679709,
is_data=False,
processes=[procs.dy_lep_m50],
keys=[
"/DYJetsToLL_M-50_TuneCP5_13p6TeV-madgraphMLM-pythia8/Run3Summer22EENanoAODv11-forPOG_126X_mcRun3_2022_realistic_postEE_v1-v1/NANOAODSIM",
],
n_files=55,
n_events=96296977,
)

# inclusive (aMC@NLO)
# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEwmLHEGS&dataset=DYto2L-2Jets_MLL-50&nanoaod_version=v11
cpn.add_dataset(
name="dy_lep_m50_amcatnlo",
id=14615268,
is_data=False,
processes=[procs.dy_lep_m50],
keys=[
"/DYto2L-2Jets_MLL-50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v1/NANOAODSIM",
],
n_files=125,
n_events=215543566,
)

# MadGraph (n-jet binned)
# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEwmLHEGS&dataset=DYto2L-4
# missing as of 2023-07-01

# POWHEG (decay to muons, MLL-binned)
# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEwmLHEGS&dataset=DYto2Mu
# DAS entries:
# /DYto2Mu_MLL-10to50_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-50to120_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-120to200_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-200to400_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-400to800_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-800to1500_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-1500to2500_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-2500to4000_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-4000to6000_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM
# /DYto2Mu_MLL-4000_TuneCP5_13p6TeV_powheg-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v2/NANOAODSIM

# POWHEG (decay to electrons, MLL-binned)
# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEwmLHEGS&dataset=DYto2E_MLL
# missing as of 2023-07-01


#
# W boson production
#

# inclusive (aMC@NLO)
# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEwmLHEGS&dataset=WtoLNu-2Jets&nanoaod_version=v11
cpn.add_dataset(
name="w_lnu_amcatnlo",
id=14716346,
is_data=False,
processes=[procs.w_lnu],
keys=[
"/WtoLNu-2Jets_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v1/NANOAODSIM",
],
n_files=161,
n_events=291650146,
)

# MadGraph (n-jet binned)
# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEwmLHEGS&dataset=WtoLNu-4Jets_%281%7C2%7C3%7C4%29J&nanoaod_version=v11
# missing as of 2023-07-01


#
# Diboson
#

# GrASP: https://cms-pdmv.cern.ch/grasp/samples?campaign=Run3Summer22EEGS&nanoaod_version=v11&short_name=VV

# missing as of 2023-07-01
# cpn.add_dataset(
# name="zz_pythia",
# id=None,
# is_data=False,
# processes=[procs.zz],
# keys=[
# "/ZZ_TuneCP5_13p6TeV_pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v1/NANOAODSIM",
# ],
# n_files=None,
# n_events=None,
# )

cpn.add_dataset(
name="wz_pythia",
id=14597897,
is_data=False,
processes=[procs.wz],
keys=[
"/WZ_TuneCP5_13p6TeV_pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v1/NANOAODSIM",
],
n_files=18,
n_events=27291718,
)

cpn.add_dataset(
name="ww_pythia",
id=14596976,
is_data=False,
processes=[procs.ww],
keys=[
"/WW_TuneCP5_13p6TeV_pythia8/Run3Summer22EENanoAODv11-126X_mcRun3_2022_realistic_postEE_v1-v1/NANOAODSIM",
],
n_files=32,
n_events=54649280,
)
Loading

0 comments on commit 753baf5

Please sign in to comment.