CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
L1SubsystemParams_cfi Namespace Reference

Functions

def initL1Subsystems
 

Function Documentation

def L1SubsystemParams_cfi.initL1Subsystems (   tagBaseVec = [],
  objectKey = 'dummy' 
)

Definition at line 2 of file L1SubsystemParams_cfi.py.

References L1RSSubsystemParams_cfi.initL1RSSubsystems(), and L1UniformTags_cfi.initL1UniformTags().

2 
3  objectKey = 'dummy' ):
4 
5  import FWCore.ParameterSet.Config as cms
6  from CondTools.L1Trigger.L1CondEnum_cfi import L1CondEnum
7 
8  if len( tagBaseVec ) == 0:
9  from CondTools.L1Trigger.L1UniformTags_cfi import initL1UniformTags
11  tagBaseVec = initL1UniformTags.tagBaseVec
12 
13  initL1Subsystems.params = cms.PSet(
14  recordInfo = cms.VPSet(
15  cms.PSet(
16  record = cms.string('L1JetEtScaleRcd'),
17  tag = cms.string('L1JetEtScale_' + tagBaseVec[ L1CondEnum.L1JetEtScale ]),
18  type = cms.string('L1CaloEtScale'),
19  key = cms.string(objectKey)
20  ),
21  cms.PSet(
22  record = cms.string('L1EmEtScaleRcd'),
23  tag = cms.string('L1EmEtScale_' + tagBaseVec[ L1CondEnum.L1EmEtScale ]),
24  type = cms.string('L1CaloEtScale'),
25  key = cms.string(objectKey)
26  ),
27  cms.PSet(
28  record = cms.string('L1HtMissScaleRcd'),
29  tag = cms.string('L1HtMissScale_' + tagBaseVec[ L1CondEnum.L1HtMissScale ]),
30  type = cms.string('L1CaloEtScale'),
31  key = cms.string(objectKey)
32  ),
33  cms.PSet(
34  record = cms.string('L1HfRingEtScaleRcd'),
35  tag = cms.string('L1HfRingEtScale_' + tagBaseVec[ L1CondEnum.L1HfRingEtScale ]),
36  type = cms.string('L1CaloEtScale'),
37  key = cms.string(objectKey)
38  ),
39  cms.PSet(
40  record = cms.string('L1MuTriggerScalesRcd'),
41  tag = cms.string('L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
42  type = cms.string('L1MuTriggerScales'),
43  key = cms.string(objectKey)
44  ),
45  cms.PSet(
46  record = cms.string('L1MuTriggerPtScaleRcd'),
47  tag = cms.string('L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
48  type = cms.string('L1MuTriggerPtScale'),
49  key = cms.string(objectKey)
50  ),
51  cms.PSet(
52  record = cms.string('L1MuGMTScalesRcd'),
53  tag = cms.string('L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
54  type = cms.string('L1MuGMTScales'),
55  key = cms.string(objectKey)
56  ),
57  cms.PSet(
58  record = cms.string('L1MuCSCTFConfigurationRcd'),
59  tag = cms.string('L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
60  type = cms.string('L1MuCSCTFConfiguration'),
61  key = cms.string(objectKey)
62  ),
63  cms.PSet(
64  record = cms.string('L1MuCSCTFAlignmentRcd'),
65  tag = cms.string('L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
66  type = cms.string('L1MuCSCTFAlignment'),
67  key = cms.string(objectKey)
68  ),
69  cms.PSet(
70  record = cms.string('L1MuCSCPtLutRcd'),
71  tag = cms.string('L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
72  type = cms.string('L1MuCSCPtLut'),
73  key = cms.string(objectKey)
74  ),
75  cms.PSet(
76  record = cms.string('L1MuDTEtaPatternLutRcd'),
77  tag = cms.string('L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
78  type = cms.string('L1MuDTEtaPatternLut'),
79  key = cms.string(objectKey)
80  ),
81  cms.PSet(
82  record = cms.string('L1MuDTExtLutRcd'),
83  tag = cms.string('L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
84  type = cms.string('L1MuDTExtLut'),
85  key = cms.string(objectKey)
86  ),
87  cms.PSet(
88  record = cms.string('L1MuDTPhiLutRcd'),
89  tag = cms.string('L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
90  type = cms.string('L1MuDTPhiLut'),
91  key = cms.string(objectKey)
92  ),
93  cms.PSet(
94  record = cms.string('L1MuDTPtaLutRcd'),
95  tag = cms.string('L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
96  type = cms.string('L1MuDTPtaLut'),
97  key = cms.string(objectKey)
98  ),
99  cms.PSet(
100  record = cms.string('L1MuDTQualPatternLutRcd'),
101  tag = cms.string('L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
102  type = cms.string('L1MuDTQualPatternLut'),
103  key = cms.string(objectKey)
104  ),
105  cms.PSet(
106  record = cms.string('L1MuDTTFParametersRcd'),
107  tag = cms.string('L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
108  type = cms.string('L1MuDTTFParameters'),
109  key = cms.string(objectKey)
110  ),
111  cms.PSet(
112  record = cms.string('L1RPCConfigRcd'),
113  tag = cms.string('L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
114  type = cms.string('L1RPCConfig'),
115  key = cms.string(objectKey)
116  ),
117  cms.PSet(
118  record = cms.string('L1RPCConeDefinitionRcd'),
119  tag = cms.string('L1RPCConeDefinition_' + tagBaseVec[ L1CondEnum.L1RPCConeDefinition ]),
120  type = cms.string('L1RPCConeDefinition'),
121  key = cms.string(objectKey)
122  ),
123  cms.PSet(
124  record = cms.string('L1RPCHsbConfigRcd'),
125  tag = cms.string('L1RPCHsbConfig_' + tagBaseVec[ L1CondEnum.L1RPCHsbConfig ]),
126  type = cms.string('L1RPCHsbConfig'),
127  key = cms.string(objectKey)
128  ),
129  cms.PSet(
130  record = cms.string('L1RPCBxOrConfigRcd'),
131  tag = cms.string('L1RPCBxOrConfig_' + tagBaseVec[ L1CondEnum.L1RPCBxOrConfig ]),
132  type = cms.string('L1RPCBxOrConfig'),
133  key = cms.string(objectKey)
134  ),
135  cms.PSet(
136  record = cms.string('L1MuGMTParametersRcd'),
137  tag = cms.string('L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
138  type = cms.string('L1MuGMTParameters'),
139  key = cms.string(objectKey)
140  ),
141  cms.PSet(
142  record = cms.string('L1RCTParametersRcd'),
143  tag = cms.string('L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
144  type = cms.string('L1RCTParameters'),
145  key = cms.string(objectKey)
146  ),
147  cms.PSet(
148  record = cms.string('L1CaloEcalScaleRcd'),
149  tag = cms.string('L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
150  type = cms.string('L1CaloEcalScale'),
151  key = cms.string(objectKey)
152  ),
153  cms.PSet(
154  record = cms.string('L1CaloHcalScaleRcd'),
155  tag = cms.string('L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
156  type = cms.string('L1CaloHcalScale'),
157  key = cms.string(objectKey)
158  ),
159  cms.PSet(
160  record = cms.string('L1GctJetFinderParamsRcd'),
161  tag = cms.string('L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
162  type = cms.string('L1GctJetFinderParams'),
163  key = cms.string(objectKey)
164  ),
165  cms.PSet(
166  record = cms.string('L1GtBoardMapsRcd'),
167  tag = cms.string('L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
168  type = cms.string('L1GtBoardMaps'),
169  key = cms.string(objectKey)
170  ),
171  cms.PSet(
172  record = cms.string('L1GtParametersRcd'),
173  tag = cms.string('L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
174  type = cms.string('L1GtParameters'),
175  key = cms.string(objectKey)
176  ),
177  cms.PSet(
178  record = cms.string('L1GtStableParametersRcd'),
179  tag = cms.string('L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
180  type = cms.string('L1GtStableParameters'),
181  key = cms.string(objectKey)
182  ),
183  cms.PSet(
184  record = cms.string('L1GtTriggerMaskVetoAlgoTrigRcd'),
185  tag = cms.string('L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
186  type = cms.string('L1GtTriggerMask'),
187  key = cms.string(objectKey)
188  ),
189  cms.PSet(
190  record = cms.string('L1GtTriggerMenuRcd'),
191  tag = cms.string('L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
192  type = cms.string('L1GtTriggerMenu'),
193  key = cms.string(objectKey)
194  ),
195  cms.PSet(
196  record = cms.string('L1GtPsbSetupRcd'),
197  tag = cms.string('L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
198  type = cms.string('L1GtPsbSetup'),
199  key = cms.string(objectKey)
200  ),
201  cms.PSet(
202  record = cms.string('L1CaloGeometryRecord'),
203  tag = cms.string('L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
204  type = cms.string('L1CaloGeometry'),
205  key = cms.string(objectKey)
206  ))
207  )
208 
209  from CondTools.L1Trigger.L1RSSubsystemParams_cfi import initL1RSSubsystems
210  initL1RSSubsystems( tagBaseVec,
211  objectKey,
212  objectKey,
213  objectKey,
214  objectKey,
215  objectKey,
216  objectKey,
217  objectKey,
218  objectKey,
219  objectKey )
220  initL1Subsystems.params.recordInfo.extend(initL1RSSubsystems.params.recordInfo)