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 import sys
0004 import os
0005 
0006 # arguments
0007 if (len(sys.argv)>2) :
0008     key=str(sys.argv[2])
0009 else :
0010     key='Default'
0011 
0012 process = cms.Process("L1ConfigWritePayloadDummy")
0013 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0014 process.MessageLogger.cout.enable = cms.untracked.bool(True)
0015 process.MessageLogger.cout.threshold = cms.untracked.string('INFO')
0016 process.MessageLogger.debugModules = cms.untracked.vstring('*')
0017 
0018 # Generate dummy L1TriggerKeyList
0019 process.load("CondTools.L1Trigger.L1TriggerKeyListDummy_cff")
0020 
0021 # get 
0022 process.load("CondTools.L1Trigger.L1TriggerKeyDummy_cff")
0023 process.L1TriggerKeyDummy.objectKeys = cms.VPSet()
0024 process.L1TriggerKeyDummy.label = cms.string('SubsystemKeysOnly')
0025 
0026 # xxxKey = csctfKey, dttfKey, rpcKey, gmtKey, rctKey, gctKey, gtKey, or tsp0Key
0027 process.L1TriggerKeyDummy.gctKey = cms.string(key)
0028 
0029 # Subclass of L1ObjectKeysOnlineProdBase.
0030 process.load("L1TriggerConfig.GctConfigProducers.L1GctRSObjectKeysOnline_cfi")
0031 process.L1GctRSObjectKeysOnline.subsystemLabel = cms.string('')
0032 
0033 # Get configuration data from OMDS.  This is the subclass of L1ConfigOnlineProdBase.
0034 process.load("L1TriggerConfig.GctConfigProducers.L1GctChannelMaskOnline_cfi")
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(1)
0038 )
0039 process.source = cms.Source("EmptyIOVSource",
0040     timetype = cms.string('runnumber'),
0041     firstValue = cms.uint64(1),
0042     lastValue = cms.uint64(1),
0043     interval = cms.uint64(1)
0044 )
0045 
0046 process.getter1 = cms.EDAnalyzer("EventSetupRecordDataGetter",
0047    toGet = cms.VPSet(cms.PSet(
0048    record = cms.string('L1GctChannelMaskRcd'),
0049    data = cms.vstring('L1GctChannelMask')
0050    )),
0051    verbose = cms.untracked.bool(True)
0052 )
0053 
0054 process.p = cms.Path(
0055     process.getter1
0056 )