CMS 3D CMS Logo

relval_data_highstats.py
Go to the documentation of this file.
1 # import the definition of the steps and input files:
3 
4 # here only define the workflows as a combination of the steps defined above:
5 workflows = Matrix()
6 
7 
9 
10 
11 base_wf_number_2024 = 2024.0
12 offset_era = 0.1 # less than 10 eras
13 offset_pd = 0.001 # less than 100 pds
14 offset_events = 0.0001 # less than 10 event setups (50k,150k,250k,500k)
15 
16 for e_n,era in enumerate(eras_2024):
17  for p_n,pd in enumerate(pds_2024):
18  for e_key,evs in event_steps_dict.items():
19  if "10k" == e_key: # already defined in relval_standard
20  continue
21  wf_number = base_wf_number_2024
22  wf_number = wf_number + offset_era * e_n
23  wf_number = wf_number + offset_pd * p_n
24  wf_number = wf_number + offset_events * evs
25  wf_number = round(wf_number,6)
26  step_name = "Run" + pd + era.split("Run")[1] + "_" + e_key
27  workflows[wf_number] = ['',[step_name,'HLTDR3_2024','AODNANORUN3_reHLT_2024','HARVESTRUN3_2024']]
28 
29 
30 
portabletest::Matrix Matrix