Skip to content

Commit

Permalink
fixed tests errors
Browse files Browse the repository at this point in the history
  • Loading branch information
haddadanas committed Apr 30, 2024
1 parent 6a29aa6 commit 5737dc0
Show file tree
Hide file tree
Showing 6 changed files with 58 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmsdb/campaigns/run3_2022_postEE_nano_v12/ewk.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
cpn.add_dataset(
name="dy_lep_m10to50_amcatnlo",
id=14803206,
# processes=[procs.dy_lep_m10to50],
processes=[procs.dy_lep_m10to50],
keys=[
"/DYto2L-2Jets_MLL-10to50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa
],
Expand Down
8 changes: 4 additions & 4 deletions cmsdb/campaigns/run3_2022_postEE_nano_v12/qcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
cpn.add_dataset(
name="qcd_em_pt10to30_pythia",
id=14793132,
# processes=[procs.qcd_em_pt10to30],
processes=[procs.qcd_em_pt10to30],
keys=[
"/QCD_PT-10to30_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa
],
Expand Down Expand Up @@ -215,7 +215,7 @@
cpn.add_dataset(
name="qcd_doubleem_pt30to40_pythia",
id=14798807,
# processes=[procs.qcd_doubleem_pt30to40],
processes=[procs.qcd_doubleem_pt30to40],
keys=[
"/QCD_PT-30to40_DoubleEMEnriched_MGG-80toInf_TuneCP5_13p6TeV_pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa
],
Expand All @@ -225,7 +225,7 @@
cpn.add_dataset(
name="qcd_doubleem_pt30toInf_pythia",
id=14797413,
# processes=[procs.qcd_doubleem_pt30toInf],
processes=[procs.qcd_doubleem_pt30toInf],
keys=[
"/QCD_PT-30toInf_DoubleEMEnriched_MGG-40to80_TuneCP5_13p6TeV_pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa
],
Expand All @@ -235,7 +235,7 @@
cpn.add_dataset(
name="qcd_doubleem_pt40toInf_pythia",
id=14810606,
# processes=[procs.qcd_doubleem_pt40toInf],
processes=[procs.qcd_doubleem_pt40toInf],
keys=[
"/QCD_PT-40toInf_DoubleEMEnriched_MGG-80toInf_TuneCP5_13p6TeV_pythia8/Run3Summer22EENanoAODv12-130X_mcRun3_2022_realistic_postEE_v6-v2/NANOAODSIM", # noqa
],
Expand Down
2 changes: 1 addition & 1 deletion cmsdb/campaigns/run3_2022_preEE_nano_v12/ewk.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
cpn.add_dataset(
name="dy_lep_m10_amcatnlo",
id=14803891,
# processes=[procs.dy_lep_m10to50],
processes=[procs.dy_lep_m10],
keys=[
"/DYto2L-2Jets_MLL-10to50_TuneCP5_13p6TeV_amcatnloFXFX-pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa
],
Expand Down
8 changes: 4 additions & 4 deletions cmsdb/campaigns/run3_2022_preEE_nano_v12/qcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
cpn.add_dataset(
name="qcd_em_pt10to30_pythia",
id=14805335,
# processes=[procs.qcd_em_pt10to30],
processes=[procs.qcd_em_pt10to30],
keys=[
"/QCD_PT-10to30_EMEnriched_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa
],
Expand Down Expand Up @@ -221,7 +221,7 @@
cpn.add_dataset(
name="qcd_doubleem_pt30to40_pythia",
id=14801752,
# processes=[procs.qcd_doubleem_pt30to40],
processes=[procs.qcd_doubleem_pt30to40],
keys=[
"/QCD_PT-30to40_DoubleEMEnriched_MGG-80toInf_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa
],
Expand All @@ -231,7 +231,7 @@
cpn.add_dataset(
name="qcd_doubleem_pt30toInf_pythia",
id=14807962,
# processes=[procs.qcd_doubleem_pt30toInf],
processes=[procs.qcd_doubleem_pt30toInf],
keys=[
"/QCD_PT-30toInf_DoubleEMEnriched_MGG-40to80_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa
],
Expand All @@ -241,7 +241,7 @@
cpn.add_dataset(
name="qcd_doubleem_pt40toInf_pythia",
id=14803826,
# processes=[procs.qcd_doubleem_pt40toInf],
processes=[procs.qcd_doubleem_pt40toInf],
keys=[
"/QCD_PT-40toInf_DoubleEMEnriched_MGG-80toInf_TuneCP5_13p6TeV_pythia8/Run3Summer22NanoAODv12-130X_mcRun3_2022_realistic_v5-v2/NANOAODSIM", # noqa
],
Expand Down
10 changes: 10 additions & 0 deletions cmsdb/processes/ewk.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
__all__ = [
"dy",
"dy_lep",
"dy_lep_m10",
"dy_lep_m50", "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",
Expand Down Expand Up @@ -87,6 +88,15 @@
},
)

dy_lep_m10 = dy_lep.add_process(
name="dy_lep_m10",
id=51101,
xsecs={
13: Number(0.1),
13.6: Number(0.1),
}, # TODO
)


# if needed for scaling from NLO to NNLO:
# NLO cross section, based on GenXSecAnalyzer for
Expand Down
38 changes: 38 additions & 0 deletions cmsdb/processes/qcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"qcd_mu_pt800to1000",
"qcd_mu_pt1000",
"qcd_em",
"qcd_em_pt10to30",
"qcd_em_pt15to20",
"qcd_em_pt20to30",
"qcd_em_pt30to50",
Expand Down Expand Up @@ -545,6 +546,15 @@
},
)

qcd_em_pt10to30 = qcd.add_process(
name="qcd_em_pt10to30",
id=31209,
xsecs={
13: Number(0.1),
13.6: Number(0.1),
},
)

#
# QCD pT-binned (bcToE)
#
Expand Down Expand Up @@ -612,3 +622,31 @@
13.6: Number(0.1),
},
)

# QCD Double EM enriched
qcd_doubleem_pt30to40 = qcd.add_process(
name="qcd_doubleem_pt30to40",
id=31401,
xsecs={
13: Number(0.1),
13.6: Number(0.1),
},
)

qcd_doubleem_pt40toInf = qcd.add_process(
name="qcd_doubleem_pt40toInf",
id=31402,
xsecs={
13: Number(0.1),
13.6: Number(0.1),
},
)

qcd_doubleem_pt30toInf = qcd.add_process(
name="qcd_doubleem_pt30toInf",
id=31403,
xsecs={
13: Number(0.1),
13.6: Number(0.1),
},
)

0 comments on commit 5737dc0

Please sign in to comment.