Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:17

0001 def initL1Subsystems( tagBaseVec = [],
0002                       objectKey = 'dummy' ):
0003 
0004     import FWCore.ParameterSet.Config as cms
0005     from CondTools.L1Trigger.L1CondEnum_cfi import L1CondEnum
0006 
0007     if len( tagBaseVec ) == 0:
0008         from CondTools.L1Trigger.L1UniformTags_cfi import initL1UniformTags
0009         initL1UniformTags()
0010         tagBaseVec = initL1UniformTags.tagBaseVec
0011                                 
0012     initL1Subsystems.params = cms.PSet(
0013         recordInfo = cms.VPSet(
0014         cms.PSet(
0015             record = cms.string('L1JetEtScaleRcd'),
0016             tag = cms.string('L1JetEtScale_' + tagBaseVec[ L1CondEnum.L1JetEtScale ]),
0017             type = cms.string('L1CaloEtScale'),
0018             key = cms.string(objectKey)
0019         ), 
0020         cms.PSet(
0021             record = cms.string('L1EmEtScaleRcd'),
0022             tag = cms.string('L1EmEtScale_' + tagBaseVec[ L1CondEnum.L1EmEtScale ]),
0023             type = cms.string('L1CaloEtScale'),
0024             key = cms.string(objectKey)
0025         ), 
0026         cms.PSet(
0027             record = cms.string('L1MuTriggerScalesRcd'),
0028             tag = cms.string('L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
0029             type = cms.string('L1MuTriggerScales'),
0030             key = cms.string(objectKey)
0031         ), 
0032         cms.PSet(
0033             record = cms.string('L1MuTriggerPtScaleRcd'),
0034             tag = cms.string('L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
0035             type = cms.string('L1MuTriggerPtScale'),
0036             key = cms.string(objectKey)
0037         ), 
0038         cms.PSet(
0039             record = cms.string('L1MuGMTScalesRcd'),
0040             tag = cms.string('L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
0041             type = cms.string('L1MuGMTScales'),
0042             key = cms.string(objectKey)
0043         ), 
0044         cms.PSet(
0045             record = cms.string('L1MuCSCTFConfigurationRcd'),
0046             tag = cms.string('L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
0047             type = cms.string('L1MuCSCTFConfiguration'),
0048             key = cms.string(objectKey)
0049         ), 
0050         cms.PSet(
0051             record = cms.string('L1MuCSCTFAlignmentRcd'),
0052             tag = cms.string('L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
0053             type = cms.string('L1MuCSCTFAlignment'),
0054             key = cms.string(objectKey)
0055         ), 
0056         cms.PSet(
0057             record = cms.string('L1MuCSCPtLutRcd'),
0058             tag = cms.string('L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
0059             type = cms.string('L1MuCSCPtLut'),
0060             key = cms.string(objectKey)
0061         ), 
0062         cms.PSet(
0063             record = cms.string('L1MuDTEtaPatternLutRcd'),
0064             tag = cms.string('L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
0065             type = cms.string('L1MuDTEtaPatternLut'),
0066             key = cms.string(objectKey)
0067         ), 
0068         cms.PSet(
0069             record = cms.string('L1MuDTExtLutRcd'),
0070             tag = cms.string('L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
0071             type = cms.string('L1MuDTExtLut'),
0072             key = cms.string(objectKey)
0073         ), 
0074         cms.PSet(
0075             record = cms.string('L1MuDTPhiLutRcd'),
0076             tag = cms.string('L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
0077             type = cms.string('L1MuDTPhiLut'),
0078             key = cms.string(objectKey)
0079         ), 
0080         cms.PSet(
0081             record = cms.string('L1MuDTPtaLutRcd'),
0082             tag = cms.string('L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
0083             type = cms.string('L1MuDTPtaLut'),
0084             key = cms.string(objectKey)
0085         ), 
0086         cms.PSet(
0087             record = cms.string('L1MuDTQualPatternLutRcd'),
0088             tag = cms.string('L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
0089             type = cms.string('L1MuDTQualPatternLut'),
0090             key = cms.string(objectKey)
0091         ), 
0092         cms.PSet(
0093             record = cms.string('L1MuDTTFParametersRcd'),
0094             tag = cms.string('L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
0095             type = cms.string('L1MuDTTFParameters'),
0096             key = cms.string(objectKey)
0097         ), 
0098         cms.PSet(
0099             record = cms.string('L1RPCConfigRcd'),
0100             tag = cms.string('L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
0101             type = cms.string('L1RPCConfig'),
0102             key = cms.string(objectKey)
0103         ), 
0104         cms.PSet(
0105             record = cms.string('L1MuGMTParametersRcd'),
0106             tag = cms.string('L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
0107             type = cms.string('L1MuGMTParameters'),
0108             key = cms.string(objectKey)
0109         ), 
0110         cms.PSet(
0111             record = cms.string('L1MuGMTChannelMaskRcd'),
0112             tag = cms.string('L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
0113             type = cms.string('L1MuGMTChannelMask'),
0114             key = cms.string(objectKey)
0115         ), 
0116         cms.PSet(
0117             record = cms.string('L1RCTParametersRcd'),
0118             tag = cms.string('L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
0119             type = cms.string('L1RCTParameters'),
0120             key = cms.string(objectKey)
0121         ), 
0122         cms.PSet(
0123             record = cms.string('L1RCTChannelMaskRcd'),
0124             tag = cms.string('L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
0125             type = cms.string('L1RCTChannelMask'),
0126             key = cms.string(objectKey)
0127         ), 
0128         cms.PSet(
0129             record = cms.string('L1CaloEcalScaleRcd'),
0130             tag = cms.string('L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
0131             type = cms.string('L1CaloEcalScale'),
0132             key = cms.string(objectKey)
0133         ), 
0134         cms.PSet(
0135             record = cms.string('L1CaloHcalScaleRcd'),
0136             tag = cms.string('L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
0137             type = cms.string('L1CaloHcalScale'),
0138             key = cms.string(objectKey)
0139         ), 
0140         cms.PSet(
0141             record = cms.string('L1GctChannelMaskRcd'),
0142             tag = cms.string('L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
0143             type = cms.string('L1GctChannelMask'),
0144             key = cms.string(objectKey)
0145         ), 
0146         cms.PSet(
0147             record = cms.string('L1GctHfLutSetupRcd'),
0148             tag = cms.string('L1GctHfLutSetup_' + tagBaseVec[ L1CondEnum.L1GctHfLutSetup ]),
0149             type = cms.string('L1GctHfLutSetup'),
0150             key = cms.string(objectKey)
0151         ), 
0152         cms.PSet(
0153             record = cms.string('L1GctJetFinderParamsRcd'),
0154             tag = cms.string('L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
0155             type = cms.string('L1GctJetFinderParams'),
0156             key = cms.string(objectKey)
0157         ), 
0158         cms.PSet(
0159             record = cms.string('L1GtBoardMapsRcd'),
0160             tag = cms.string('L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
0161             type = cms.string('L1GtBoardMaps'),
0162             key = cms.string(objectKey)
0163         ), 
0164         cms.PSet(
0165             record = cms.string('L1GtParametersRcd'),
0166             tag = cms.string('L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
0167             type = cms.string('L1GtParameters'),
0168             key = cms.string(objectKey)
0169         ), 
0170         cms.PSet(
0171             record = cms.string('L1GtPrescaleFactorsAlgoTrigRcd'),
0172             tag = cms.string('L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
0173             type = cms.string('L1GtPrescaleFactors'),
0174             key = cms.string(objectKey)
0175         ), 
0176         cms.PSet(
0177             record = cms.string('L1GtPrescaleFactorsTechTrigRcd'),
0178             tag = cms.string('L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
0179             type = cms.string('L1GtPrescaleFactors'),
0180             key = cms.string(objectKey)
0181         ), 
0182         cms.PSet(
0183             record = cms.string('L1GtStableParametersRcd'),
0184             tag = cms.string('L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
0185             type = cms.string('L1GtStableParameters'),
0186             key = cms.string(objectKey)
0187         ), 
0188         cms.PSet(
0189             record = cms.string('L1GtTriggerMaskAlgoTrigRcd'),
0190             tag = cms.string('L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
0191             type = cms.string('L1GtTriggerMask'),
0192             key = cms.string(objectKey)
0193         ), 
0194         cms.PSet(
0195             record = cms.string('L1GtTriggerMaskTechTrigRcd'),
0196             tag = cms.string('L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
0197             type = cms.string('L1GtTriggerMask'),
0198             key = cms.string(objectKey)
0199         ), 
0200         cms.PSet(
0201             record = cms.string('L1GtTriggerMaskVetoAlgoTrigRcd'),
0202             tag = cms.string('L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
0203             type = cms.string('L1GtTriggerMask'),
0204             key = cms.string(objectKey)
0205         ), 
0206         cms.PSet(
0207             record = cms.string('L1GtTriggerMaskVetoTechTrigRcd'),
0208             tag = cms.string('L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
0209             type = cms.string('L1GtTriggerMask'),
0210             key = cms.string(objectKey)
0211         ),
0212         cms.PSet(
0213             record = cms.string('L1GtTriggerMenuRcd'),
0214             tag = cms.string('L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
0215             type = cms.string('L1GtTriggerMenu'),
0216             key = cms.string(objectKey)
0217         ), 
0218         cms.PSet(
0219             record = cms.string('L1GtPsbSetupRcd'),
0220             tag = cms.string('L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
0221             type = cms.string('L1GtPsbSetup'),
0222             key = cms.string(objectKey)
0223         ), 
0224         cms.PSet(
0225             record = cms.string('L1CaloGeometryRecord'),
0226             tag = cms.string('L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
0227             type = cms.string('L1CaloGeometry'),
0228             key = cms.string(objectKey)
0229         ))
0230         )