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_50ns_v0_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_50nsGct_v1_L1T_Scales_20141121_Imp0_0x1030.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_CollisionsHeavyIons2011_v0_nobsc_notau_centrality_q2_singletrack.v1.xml'
74 
75  process.load( 'L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMenuConfig_cff' )
76  process.es_prefer_l1GtParameters = cms.ESPrefer( 'L1GtTriggerMenuXmlProducer','l1GtTriggerMenuXml' )
77 
78  return process
79