CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/CondTools/L1Trigger/python/L1SubsystemParams30X_cfi.py

Go to the documentation of this file.
00001 def initL1Subsystems( tagBaseVec = [],
00002                       objectKey = 'dummy' ):
00003 
00004     import FWCore.ParameterSet.Config as cms
00005     from CondTools.L1Trigger.L1CondEnum_cfi import L1CondEnum
00006 
00007     if len( tagBaseVec ) == 0:
00008         from CondTools.L1Trigger.L1UniformTags_cfi import initL1UniformTags
00009         initL1UniformTags()
00010         tagBaseVec = initL1UniformTags.tagBaseVec
00011                                 
00012     initL1Subsystems.params = cms.PSet(
00013         recordInfo = cms.VPSet(
00014         cms.PSet(
00015             record = cms.string('L1JetEtScaleRcd'),
00016             tag = cms.string('L1JetEtScale_' + tagBaseVec[ L1CondEnum.L1JetEtScale ]),
00017             type = cms.string('L1CaloEtScale'),
00018             key = cms.string(objectKey)
00019         ), 
00020         cms.PSet(
00021             record = cms.string('L1EmEtScaleRcd'),
00022             tag = cms.string('L1EmEtScale_' + tagBaseVec[ L1CondEnum.L1EmEtScale ]),
00023             type = cms.string('L1CaloEtScale'),
00024             key = cms.string(objectKey)
00025         ), 
00026         cms.PSet(
00027             record = cms.string('L1MuTriggerScalesRcd'),
00028             tag = cms.string('L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
00029             type = cms.string('L1MuTriggerScales'),
00030             key = cms.string(objectKey)
00031         ), 
00032         cms.PSet(
00033             record = cms.string('L1MuTriggerPtScaleRcd'),
00034             tag = cms.string('L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
00035             type = cms.string('L1MuTriggerPtScale'),
00036             key = cms.string(objectKey)
00037         ), 
00038         cms.PSet(
00039             record = cms.string('L1MuGMTScalesRcd'),
00040             tag = cms.string('L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
00041             type = cms.string('L1MuGMTScales'),
00042             key = cms.string(objectKey)
00043         ), 
00044         cms.PSet(
00045             record = cms.string('L1MuCSCTFConfigurationRcd'),
00046             tag = cms.string('L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
00047             type = cms.string('L1MuCSCTFConfiguration'),
00048             key = cms.string(objectKey)
00049         ), 
00050         cms.PSet(
00051             record = cms.string('L1MuCSCTFAlignmentRcd'),
00052             tag = cms.string('L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
00053             type = cms.string('L1MuCSCTFAlignment'),
00054             key = cms.string(objectKey)
00055         ), 
00056         cms.PSet(
00057             record = cms.string('L1MuCSCPtLutRcd'),
00058             tag = cms.string('L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
00059             type = cms.string('L1MuCSCPtLut'),
00060             key = cms.string(objectKey)
00061         ), 
00062         cms.PSet(
00063             record = cms.string('L1MuDTEtaPatternLutRcd'),
00064             tag = cms.string('L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
00065             type = cms.string('L1MuDTEtaPatternLut'),
00066             key = cms.string(objectKey)
00067         ), 
00068         cms.PSet(
00069             record = cms.string('L1MuDTExtLutRcd'),
00070             tag = cms.string('L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
00071             type = cms.string('L1MuDTExtLut'),
00072             key = cms.string(objectKey)
00073         ), 
00074         cms.PSet(
00075             record = cms.string('L1MuDTPhiLutRcd'),
00076             tag = cms.string('L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
00077             type = cms.string('L1MuDTPhiLut'),
00078             key = cms.string(objectKey)
00079         ), 
00080         cms.PSet(
00081             record = cms.string('L1MuDTPtaLutRcd'),
00082             tag = cms.string('L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
00083             type = cms.string('L1MuDTPtaLut'),
00084             key = cms.string(objectKey)
00085         ), 
00086         cms.PSet(
00087             record = cms.string('L1MuDTQualPatternLutRcd'),
00088             tag = cms.string('L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
00089             type = cms.string('L1MuDTQualPatternLut'),
00090             key = cms.string(objectKey)
00091         ), 
00092         cms.PSet(
00093             record = cms.string('L1MuDTTFParametersRcd'),
00094             tag = cms.string('L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
00095             type = cms.string('L1MuDTTFParameters'),
00096             key = cms.string(objectKey)
00097         ), 
00098         cms.PSet(
00099             record = cms.string('L1RPCConfigRcd'),
00100             tag = cms.string('L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
00101             type = cms.string('L1RPCConfig'),
00102             key = cms.string(objectKey)
00103         ), 
00104         cms.PSet(
00105             record = cms.string('L1MuGMTParametersRcd'),
00106             tag = cms.string('L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
00107             type = cms.string('L1MuGMTParameters'),
00108             key = cms.string(objectKey)
00109         ), 
00110         cms.PSet(
00111             record = cms.string('L1MuGMTChannelMaskRcd'),
00112             tag = cms.string('L1MuGMTChannelMask_' + tagBaseVec[ L1CondEnum.L1MuGMTChannelMask ]),
00113             type = cms.string('L1MuGMTChannelMask'),
00114             key = cms.string(objectKey)
00115         ), 
00116         cms.PSet(
00117             record = cms.string('L1RCTParametersRcd'),
00118             tag = cms.string('L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
00119             type = cms.string('L1RCTParameters'),
00120             key = cms.string(objectKey)
00121         ), 
00122         cms.PSet(
00123             record = cms.string('L1RCTChannelMaskRcd'),
00124             tag = cms.string('L1RCTChannelMask_' + tagBaseVec[ L1CondEnum.L1RCTChannelMask ]),
00125             type = cms.string('L1RCTChannelMask'),
00126             key = cms.string(objectKey)
00127         ), 
00128         cms.PSet(
00129             record = cms.string('L1CaloEcalScaleRcd'),
00130             tag = cms.string('L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
00131             type = cms.string('L1CaloEcalScale'),
00132             key = cms.string(objectKey)
00133         ), 
00134         cms.PSet(
00135             record = cms.string('L1CaloHcalScaleRcd'),
00136             tag = cms.string('L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
00137             type = cms.string('L1CaloHcalScale'),
00138             key = cms.string(objectKey)
00139         ), 
00140         cms.PSet(
00141             record = cms.string('L1GctChannelMaskRcd'),
00142             tag = cms.string('L1GctChannelMask_' + tagBaseVec[ L1CondEnum.L1GctChannelMask ]),
00143             type = cms.string('L1GctChannelMask'),
00144             key = cms.string(objectKey)
00145         ), 
00146         cms.PSet(
00147             record = cms.string('L1GctHfLutSetupRcd'),
00148             tag = cms.string('L1GctHfLutSetup_' + tagBaseVec[ L1CondEnum.L1GctHfLutSetup ]),
00149             type = cms.string('L1GctHfLutSetup'),
00150             key = cms.string(objectKey)
00151         ), 
00152         cms.PSet(
00153             record = cms.string('L1GctJetFinderParamsRcd'),
00154             tag = cms.string('L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
00155             type = cms.string('L1GctJetFinderParams'),
00156             key = cms.string(objectKey)
00157         ), 
00158         cms.PSet(
00159             record = cms.string('L1GtBoardMapsRcd'),
00160             tag = cms.string('L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
00161             type = cms.string('L1GtBoardMaps'),
00162             key = cms.string(objectKey)
00163         ), 
00164         cms.PSet(
00165             record = cms.string('L1GtParametersRcd'),
00166             tag = cms.string('L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
00167             type = cms.string('L1GtParameters'),
00168             key = cms.string(objectKey)
00169         ), 
00170         cms.PSet(
00171             record = cms.string('L1GtPrescaleFactorsAlgoTrigRcd'),
00172             tag = cms.string('L1GtPrescaleFactorsAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsAlgoTrig ]),
00173             type = cms.string('L1GtPrescaleFactors'),
00174             key = cms.string(objectKey)
00175         ), 
00176         cms.PSet(
00177             record = cms.string('L1GtPrescaleFactorsTechTrigRcd'),
00178             tag = cms.string('L1GtPrescaleFactorsTechTrig_' + tagBaseVec[ L1CondEnum.L1GtPrescaleFactorsTechTrig ]),
00179             type = cms.string('L1GtPrescaleFactors'),
00180             key = cms.string(objectKey)
00181         ), 
00182         cms.PSet(
00183             record = cms.string('L1GtStableParametersRcd'),
00184             tag = cms.string('L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
00185             type = cms.string('L1GtStableParameters'),
00186             key = cms.string(objectKey)
00187         ), 
00188         cms.PSet(
00189             record = cms.string('L1GtTriggerMaskAlgoTrigRcd'),
00190             tag = cms.string('L1GtTriggerMaskAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskAlgoTrig ]),
00191             type = cms.string('L1GtTriggerMask'),
00192             key = cms.string(objectKey)
00193         ), 
00194         cms.PSet(
00195             record = cms.string('L1GtTriggerMaskTechTrigRcd'),
00196             tag = cms.string('L1GtTriggerMaskTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskTechTrig ]),
00197             type = cms.string('L1GtTriggerMask'),
00198             key = cms.string(objectKey)
00199         ), 
00200         cms.PSet(
00201             record = cms.string('L1GtTriggerMaskVetoAlgoTrigRcd'),
00202             tag = cms.string('L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
00203             type = cms.string('L1GtTriggerMask'),
00204             key = cms.string(objectKey)
00205         ), 
00206         cms.PSet(
00207             record = cms.string('L1GtTriggerMaskVetoTechTrigRcd'),
00208             tag = cms.string('L1GtTriggerMaskVetoTechTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoTechTrig ]),
00209             type = cms.string('L1GtTriggerMask'),
00210             key = cms.string(objectKey)
00211         ),
00212         cms.PSet(
00213             record = cms.string('L1GtTriggerMenuRcd'),
00214             tag = cms.string('L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
00215             type = cms.string('L1GtTriggerMenu'),
00216             key = cms.string(objectKey)
00217         ), 
00218         cms.PSet(
00219             record = cms.string('L1GtPsbSetupRcd'),
00220             tag = cms.string('L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
00221             type = cms.string('L1GtPsbSetup'),
00222             key = cms.string(objectKey)
00223         ), 
00224         cms.PSet(
00225             record = cms.string('L1CaloGeometryRecord'),
00226             tag = cms.string('L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
00227             type = cms.string('L1CaloGeometry'),
00228             key = cms.string(objectKey)
00229         ))
00230         )