Skip to content

Commit

Permalink
Merge branch 'uhh-cms:master' into 2016HIPM
Browse files Browse the repository at this point in the history
  • Loading branch information
haddadanas authored May 17, 2024
2 parents eb5a00f + 1743c67 commit 5ad42f1
Show file tree
Hide file tree
Showing 20 changed files with 3,480 additions and 13 deletions.
24 changes: 12 additions & 12 deletions cmsdb/campaigns/run2_2016_nano_uhh_v12/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
is_data=True,
processes=[procs.data_e],
keys=[
"/SingleElectron/Run2016F-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/SingleElectron/Run2016F-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=4,
n_events=8858206,
Expand All @@ -34,7 +34,7 @@
is_data=True,
processes=[procs.data_e],
keys=[
"/SingleElectron/Run2016G-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/SingleElectron/Run2016G-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=64,
n_events=153363109,
Expand All @@ -49,7 +49,7 @@
is_data=True,
processes=[procs.data_e],
keys=[
"/SingleElectron/Run2016H-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/SingleElectron/Run2016H-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=56,
n_events=129021893,
Expand All @@ -69,7 +69,7 @@
is_data=True,
processes=[procs.data_mu],
keys=[
"/SingleMuon/Run2016F-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/SingleMuon/Run2016F-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=3,
n_events=8024195,
Expand All @@ -84,7 +84,7 @@
is_data=True,
processes=[procs.data_mu],
keys=[
"/SingleMuon/Run2016G-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/SingleMuon/Run2016G-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=52,
n_events=149916849,
Expand All @@ -99,7 +99,7 @@
is_data=True,
processes=[procs.data_mu],
keys=[
"/SingleMuon/Run2016H-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/SingleMuon/Run2016H-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=62,
n_events=174035164,
Expand All @@ -118,7 +118,7 @@
is_data=True,
processes=[procs.data_tau],
keys=[
"/Tau/Run2016F-UL2016_NanoAODv12-v1/NANOAOD", # noqa
"/Tau/Run2016F-UL2016_MiniAODv2-v1/NANOAOD", # noqa
],
n_files=3,
n_events=4360106,
Expand All @@ -133,7 +133,7 @@
is_data=True,
processes=[procs.data_tau],
keys=[
"/Tau/Run2016G-UL2016_NanoAODv12-v1/NANOAOD", # noqa
"/Tau/Run2016G-UL2016_MiniAODv2-v1/NANOAOD", # noqa
],
n_files=39,
n_events=79578661,
Expand All @@ -148,7 +148,7 @@
is_data=True,
processes=[procs.data_tau],
keys=[
"/Tau/Run2016H-UL2016_NanoAODv12-v1/NANOAOD", # noqa
"/Tau/Run2016H-UL2016_MiniAODv2-v1/NANOAOD", # noqa
],
n_files=39,
n_events=76758754,
Expand All @@ -168,7 +168,7 @@
is_data=True,
processes=[procs.data_met],
keys=[
"/MET/Run2016F-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/MET/Run2016F-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=1,
n_events=1383250,
Expand All @@ -183,7 +183,7 @@
is_data=True,
processes=[procs.data_met],
keys=[
"/MET/Run2016G-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/MET/Run2016G-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=13,
n_events=26974131,
Expand All @@ -198,7 +198,7 @@
is_data=True,
processes=[procs.data_met],
keys=[
"/MET/Run2016H-UL2016_NanoAODv12-v2/NANOAOD", # noqa
"/MET/Run2016H-UL2016_MiniAODv2-v2/NANOAOD", # noqa
],
n_files=18,
n_events=39773485,
Expand Down
43 changes: 43 additions & 0 deletions cmsdb/campaigns/run3_2022_postEE_nano_v12/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# coding: utf-8

"""
Common, analysis independent definition of the 2022 post-EE data-taking campaign
with datasets at NanoAOD tier in version 12. The 'post-EE' refers to data taken
after 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).
A corresponding set of MC samples was produced to simulate the effect of the missing
endcap region.
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_v12 = Campaign(
name="run3_2022_postEE_nano_v12",
id=320221202, # 3 2022 12 02(u)
ecm=13.6,
bx=25,
aux={
"tier": "NanoAOD",
"year": 2022,
"version": 12,
},
)


# trailing imports to load datasets
import cmsdb.campaigns.run3_2022_postEE_nano_v12.data # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v12.top # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v12.ewk # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v12.qcd # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v12.hh2bbww # noqa
import cmsdb.campaigns.run3_2022_postEE_nano_v12.hhh4b2tau # noqa
161 changes: 161 additions & 0 deletions cmsdb/campaigns/run3_2022_postEE_nano_v12/data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# 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_v12 import campaign_run3_2022_postEE_nano_v12 as cpn


#
# Muon
#


cpn.add_dataset(
name="data_mu_e",
id=14784109,
is_data=True,
processes=[procs.data_mu],
keys=[
"/Muon/Run2022E-22Sep2023-v1/NANOAOD", # noqa
],
n_files=147,
n_events=141460608,
aux={
"era": "E",
},
)

cpn.add_dataset(
name="data_mu_f",
id=14826624,
is_data=True,
processes=[procs.data_mu],
keys=[
"/Muon/Run2022F-22Sep2023-v2/NANOAOD", # noqa
],
n_files=359,
n_events=449887248,
aux={
"era": "F",
},
)

cpn.add_dataset(
name="data_mu_g",
id=14784262,
is_data=True,
processes=[procs.data_mu],
keys=[
"/Muon/Run2022G-22Sep2023-v1/NANOAOD", # noqa
],
n_files=88,
n_events=76689396,
aux={
"era": "G",
},
)


#
# E/Gamma
#


cpn.add_dataset(
name="data_egamma_e",
id=14783260,
is_data=True,
processes=[procs.data_egamma],
keys=[
"/EGamma/Run2022E-22Sep2023-v1/NANOAOD", # noqa
],
n_files=188,
n_events=148654795,
aux={
"era": "E",
},
)

cpn.add_dataset(
name="data_egamma_f",
id=14784299,
is_data=True,
processes=[procs.data_egamma],
keys=[
"/EGamma/Run2022F-22Sep2023-v1/NANOAOD", # noqa
],
n_files=490,
n_events=464373259,
aux={
"era": "F",
},
)

cpn.add_dataset(
name="data_egamma_g",
id=14826525,
is_data=True,
processes=[procs.data_egamma],
keys=[
"/EGamma/Run2022G-22Sep2023-v2/NANOAOD", # noqa
],
n_files=87,
n_events=76807350,
aux={
"era": "G",
},
)


#
# MuonEG
#


cpn.add_dataset(
name="data_muoneg_e",
id=14783435,
is_data=True,
processes=[procs.data_muoneg],
keys=[
"/MuonEG/Run2022E-22Sep2023-v1/NANOAOD", # noqa
],
n_files=29,
n_events=12873327,
aux={
"era": "E",
},
)

cpn.add_dataset(
name="data_muoneg_f",
id=14784482,
is_data=True,
processes=[procs.data_muoneg],
keys=[
"/MuonEG/Run2022F-22Sep2023-v1/NANOAOD", # noqa
],
n_files=95,
n_events=38219969,
aux={
"era": "F",
},
)

cpn.add_dataset(
name="data_muoneg_g",
id=14784485,
is_data=True,
processes=[procs.data_muoneg],
keys=[
"/MuonEG/Run2022G-22Sep2023-v1/NANOAOD", # noqa
],
n_files=27,
n_events=6238527,
aux={
"era": "G",
},
)
Loading

0 comments on commit 5ad42f1

Please sign in to comment.