Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("L1ConfigWritePayloadDummy")
0004 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0005 process.MessageLogger.cout.enable = cms.untracked.bool(True)
0006 process.MessageLogger.cout.threshold = cms.untracked.string('INFO')
0007 process.MessageLogger.debugModules = cms.untracked.vstring('*')
0008 
0009 # Generate dummy L1TriggerKeyList
0010 process.load("CondTools.L1Trigger.L1TriggerKeyListDummy_cff")
0011 
0012 # Get configuration data from OMDS.  This is the subclass of L1ConfigOnlineProdBase.
0013 process.load("L1TriggerConfig.DTTrackFinder.L1MuDTTFParametersOnline_cfi")
0014 
0015 process.maxEvents = cms.untracked.PSet(
0016     input = cms.untracked.int32(1)
0017     )
0018 process.source = cms.Source("EmptyIOVSource",
0019                             timetype = cms.string('runnumber'),
0020                             firstValue = cms.uint64(1),
0021                             lastValue = cms.uint64(1),
0022                             interval = cms.uint64(1)
0023                             )
0024 
0025 process.get = cms.EDAnalyzer("EventSetupRecordDataGetter",
0026                              toGet = cms.VPSet(cms.PSet(
0027     record = cms.string('L1MuDTTFParametersRcd'),
0028     data = cms.vstring('L1MuDTTFParameters')
0029     )),
0030                              verbose = cms.untracked.bool(True)
0031                              )
0032 
0033 process.load("CondTools.L1Trigger.L1TriggerKeyDummy_cff")
0034 process.L1TriggerKeyDummy.objectKeys = cms.VPSet(cms.PSet(
0035             record = cms.string('L1MuDTTFParametersRcd'),
0036                     type = cms.string('L1MuDTTFParameters'),
0037                     key = cms.string('GlobalRun_Cosmics_Nov08_MB1')
0038             ))
0039 
0040 
0041 process.p = cms.Path(process.get)