Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-07 04:35:49

0001 # import the definition of the steps and input files:
0002 from  Configuration.PyReleaseValidation.relval_steps import *
0003 
0004 # here only define the workflows as a combination of the steps defined above:
0005 workflows = Matrix()
0006 
0007 ## Here we define higher (>50k events) stats data workflows
0008 ## not to be run as default. 150k, 250k, 500k or 1M events each
0009 
0010 offset_era = 0.1 # less than 10 eras per year
0011 offset_pd = 0.001 # less than 100 pds per year
0012 offset_events = 0.0001 # less than 10 event setups (50k,150k,250k,500k)
0013 
0014 ## 2024
0015 base_wf_number_2024 = 2024.0
0016 for e_n,era in enumerate(eras_2024):
0017     for p_n,pd in enumerate(pds_2024):
0018         for e_key,evs in event_steps_dict.items():
0019             if "10k" == e_key: # already defined in relval_standard
0020                 continue   
0021             wf_number = base_wf_number_2024
0022             wf_number = wf_number + offset_era * e_n
0023             wf_number = wf_number + offset_pd * p_n
0024             wf_number = wf_number + offset_events * evs 
0025             wf_number = round(wf_number,6)
0026             step_name = "Run" + pd + era.split("Run")[1] + "_" + e_key
0027             workflows[wf_number] = ['',[step_name,'HLTDR3_2024','AODNANORUN3_reHLT_2024','HARVESTRUN3_2024']]
0028 
0029 ## 2023
0030 base_wf_number_2023 = 2023.0
0031 for e_n,era in enumerate(eras_2023):
0032     for p_n,pd in enumerate(pds_2023):
0033         for e_key,evs in event_steps_dict.items():
0034             if "10k" == e_key: # already defined in relval_standard
0035                 continue   
0036             wf_number = base_wf_number_2023
0037             wf_number = wf_number + offset_era * e_n
0038             wf_number = wf_number + offset_pd * p_n
0039             wf_number = wf_number + offset_events * evs 
0040             wf_number = round(wf_number,6)
0041             step_name = "Run" + pd + era.split("Run")[1] + "_" + e_key
0042             workflows[wf_number] = ['',[step_name,'HLTDR3_2023','AODNANORUN3_reHLT_2023','HARVESTRUN3_2023']]
0043 
0044 
0045 ## 2022
0046 base_wf_number_2022 = 2022.0
0047 for e_n,era in enumerate(eras_2022_1):
0048     for p_n,pd in enumerate(pds_2022_1):
0049         for e_key,evs in event_steps_dict.items():
0050             if "10k" == e_key: # already defined in relval_standard
0051                 continue   
0052             wf_number = base_wf_number_2022
0053             wf_number = wf_number + offset_era * e_n
0054             wf_number = wf_number + offset_pd * p_n
0055             wf_number = wf_number + offset_events * evs 
0056             wf_number = round(wf_number,6)
0057             step_name = "Run" + pd + era.split("Run")[1] + "_" + e_key
0058             workflows[wf_number] = ['',[step_name,'HLTDR3_2022','AODNANORUN3_reHLT_2022','HARVESTRUN3_2022']]
0059 
0060 for e_n,era in enumerate(eras_2022_2):
0061     for p_n,pd in enumerate(pds_2022_2):
0062         for e_key,evs in event_steps_dict.items():
0063             if "10k" == e_key: # already defined in relval_standard
0064                 continue   
0065             wf_number = base_wf_number_2022
0066             wf_number = wf_number + offset_era * (e_n + len(eras_2022_1))
0067             wf_number = wf_number + offset_pd * (p_n + len(pds_2022_1))
0068             wf_number = wf_number + offset_events * evs 
0069             wf_number = round(wf_number,6)
0070             step_name = "Run" + pd + era.split("Run")[1] + "_" + e_key
0071             workflows[wf_number] = ['',[step_name,'HLTDR3_2022','AODNANORUN3_reHLT_2022','HARVESTRUN3_2022']]
0072 
0073 
0074