Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-09-18 22:46:44

0001 # https://cms-conddb.cern.ch/browser/#search
0002 # default value for all L1T menus
0003 connectionString = "frontier://FrontierProd/CMS_CONDITIONS"
0004 
0005 # L1T legacy (Fake) / stage-1 (Fake1)
0006 l1MenuRecord = "L1GtTriggerMenuRcd"
0007 l1MenuLabel = ""
0008 
0009 # L1T stage-2
0010 l1tMenuRecord = "L1TUtmTriggerMenuRcd"
0011 l1tMenuLabel = ""
0012 
0013 #The snapshot time has been set as starting point as the one of PR 12095.
0014 #Next time you change the customisations, change also the snapshot time in the affected tuple,
0015 #and leave unchanged the snapshot times for the other tuples.
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_Collisions2022_v1_3_0-d1_xml'                     ,l1tMenuRecord,connectionString,l1tMenuLabel, "2022-08-01 08:47:17.000"] ), ),
0022     'GRun'         : ( ','.join( [ 'L1Menu_Collisions2022_v1_3_0-d1_xml'                     ,l1tMenuRecord,connectionString,l1tMenuLabel, "2022-08-01 08:47:17.000"] ), ),
0023     '2022v14'      : ( ','.join( [ 'L1Menu_Collisions2022_v1_3_0-d1_xml'                     ,l1tMenuRecord,connectionString,l1tMenuLabel, "2022-08-01 08:47:17.000"] ), ),
0024     'HIon'         : ( ','.join( [ 'L1Menu_CollisionsHeavyIons2018_v4_2_0-d1_xml'            ,l1tMenuRecord,connectionString,l1tMenuLabel, "2018-11-21 14:35:33.000"] ), ),
0025     'PIon'         : ( ','.join( [ 'L1Menu_HeavyIons2016_v3_m2_xml'                          ,l1tMenuRecord,connectionString,l1tMenuLabel, "2016-11-22 11:11:00.000"] ), ),
0026     'PRef'         : ( ','.join( [ 'L1Menu_pp502Collisions2017_v4_m6_xml'                    ,l1tMenuRecord,connectionString,l1tMenuLabel, "2017-11-03 18:00:00.000"] ), ),
0027 }
0028 
0029 hltGTs = {
0030 
0031 #   'symbolic GT'            : ('base GT',[('payload1',payload2')])
0032 
0033     'run1_mc_Fake'           : ('run1_mc'                 ,l1Menus['Fake']),
0034     'run2_mc_Fake'           : ('run2_mc'                 ,l1Menus['Fake']),
0035     'run2_mc_Fake1'          : ('run2_mc_l1stage1'        ,l1Menus['Fake1']),
0036     'run2_mc_Fake2'          : ('run2_mc'                 ,l1Menus['Fake2']),
0037     'run3_mc_FULL'           : ('phase1_2022_realistic'   ,l1Menus['FULL']),
0038     'run3_mc_GRun'           : ('phase1_2022_realistic'   ,l1Menus['GRun']),
0039     'run3_mc_2022v14'        : ('phase1_2022_realistic'   ,l1Menus['2022v14']),
0040     'run3_mc_HIon'           : ('phase1_2022_realistic_hi',l1Menus['HIon']),
0041     'run3_mc_PIon'           : ('phase1_2022_realistic'   ,l1Menus['PIon']),
0042     'run3_mc_PRef'           : ('phase1_2022_realistic'   ,l1Menus['PRef']),
0043 
0044     'run1_hlt_Fake'          : ('run1_hlt_relval'         ,l1Menus['Fake']),
0045     'run2_hlt_Fake'          : ('run2_hlt_relval'         ,l1Menus['Fake']),
0046     'run2_hlt_Fake1'         : ('run2_hlt_relval'         ,l1Menus['Fake1']),
0047     'run2_hlt_Fake2'         : ('run2_hlt_relval'         ,l1Menus['Fake2']),
0048     'run3_hlt_FULL'          : ('run3_hlt_relval'         ,l1Menus['FULL']),
0049     'run3_hlt_GRun'          : ('run3_hlt_relval'         ,l1Menus['GRun']),
0050     'run3_hlt_2022v14'       : ('run3_hlt_relval'         ,l1Menus['2022v14']),
0051     'run3_hlt_HIon'          : ('run3_hlt_relval'         ,l1Menus['HIon']),
0052     'run3_hlt_PIon'          : ('run3_hlt_relval'         ,l1Menus['PIon']),
0053     'run3_hlt_PRef'          : ('run3_hlt_relval'         ,l1Menus['PRef']),
0054 
0055     'run1_data_Fake'         : ('run1_data'               ,l1Menus['Fake']),
0056     'run2_data_Fake'         : ('run2_data_relval'        ,l1Menus['Fake']),
0057     'run2_data_Fake1'        : ('run2_data_relval'        ,l1Menus['Fake1']),
0058     'run2_data_Fake2'        : ('run2_data_relval'        ,l1Menus['Fake2']),
0059     'run3_data_FULL'         : ('run3_data_relval'        ,l1Menus['FULL']),
0060     'run3_data_GRun'         : ('run3_data_relval'        ,l1Menus['GRun']),
0061     'run3_data_2022v14'      : ('run3_data_relval'        ,l1Menus['2022v14']),
0062     'run3_data_HIon'         : ('run3_data_relval'        ,l1Menus['HIon']),
0063     'run3_data_PIon'         : ('run3_data_relval'        ,l1Menus['PIon']),
0064     'run3_data_PRef'         : ('run3_data_relval'        ,l1Menus['PRef']),
0065 
0066 }
0067 
0068 def autoCondHLT(autoCond):
0069     for key,val in hltGTs.items():
0070         if len(val)==1 :
0071            autoCond[key] = ( autoCond[val[0]] )
0072         else:
0073            autoCond[key] = ( autoCond[val[0]],) + val[1]
0074 
0075     return autoCond