File indexing completed on 2024-07-26 17:49:01
0001
0002
0003 connectionString = "frontier://FrontierProd/CMS_CONDITIONS"
0004
0005
0006 l1MenuRecord = "L1GtTriggerMenuRcd"
0007 l1MenuLabel = ""
0008
0009
0010 l1tMenuRecord = "L1TUtmTriggerMenuRcd"
0011 l1tMenuLabel = ""
0012
0013
0014
0015
0016
0017 l1Menus = {
0018 'Fake' : ( ','.join( [ 'L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc' , l1MenuRecord,connectionString, l1MenuLabel, "2015-10-26 12:00:00.000"] ), ),
0019 'Fake1' : ( ','.join( [ 'L1Menu_Collisions2015_25nsStage1_v5' , l1MenuRecord,connectionString, l1MenuLabel, "2015-10-26 12:00:00.000"] ), ),
0020 'Fake2' : ( ','.join( [ 'L1Menu_Collisions2016_v9_m2_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2016-10-06 19:36:53.000"] ), ),
0021 'FULL' : ( ','.join( [ 'L1Menu_Collisions2024_v1_3_0_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2024-07-03 09:00:00.000"] ), ),
0022 'GRun' : ( ','.join( [ 'L1Menu_Collisions2024_v1_3_0_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2024-07-03 09:00:00.000"] ), ),
0023 '2024v14' : ( ','.join( [ 'L1Menu_Collisions2024_v1_3_0_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2024-07-03 09:00:00.000"] ), ),
0024 'HIon' : ( ','.join( [ 'L1Menu_CollisionsHeavyIons2023_v1_1_5_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2023-10-24 16:59:55.000"] ), ),
0025 'PIon' : ( ','.join( [ 'L1Menu_HeavyIons2016_v3_m2_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2016-11-22 11:11:00.000"] ), ),
0026 'PRef' : ( ','.join( [ 'L1Menu_CollisionsPPRef2023_v1_1_2_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2023-09-21 19:00:00.000"] ), ),
0027 'Special' : ( ','.join( [ 'L1Menu_Collisions2024_v1_3_0_xml' ,l1tMenuRecord,connectionString,l1tMenuLabel, "2024-07-03 09:00:00.000"] ), ),
0028 }
0029
0030 hltGTs = {
0031
0032
0033
0034 'run1_mc_Fake' : ('run1_mc' ,l1Menus['Fake']),
0035 'run2_mc_Fake' : ('run2_mc' ,l1Menus['Fake']),
0036 'run2_mc_Fake1' : ('run2_mc_l1stage1' ,l1Menus['Fake1']),
0037 'run2_mc_Fake2' : ('run2_mc' ,l1Menus['Fake2']),
0038 'run3_mc_FULL' : ('phase1_2024_realistic' ,l1Menus['FULL']),
0039 'run3_mc_GRun' : ('phase1_2024_realistic' ,l1Menus['GRun']),
0040 'run3_mc_2024v14' : ('phase1_2024_realistic' ,l1Menus['2024v14']),
0041 'run3_mc_HIon' : ('phase1_2023_realistic_hi',l1Menus['HIon']),
0042 'run3_mc_PIon' : ('phase1_2024_realistic' ,l1Menus['PIon']),
0043 'run3_mc_PRef' : ('phase1_2024_realistic' ,l1Menus['PRef']),
0044 'run3_mc_Special' : ('phase1_2024_realistic' ,l1Menus['Special']),
0045
0046 'run1_hlt_Fake' : ('run2_hlt_relval' ,l1Menus['Fake']),
0047 'run2_hlt_Fake' : ('run2_hlt_relval' ,l1Menus['Fake']),
0048 'run2_hlt_Fake1' : ('run2_hlt_relval' ,l1Menus['Fake1']),
0049 'run2_hlt_Fake2' : ('run2_hlt_relval' ,l1Menus['Fake2']),
0050 'run3_hlt_FULL' : ('run3_hlt' ,l1Menus['FULL']),
0051 'run3_hlt_GRun' : ('run3_hlt' ,l1Menus['GRun']),
0052 'run3_hlt_2024v14' : ('run3_hlt' ,l1Menus['2024v14']),
0053 'run3_hlt_HIon' : ('run3_hlt' ,l1Menus['HIon']),
0054 'run3_hlt_PIon' : ('run3_hlt' ,l1Menus['PIon']),
0055 'run3_hlt_PRef' : ('run3_hlt' ,l1Menus['PRef']),
0056 'run3_hlt_Special' : ('run3_hlt' ,l1Menus['Special']),
0057
0058 'run1_data_Fake' : ('run2_data' ,l1Menus['Fake']),
0059 'run2_data_Fake' : ('run2_data' ,l1Menus['Fake']),
0060 'run2_data_Fake1' : ('run2_data' ,l1Menus['Fake1']),
0061 'run2_data_Fake2' : ('run2_data' ,l1Menus['Fake2']),
0062 'run3_data_FULL' : ('run3_data_prompt' ,l1Menus['FULL']),
0063 'run3_data_GRun' : ('run3_data_prompt' ,l1Menus['GRun']),
0064 'run3_data_2024v14' : ('run3_data_prompt' ,l1Menus['2024v14']),
0065 'run3_data_HIon' : ('run3_data_prompt' ,l1Menus['HIon']),
0066 'run3_data_PIon' : ('run3_data_prompt' ,l1Menus['PIon']),
0067 'run3_data_PRef' : ('run3_data_prompt' ,l1Menus['PRef']),
0068 'run3_data_Special' : ('run3_data_prompt' ,l1Menus['Special']),
0069
0070 }
0071
0072 def autoCondHLT(autoCond):
0073 for key,val in hltGTs.items():
0074 if len(val)==1 :
0075 autoCond[key] = ( autoCond[val[0]] )
0076 else:
0077 autoCond[key] = ( autoCond[val[0]],) + val[1]
0078
0079 return autoCond