CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
customise_overwriteL1Menu.py
Go to the documentation of this file.
1 #
2 # replace the L1 menu from the global tag with another menu
3 # see options in L1Trigger_custom.py
4 #
5 # V.M. Ghete 2010-06-09
6 
7 import FWCore.ParameterSet.Config as cms
8 
9 def customise(process):
10  from L1Trigger.Configuration.L1Trigger_custom import customiseL1Menu
11  process = customiseL1Menu(process)
12  return process
13 
14 
16  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
17  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
18  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_25ns_v0_L1T_Scales_20101224_Imp0_0x102f.xml'
19 
20  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
21  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
22 
23  return process
24 
25 
27  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
28  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
29  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_25ns_v1_L1T_Scales_20101224_Imp0_0x102f.xml'
30 
31  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
32  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
33 
34  return process
35 
36 
38  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
39  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
40  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_25ns_v2_L1T_Scales_20141121_Imp0_0x1030.xml'
41 
42  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
43  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
44 
45  return process
46 
47 
49  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
50  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
51  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_25nsStage1_v3_L1T_Scales_20141121_Imp0_0x1031.xml'
52 
53  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
54  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
55 
56  return process
57 
58 
60  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
61  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
62  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_50ns_v0_L1T_Scales_20141121_Imp0_0x1031.xml'
63 
64  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
65  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
66 
67  return process
68 
69 
71  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
72  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
73  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_50nsGct_v1_L1T_Scales_20141121_Imp0_0x1030.xml'
74 
75  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
76  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
77 
78  return process
79 
80 
82  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
83  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
84  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_50nsGct_v2_L1T_Scales_20141121.xml'
85 
86  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
87  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
88 
89  return process
90 
91 
93  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
94  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
95  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_50nsGct_v3_L1T_Scales_20141121.xml'
96 
97  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
98  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
99 
100  return process
101 
102 
104  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
105  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
106  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_50nsGct_v4_L1T_Scales_20141121.xml'
107 
108  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
109  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
110 
111  return process
112 
113 
115  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
116  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
117  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_lowPU_v1_L1T_Scales_20141121.xml'
118 
119  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
120  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
121 
122  return process
123 
124 
126  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
127  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
128  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_lowPU_v2_L1T_Scales_20141121.xml'
129 
130  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
131  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
132 
133  return process
134 
135 
137  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
138  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
139  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_lowPU_v3_L1T_Scales_20141121.xml'
140 
141  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
142  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
143 
144  return process
145 
146 
148  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
149  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
150  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_Collisions2015_lowPU_v4_L1T_Scales_20141121.xml'
151 
152  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
153  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer', 'l1GtTriggerMenuXml' )
154 
155  return process
156 
157 
159  process.load( 'L1TriggerConfig.L1GtConfigProducers.l1GtTriggerMenuXml_cfi' )
160  process.l1GtTriggerMenuXml.TriggerMenuLuminosity = 'startup'
161  process.l1GtTriggerMenuXml.DefXmlFile = 'L1Menu_CollisionsHeavyIons2011_v0_nobsc_notau_centrality_q2_singletrack.v1.xml'
162 
163  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
164  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer','l1GtTriggerMenuXml' )
165 
166  return process
167