CMS 3D CMS Logo

Functions

L1SubsystemParams30X_cfi Namespace Reference

Functions

def initL1Subsystems

Function Documentation

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

Definition at line 1 of file L1SubsystemParams30X_cfi.py.

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