CMS 3D CMS Logo

Functions
L1SubsystemParams_cfi Namespace Reference

Functions

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

Function Documentation

◆ initL1Subsystems()

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