Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmsdb configuration for run3_preEE with skim_v2 samples (and some small changes from the past) #1

Merged
merged 9 commits into from
Nov 14, 2024
2 changes: 1 addition & 1 deletion cmsdb/campaigns/run2_2017_nano_v9/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
28 changes: 28 additions & 0 deletions cmsdb/campaigns/run3_2022_preEE_nano_tau_skim_v2/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
from order import Campaign
#
# campaign
#

campaign_run3_2022_preEE_nano_tau_skim_v2 = Campaign(
name="run3_2022_preEE_nano_tau_skim_v2",
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": 14,
"tag": "preEE",
"run": 3,
"custom": {
"name": "run3_2022_preEE_nano_tau_skim_v2",
"creator": "desy",
"location": "/eos/cms/store/group/phys_higgs/HLepRare/skim_2024_v2/Run3_2022"
},
},
)

import cmsdb.campaigns.run3_2022_preEE_nano_tau_skim_v2.ewk
import cmsdb.campaigns.run3_2022_preEE_nano_tau_skim_v2.data
import cmsdb.campaigns.run3_2022_preEE_nano_tau_skim_v2.top

105 changes: 105 additions & 0 deletions cmsdb/campaigns/run3_2022_preEE_nano_tau_skim_v2/data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
# 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_tau_skim_v2 import campaign_run3_2022_preEE_nano_tau_skim_v2 as cpn


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

cpn.add_dataset(
name='data_e_C',
id=2212010,
is_data=True,
processes=[procs.data_e],
keys=['/EGamma_Run2022C'],
n_files=119,
n_events=263549470,
aux={
'era': 'C'
}
)

cpn.add_dataset(
name='data_e_D',
id=2212011,
is_data=True,
processes=[procs.data_e],
keys=['/EGamma_Run2022D'],
n_files=46,
n_events=89134996,
aux={
'era': 'D'
}
)

cpn.add_dataset(
name='data_mu_C',
id=2212012,
is_data=True,
processes=[procs.data_mu],
keys=['/Muon_Run2022C'],
n_files=60,
n_events=138329693,
aux={
'era': 'C'
}
)

cpn.add_dataset(
name='data_mu_D',
id=2212013,
is_data=True,
processes=[procs.data_mu],
keys=['/Muon_Run2022D'],
n_files=34,
n_events=75440027,
aux={
'era': 'D'
}
)

cpn.add_dataset(
name='data_tau_C',
id=2212014,
is_data=True,
processes=[procs.data_tau],
keys=['/Tau_Run2022C'],
n_files=22,
n_events=25903135,
aux={
'era': 'C',
}
)

cpn.add_dataset(
name='data_tau_D',
id=2212015,
is_data=True,
processes=[procs.data_tau],
keys=['/Tau_Run2022D'],
n_files=13,
n_events=16686692,
aux={
'era': 'D',
}
)

cpn.add_dataset(
name='data_singlemu_C',
id=2212020,
is_data=True,
processes=[procs.data_singlemu],
keys=['/SingleMuon_Run2022C'],
n_files=8,
n_events=20162441,
aux={
'era': 'C'
}
)

Loading
Loading