Skip to content

Commit

Permalink
fix postBPix event numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
Aliya Nigamova committed Jan 22, 2025
1 parent 804fd74 commit 5fdd59d
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
6 changes: 3 additions & 3 deletions cmsdb/campaigns/run3_2023_postBPix_nano_tau_skim_v2/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
processes=[procs.data_e],
keys=['/EGamma0_Run2023D_v1', '/EGamma0_Run2023D_v2', '/EGamma1_Run2023D_v1', '/EGamma1_Run2023D_v2'],
n_files=64 + 14 + 64 + 14,
n_events= 49635861 + 10741086 + 49626665 + 10743629,
n_events= 105892646 + 22657211 + 105850543 + 22653287,
aux={
'era': 'D'
}
Expand All @@ -34,7 +34,7 @@
processes=[procs.data_mu],
keys=['/Muon0_Run2023D_v1', '/Muon0_Run2023D_v2', '/Muon1_Run2023D_v1', '/Muon1_Run2023D_v2'],
n_files= 53 + 12 + 53 + 12,
n_events= 50726971 + 11041859 + 50772523 + 11045936,
n_events= 100211533 + 21462916 + 100281976 + 21463645,
aux={
'era': 'D'
}
Expand All @@ -47,7 +47,7 @@
processes=[procs.data_tau],
keys=['/Tau_Run2023D_v1', '/Tau_Run2023D_v2'],
n_files=31 + 7,
n_events= 22751203 + 5089799,
n_events= 32092659 + 7246202,
aux={
'era': 'D',
}
Expand Down
10 changes: 5 additions & 5 deletions cmsdb/campaigns/run3_2023_postBPix_nano_tau_skim_v2/ewk.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
processes=[procs.dy_lep],
keys=['/DYto2L_M_50_madgraphMLM'],
n_files=68,
n_events=36636046,
n_events=69398459,
aux=None
)

Expand All @@ -32,7 +32,7 @@
processes=[procs.wj],
keys=['/WtoLNu_madgraphMLM'],
n_files=51,
n_events=19010206,
n_events=94639090,
aux=None,
)

Expand All @@ -42,7 +42,7 @@
processes=[procs.ww],
keys=['/WW'],
n_files=12,
n_events=6544933,
n_events=16545000,
aux=None
)

Expand All @@ -52,7 +52,7 @@
processes=[procs.wz],
keys=['/WZ'],
n_files=6,
n_events=2942360,
n_events=8379000,
aux=None
)

Expand All @@ -62,7 +62,7 @@
processes=[procs.zz],
keys=['/ZZ'],
n_files=1,
n_events=396965,
n_events=1254000,
aux=None
)

Expand Down
26 changes: 13 additions & 13 deletions cmsdb/campaigns/run3_2023_postBPix_nano_tau_skim_v2/top.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
processes=[procs.st_tchannel_t],
keys=['/ST_t_channel_top_4f_InclusiveDecays'],
n_files=3,
n_events=1115420,
n_events=2954000,
aux=None
)

Expand All @@ -25,7 +25,7 @@
processes=[procs.st_tchannel_tbar],
keys=['/ST_t_channel_antitop_4f_InclusiveDecays'],
n_files=2,
n_events=568985,
n_events=1488000,
aux=None
)

Expand All @@ -35,7 +35,7 @@
processes=[procs.st_twchannel_t_sl],
keys=['/ST_tW_top_LNu2Q'],
n_files=9,
n_events=3877916,
n_events=4943378,
aux=None
)

Expand All @@ -45,7 +45,7 @@
processes=[procs.st_twchannel_t_dl],
keys=['/ST_tW_top_2L2Nu'],
n_files=5,
n_events=2211653,
n_events=2479000,
aux=None
)

Expand All @@ -56,7 +56,7 @@
processes=[procs.st_twchannel_t_fh],
keys=['/ST_tW_top_4Q'],
n_files=5,
n_events=1498513,
n_events=3934000,
aux=None
)

Expand All @@ -66,7 +66,7 @@
processes=[procs.st_twchannel_tbar_sl],
keys=['/ST_tW_antitop_LNu2Q'],
n_files=10,
n_events=4040377,
n_events=5146630,
aux=None
)

Expand All @@ -76,7 +76,7 @@
processes=[procs.st_twchannel_tbar_dl],
keys=['/ST_tW_antitop_2L2Nu'],
n_files=5,
n_events=2219055,
n_events=2488000,
aux=None
)

Expand All @@ -86,7 +86,7 @@
processes=[procs.st_twchannel_tbar_fh],
keys=['/ST_tW_antitop_4Q'],
n_files=5,
n_events=1515010,
n_events=3976000,
aux=None
)
cpn.add_dataset(
Expand All @@ -95,15 +95,15 @@
processes=[procs.st_schannel_t_lep],
keys=['/ST_s_channel_top_4f_leptonDecays'],
n_files=2,
n_events=716943,
n_events=1288000,
)
cpn.add_dataset(
name="st_schannel_tbar_lep",
id=22120127,
processes=[procs.st_schannel_tbar_lep],
keys=['/ST_s_channel_antitop_4f_leptonDecays'],
n_files = 1,
n_events = 436998,
n_events = 784000,
)
### TT SAMPLES ###

Expand All @@ -113,7 +113,7 @@
processes=[procs.tt_sl],
keys=['/TTtoLNu2Q'],
n_files= 169,
n_events= 63088768,
n_events= 76670000,
aux=None
)

Expand All @@ -123,7 +123,7 @@
processes=[procs.tt_dl],
keys=['/TTto2L2Nu'],
n_files=56,
n_events=22680638,
n_events=24556000,
aux=None
)

Expand All @@ -133,7 +133,7 @@
processes=[procs.tt_fh],
keys=['/TTto4Q'],
n_files=72,
n_events=23044294,
n_events=52849000,
aux=None
)

Expand Down
4 changes: 2 additions & 2 deletions scripts/read_prodReport_nano.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

parser = argparse.ArgumentParser()
parser.add_argument( '--dir', help='path to the dataset directory where the prodReport_nano.json', default="Muon0_Run2023D_v1")
parser.add_argument( '--eos', help='path to the eos HLepRare directory', default="/eos/cms/store/group/phys_higgs/HLepRare/skim_2024_v2/Run3_2023")
parser.add_argument( '--eos', help='path to the eos HLepRare directory', default="/eos/cms/store/group/phys_higgs/HLepRare/skim_2024_v2/Run3_2023BPix")
args = parser.parse_args()

full_path = args.eos +"/" + args.dir + "/prodReport_nano.json"
Expand All @@ -16,6 +16,6 @@

files = prod_dict["outputs"].keys()
n_files = len(files)
n_events = sum([(prod_dict["outputs"][x]["n_selected"] + prod_dict["outputs"][x]["n_not_selected"])for x in prod_dict["outputs"].keys()])
n_events = sum([(prod_dict["outputs"][x]["n_selected"] + prod_dict["outputs"][x]["n_not_selected"]) for x in prod_dict["outputs"].keys()])
print( args.dir ,":\n n_files = ", n_files, "\n n_events = ", n_events )

0 comments on commit 5fdd59d

Please sign in to comment.