Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:28

0001 #description
0002 #-generate random digis (emul) 
0003 #-introduce simple bias (data)
0004 #-compare initial and modified digis
0005 #-generate dqm sources
0006 
0007 import FWCore.ParameterSet.Config as cms
0008 
0009 process = cms.Process("testdummybiasde")
0010 
0011 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0012 process.load("L1Trigger.HardwareValidation.L1DummyProducer_cfi")
0013 process.load("L1Trigger.HardwareValidation.L1EmulBias_cfi")
0014 process.load("L1Trigger.HardwareValidation.L1Comparator_cfi")
0015 process.load("DQM.L1TMonitor.L1TDEMON_cfi")
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(100)
0019 )
0020 
0021 process.source = cms.Source("EmptySource")
0022 
0023 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0024     moduleSeeds = cms.PSet(
0025         l1bias = cms.untracked.uint32(7863453),
0026         l1dummy = cms.untracked.uint32(1762349)
0027     )
0028 )
0029 
0030 process.DQMStore = cms.Service("DQMStore")
0031 
0032 process.outputEvents = cms.OutputModule("PoolOutputModule",
0033     outputCommands = cms.untracked.vstring('keep *'),
0034     fileName = cms.untracked.string('l1fakebias.root')
0035 )
0036 
0037 process.l1dummy.VerboseFlag = 0
0038 process.l1bias.VerboseFlag = 0
0039 process.l1bias.ETPsource = 'l1dummy'
0040 process.l1bias.HTPsource = 'l1dummy'
0041 process.l1bias.RCTsource = 'l1dummy'
0042 process.l1bias.GCTsource = 'l1dummy'
0043 process.l1bias.DTPsource = 'l1dummy'
0044 process.l1bias.DTFsource = 'l1dummy'
0045 process.l1bias.CTPsource = 'l1dummy'
0046 process.l1bias.CTFsource = 'l1dummy'
0047 process.l1bias.CTTsource = 'l1dummy'
0048 process.l1bias.RPCsource = 'l1dummy'
0049 process.l1bias.LTCsource = 'l1dummy'
0050 process.l1bias.GMTsource = 'l1dummy'
0051 process.l1bias.GLTsource = 'l1dummy'
0052 process.l1compare.DumpMode = 1
0053 process.l1compare.VerboseFlag = 0
0054 process.l1compare.ETPsourceEmul = 'l1dummy'
0055 process.l1compare.ETPsourceData = 'l1bias'
0056 process.l1compare.HTPsourceEmul = 'l1dummy'
0057 process.l1compare.HTPsourceData = 'l1bias'
0058 process.l1compare.RCTsourceEmul = 'l1dummy'
0059 process.l1compare.RCTsourceData = 'l1bias'
0060 process.l1compare.GCTsourceEmul = 'l1dummy'
0061 process.l1compare.GCTsourceData = 'l1bias'
0062 process.l1compare.DTPsourceEmul = 'l1dummy'
0063 process.l1compare.DTPsourceData = 'l1bias'
0064 process.l1compare.DTFsourceEmul = 'l1dummy'
0065 process.l1compare.DTFsourceData = 'l1bias'
0066 process.l1compare.CTPsourceEmul = 'l1dummy'
0067 process.l1compare.CTPsourceData = 'l1bias'
0068 process.l1compare.CTFsourceEmul = 'l1dummy'
0069 process.l1compare.CTFsourceData = 'l1bias'
0070 process.l1compare.CTTsourceEmul = 'l1dummy'
0071 process.l1compare.CTTsourceData = 'l1bias'
0072 process.l1compare.RPCsourceEmul = 'l1dummy'
0073 process.l1compare.RPCsourceData = 'l1bias'
0074 process.l1compare.LTCsourceEmul = 'l1dummy'
0075 process.l1compare.LTCsourceData = 'l1bias'
0076 process.l1compare.GMTsourceEmul = 'l1dummy'
0077 process.l1compare.GMTsourceData = 'l1bias'
0078 process.l1compare.GLTsourceEmul = 'l1dummy'
0079 process.l1compare.GLTsourceData = 'l1bias'
0080 process.l1dummy.DO_SYSTEM = [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0]
0081 process.l1bias.DO_SYSTEM = [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0]
0082 process.l1compare.COMPARE_COLLS = [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0]
0083 
0084 
0085 process.p = cms.Path(process.l1dummy*process.l1bias*process.l1compare*process.l1demon)
0086