CMS 3D CMS Logo

Functions

L1SubsystemParams_cfi Namespace Reference

Functions

def initL1Subsystems

Function Documentation

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

Definition at line 1 of file L1SubsystemParams_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('L1HtMissScaleRcd'),
00029             tag = cms.string('L1HtMissScale_' + tagBaseVec[ L1CondEnum.L1HtMissScale ]),
00030             type = cms.string('L1CaloEtScale'),
00031             key = cms.string(objectKey)
00032         ), 
00033         cms.PSet(
00034             record = cms.string('L1HfRingEtScaleRcd'),
00035             tag = cms.string('L1HfRingEtScale_' + tagBaseVec[ L1CondEnum.L1HfRingEtScale ]),
00036             type = cms.string('L1CaloEtScale'),
00037             key = cms.string(objectKey)
00038         ), 
00039         cms.PSet(
00040             record = cms.string('L1MuTriggerScalesRcd'),
00041             tag = cms.string('L1MuTriggerScales_' + tagBaseVec[ L1CondEnum.L1MuTriggerScales ]),
00042             type = cms.string('L1MuTriggerScales'),
00043             key = cms.string(objectKey)
00044         ), 
00045         cms.PSet(
00046             record = cms.string('L1MuTriggerPtScaleRcd'),
00047             tag = cms.string('L1MuTriggerPtScale_' + tagBaseVec[ L1CondEnum.L1MuTriggerPtScale ]),
00048             type = cms.string('L1MuTriggerPtScale'),
00049             key = cms.string(objectKey)
00050         ), 
00051         cms.PSet(
00052             record = cms.string('L1MuGMTScalesRcd'),
00053             tag = cms.string('L1MuGMTScales_' + tagBaseVec[ L1CondEnum.L1MuGMTScales ]),
00054             type = cms.string('L1MuGMTScales'),
00055             key = cms.string(objectKey)
00056         ), 
00057         cms.PSet(
00058             record = cms.string('L1MuCSCTFConfigurationRcd'),
00059             tag = cms.string('L1MuCSCTFConfiguration_' + tagBaseVec[ L1CondEnum.L1MuCSCTFConfiguration ]),
00060             type = cms.string('L1MuCSCTFConfiguration'),
00061             key = cms.string(objectKey)
00062         ), 
00063         cms.PSet(
00064             record = cms.string('L1MuCSCTFAlignmentRcd'),
00065             tag = cms.string('L1MuCSCTFAlignment_' + tagBaseVec[ L1CondEnum.L1MuCSCTFAlignment ]),
00066             type = cms.string('L1MuCSCTFAlignment'),
00067             key = cms.string(objectKey)
00068         ), 
00069         cms.PSet(
00070             record = cms.string('L1MuCSCPtLutRcd'),
00071             tag = cms.string('L1MuCSCPtLut_' + tagBaseVec[ L1CondEnum.L1MuCSCPtLut ]),
00072             type = cms.string('L1MuCSCPtLut'),
00073             key = cms.string(objectKey)
00074         ), 
00075         cms.PSet(
00076             record = cms.string('L1MuDTEtaPatternLutRcd'),
00077             tag = cms.string('L1MuDTEtaPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTEtaPatternLut ]),
00078             type = cms.string('L1MuDTEtaPatternLut'),
00079             key = cms.string(objectKey)
00080         ), 
00081         cms.PSet(
00082             record = cms.string('L1MuDTExtLutRcd'),
00083             tag = cms.string('L1MuDTExtLut_' + tagBaseVec[ L1CondEnum.L1MuDTExtLut ]),
00084             type = cms.string('L1MuDTExtLut'),
00085             key = cms.string(objectKey)
00086         ), 
00087         cms.PSet(
00088             record = cms.string('L1MuDTPhiLutRcd'),
00089             tag = cms.string('L1MuDTPhiLut_' + tagBaseVec[ L1CondEnum.L1MuDTPhiLut ]),
00090             type = cms.string('L1MuDTPhiLut'),
00091             key = cms.string(objectKey)
00092         ), 
00093         cms.PSet(
00094             record = cms.string('L1MuDTPtaLutRcd'),
00095             tag = cms.string('L1MuDTPtaLut_' + tagBaseVec[ L1CondEnum.L1MuDTPtaLut ]),
00096             type = cms.string('L1MuDTPtaLut'),
00097             key = cms.string(objectKey)
00098         ), 
00099         cms.PSet(
00100             record = cms.string('L1MuDTQualPatternLutRcd'),
00101             tag = cms.string('L1MuDTQualPatternLut_' + tagBaseVec[ L1CondEnum.L1MuDTQualPatternLut ]),
00102             type = cms.string('L1MuDTQualPatternLut'),
00103             key = cms.string(objectKey)
00104         ), 
00105         cms.PSet(
00106             record = cms.string('L1MuDTTFParametersRcd'),
00107             tag = cms.string('L1MuDTTFParameters_' + tagBaseVec[ L1CondEnum.L1MuDTTFParameters ]),
00108             type = cms.string('L1MuDTTFParameters'),
00109             key = cms.string(objectKey)
00110         ), 
00111         cms.PSet(
00112             record = cms.string('L1RPCConfigRcd'),
00113             tag = cms.string('L1RPCConfig_' + tagBaseVec[ L1CondEnum.L1RPCConfig ]),
00114             type = cms.string('L1RPCConfig'),
00115             key = cms.string(objectKey)
00116         ), 
00117         cms.PSet(
00118             record = cms.string('L1RPCConeDefinitionRcd'),
00119             tag = cms.string('L1RPCConeDefinition_' + tagBaseVec[ L1CondEnum.L1RPCConeDefinition ]),
00120             type = cms.string('L1RPCConeDefinition'),
00121             key = cms.string(objectKey)
00122         ),
00123         cms.PSet(
00124             record = cms.string('L1RPCHsbConfigRcd'),
00125             tag = cms.string('L1RPCHsbConfig_' + tagBaseVec[ L1CondEnum.L1RPCHsbConfig ]),
00126             type = cms.string('L1RPCHsbConfig'),
00127             key = cms.string(objectKey)
00128         ),
00129         cms.PSet(
00130             record = cms.string('L1RPCBxOrConfigRcd'),
00131             tag = cms.string('L1RPCBxOrConfig_' + tagBaseVec[ L1CondEnum.L1RPCBxOrConfig ]),
00132             type = cms.string('L1RPCBxOrConfig'),
00133             key = cms.string(objectKey)
00134         ),
00135         cms.PSet(
00136             record = cms.string('L1MuGMTParametersRcd'),
00137             tag = cms.string('L1MuGMTParameters_' + tagBaseVec[ L1CondEnum.L1MuGMTParameters ]),
00138             type = cms.string('L1MuGMTParameters'),
00139             key = cms.string(objectKey)
00140         ), 
00141         cms.PSet(
00142             record = cms.string('L1RCTParametersRcd'),
00143             tag = cms.string('L1RCTParameters_' + tagBaseVec[ L1CondEnum.L1RCTParameters ]),
00144             type = cms.string('L1RCTParameters'),
00145             key = cms.string(objectKey)
00146         ), 
00147         cms.PSet(
00148             record = cms.string('L1CaloEcalScaleRcd'),
00149             tag = cms.string('L1CaloEcalScale_' + tagBaseVec[ L1CondEnum.L1CaloEcalScale ]),
00150             type = cms.string('L1CaloEcalScale'),
00151             key = cms.string(objectKey)
00152         ), 
00153         cms.PSet(
00154             record = cms.string('L1CaloHcalScaleRcd'),
00155             tag = cms.string('L1CaloHcalScale_' + tagBaseVec[ L1CondEnum.L1CaloHcalScale ]),
00156             type = cms.string('L1CaloHcalScale'),
00157             key = cms.string(objectKey)
00158         ), 
00159         cms.PSet(
00160             record = cms.string('L1GctJetFinderParamsRcd'),
00161             tag = cms.string('L1GctJetFinderParams_' + tagBaseVec[ L1CondEnum.L1GctJetFinderParams ]),
00162             type = cms.string('L1GctJetFinderParams'),
00163             key = cms.string(objectKey)
00164         ), 
00165         cms.PSet(
00166             record = cms.string('L1GtBoardMapsRcd'),
00167             tag = cms.string('L1GtBoardMaps_' + tagBaseVec[ L1CondEnum.L1GtBoardMaps ]),
00168             type = cms.string('L1GtBoardMaps'),
00169             key = cms.string(objectKey)
00170         ), 
00171         cms.PSet(
00172             record = cms.string('L1GtParametersRcd'),
00173             tag = cms.string('L1GtParameters_' + tagBaseVec[ L1CondEnum.L1GtParameters ]),
00174             type = cms.string('L1GtParameters'),
00175             key = cms.string(objectKey)
00176         ), 
00177         cms.PSet(
00178             record = cms.string('L1GtStableParametersRcd'),
00179             tag = cms.string('L1GtStableParameters_' + tagBaseVec[ L1CondEnum.L1GtStableParameters ]),
00180             type = cms.string('L1GtStableParameters'),
00181             key = cms.string(objectKey)
00182         ), 
00183         cms.PSet(
00184             record = cms.string('L1GtTriggerMaskVetoAlgoTrigRcd'),
00185             tag = cms.string('L1GtTriggerMaskVetoAlgoTrig_' + tagBaseVec[ L1CondEnum.L1GtTriggerMaskVetoAlgoTrig ]),
00186             type = cms.string('L1GtTriggerMask'),
00187             key = cms.string(objectKey)
00188         ), 
00189         cms.PSet(
00190             record = cms.string('L1GtTriggerMenuRcd'),
00191             tag = cms.string('L1GtTriggerMenu_' + tagBaseVec[ L1CondEnum.L1GtTriggerMenu ]),
00192             type = cms.string('L1GtTriggerMenu'),
00193             key = cms.string(objectKey)
00194         ), 
00195         cms.PSet(
00196             record = cms.string('L1GtPsbSetupRcd'),
00197             tag = cms.string('L1GtPsbSetup_' + tagBaseVec[ L1CondEnum.L1GtPsbSetup ]),
00198             type = cms.string('L1GtPsbSetup'),
00199             key = cms.string(objectKey)
00200         ), 
00201         cms.PSet(
00202             record = cms.string('L1CaloGeometryRecord'),
00203             tag = cms.string('L1CaloGeometry_' + tagBaseVec[ L1CondEnum.L1CaloGeometry ]),
00204             type = cms.string('L1CaloGeometry'),
00205             key = cms.string(objectKey)
00206         ))
00207         )
00208 
00209     from CondTools.L1Trigger.L1RSSubsystemParams_cfi import initL1RSSubsystems
00210     initL1RSSubsystems( tagBaseVec,
00211                         objectKey,
00212                         objectKey,
00213                         objectKey,
00214                         objectKey,
00215                         objectKey,
00216                         objectKey,
00217                         objectKey,
00218                         objectKey,
00219                         objectKey )
00220     initL1Subsystems.params.recordInfo.extend(initL1RSSubsystems.params.recordInfo)