Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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