CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
autoCondHLT.py
Go to the documentation of this file.
1 # https://cms-conddb.cern.ch/browser/#search
2 
3 l1Menus= {
4  'Fake' : 'L1GtTriggerMenu_L1Menu_Collisions2012_v3_mc',
5  'FULL' : 'L1Menu_Collisions2015_25nsStage1_v5',
6  'GRun' : 'L1Menu_Collisions2015_25nsStage1_v5',
7  '25ns14e33_v1' : 'L1Menu_Collisions2015_25ns_v2_L1T_Scales_20141121_Imp0_0x1030',
8  '25ns14e33_v3' : 'L1Menu_Collisions2015_25nsStage1_v4',
9  '25ns14e33_v4' : 'L1Menu_Collisions2015_25nsStage1_v5',
10  'HIon' : 'L1Menu_CollisionsHeavyIons2011_v0_nobsc_notau_centrality_q2_singletrack.v1',
11  'PIon' : 'L1Menu_Collisions2015_25nsStage1_v5',
12  '50nsGRun' : 'L1Menu_Collisions2015_50nsGct_v4',
13  '50ns_5e33_v1' : 'L1Menu_Collisions2015_50nsGct_v1_L1T_Scales_20141121_Imp0_0x1030',
14  '50ns_5e33_v3' : 'L1Menu_Collisions2015_50nsGct_v4',
15  'LowPU' : 'L1Menu_Collisions2015_lowPU_v4',
16  '25nsLowPU' : 'L1Menu_Collisions2015_lowPU_25nsStage1_v6',
17 }
18 
19 for key,val in l1Menus.iteritems():
20  l1Menus[key] = (val+',L1GtTriggerMenuRcd,frontier://FrontierProd/CMS_CONDITIONS',)
21 
22 hltGTs = {
23 
24 # 'symbolic GT' : ('base GT',[('payload1',payload2')])
25 
26  'run1_mc_Fake' : ('run1_mc' ,l1Menus['Fake']),
27  'run2_mc_FULL' : ('run2_mc' ,l1Menus['FULL']),
28  'run2_mc_GRun' : ('run2_mc' ,l1Menus['GRun']),
29  'run2_mc_25ns14e33_v1' : ('run2_mc' ,l1Menus['25ns14e33_v1']),
30  'run2_mc_25ns14e33_v3' : ('run2_mc' ,l1Menus['25ns14e33_v3']),
31  'run2_mc_25ns14e33_v4' : ('run2_mc' ,l1Menus['25ns14e33_v4']),
32  'run2_mc_HIon' : ('run2_mc_hi' ,l1Menus['HIon']),
33  'run2_mc_PIon' : ('run2_mc' ,l1Menus['PIon']),
34  'run2_mc_50nsGRun' : ('run2_mc_50ns' ,l1Menus['50nsGRun']),
35  'run2_mc_50ns_5e33_v1' : ('run2_mc_50ns' ,l1Menus['50ns_5e33_v1']),
36  'run2_mc_50ns_5e33_v3' : ('run2_mc_50ns' ,l1Menus['50ns_5e33_v3']),
37  'run2_mc_LowPU' : ('run2_mc_50ns' ,l1Menus['LowPU']),
38  'run2_mc_25nsLowPU' : ('run2_mc' ,l1Menus['25nsLowPU']),
39 
40  'run1_hlt_Fake' : ('run1_hlt' ,l1Menus['Fake']),
41  'run2_hlt_FULL' : ('run2_hlt' ,l1Menus['FULL']),
42  'run2_hlt_GRun' : ('run2_hlt' ,l1Menus['GRun']),
43  'run2_hlt_25ns14e33_v1' : ('run2_hlt' ,l1Menus['25ns14e33_v1']),
44  'run2_hlt_25ns14e33_v3' : ('run2_hlt' ,l1Menus['25ns14e33_v3']),
45  'run2_hlt_25ns14e33_v4' : ('run2_hlt' ,l1Menus['25ns14e33_v4']),
46  'run2_hlt_HIon' : ('run2_hlt' ,l1Menus['HIon']),
47  'run2_hlt_PIon' : ('run2_hlt' ,l1Menus['PIon']),
48  'run2_hlt_50nsGRun' : ('run2_hlt' ,l1Menus['50nsGRun']),
49  'run2_hlt_50ns_5e33_v1' : ('run2_hlt' ,l1Menus['50ns_5e33_v1']),
50  'run2_hlt_50ns_5e33_v3' : ('run2_hlt' ,l1Menus['50ns_5e33_v3']),
51  'run2_hlt_LowPU' : ('run2_hlt' ,l1Menus['LowPU']),
52  'run2_hlt_25nsLowPU' : ('run2_hlt' ,l1Menus['25nsLowPU']),
53 
54  'run1_data_Fake' : ('run1_data' ,l1Menus['Fake']),
55  'run2_data_FULL' : ('run2_data' ,l1Menus['FULL']),
56  'run2_data_GRun' : ('run2_data' ,l1Menus['GRun']),
57  'run2_data_25ns14e33_v1' : ('run2_data' ,l1Menus['25ns14e33_v1']),
58  'run2_data_25ns14e33_v3' : ('run2_data' ,l1Menus['25ns14e33_v3']),
59  'run2_data_25ns14e33_v4' : ('run2_data' ,l1Menus['25ns14e33_v4']),
60  'run2_data_HIon' : ('run2_data' ,l1Menus['HIon']),
61  'run2_data_PIon' : ('run2_data' ,l1Menus['PIon']),
62  'run2_data_50nsGRun' : ('run2_data' ,l1Menus['50nsGRun']),
63  'run2_data_50ns_5e33_v1' : ('run2_data' ,l1Menus['50ns_5e33_v1']),
64  'run2_data_50ns_5e33_v3' : ('run2_data' ,l1Menus['50ns_5e33_v3']),
65  'run2_data_LowPU' : ('run2_data' ,l1Menus['LowPU']),
66  'run2_data_25nsLowPU' : ('run2_data' ,l1Menus['25nsLowPU']),
67 
68 }
69 
70 def autoCondHLT(autoCond):
71  for key,val in hltGTs.iteritems():
72  if len(val)==1 :
73  autoCond[key] = ( autoCond[val[0]] )
74  else:
75  autoCond[key] = ( autoCond[val[0]],) + val[1]
76  return autoCond
def autoCondHLT
Definition: autoCondHLT.py:70