Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("GMTTEST")
0004 # L1 GT EventSetup
0005 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
0006 
0007 # L1 GMT EventSetup
0008 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
0009 
0010 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
0011 
0012 process.load("L1TriggerConfig.L1ScalesProducers.L1MuGMTScalesConfig_cff")
0013 
0014 process.load("L1TriggerConfig.GMTConfigProducers.L1MuGMTParametersConfig_cff")
0015 
0016 # GMT Emulator
0017 process.load("L1Trigger.GlobalMuonTrigger.gmtDigis_cff")
0018 
0019 process.load("L1Trigger.GlobalTrigger.gtDigis_cfi")
0020 
0021 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtPack_cfi")
0022 
0023 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
0024 
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32(-1)
0027 )
0028 process.MessageLogger = cms.Service("MessageLogger",
0029     debugModules = cms.untracked.vstring('l1GtPack',  ## DEBUG mode 
0030 
0031         'l1GtUnpack'),
0032     cout = cms.untracked.PSet(
0033         threshold = cms.untracked.string('DEBUG'), ## DEBUG mode 
0034 
0035         DEBUG = cms.untracked.PSet( ## DEBUG mode, all messages  
0036 
0037             limit = cms.untracked.int32(-1)
0038         )
0039     ),
0040     destinations = cms.untracked.vstring('cout')
0041 )
0042 
0043 process.source = cms.Source("L1MuGMTHWFileReader",
0044     fileNames = cms.untracked.vstring('file:/afs/cern.ch/user/i/imikulec/big/CMSSW_1_6_0_DAQ3/src/L1Trigger/GlobalMuonTrigger/test/gmt_testfile.h4mu.dat')
0045 )
0046 
0047 process.dump1 = cms.EDAnalyzer("L1MuGMTDump",
0048     GMTInputTag = cms.untracked.InputTag("gmtDigis")
0049 )
0050 
0051 process.dump2 = cms.EDAnalyzer("L1MuGMTDump",
0052     GMTInputTag = cms.untracked.InputTag("l1GtUnpack")
0053 )
0054 
0055 process.out = cms.OutputModule("PoolOutputModule",
0056     outputCommands = cms.untracked.vstring('keep *'),
0057     fileName = cms.untracked.string('gmtPackUnpack.root')
0058 )
0059 
0060 process.p = cms.Path(process.gmtDigis*process.gtDigis*process.l1GtPack*process.l1GtUnpack*process.dump1*process.dump2)
0061 process.outpath = cms.EndPath(process.out)
0062 process.gmtDigis.DTCandidates = 'source:DT'
0063 process.gmtDigis.CSCCandidates = 'source:CSC'
0064 process.gmtDigis.RPCbCandidates = 'source:RPCb'
0065 process.gmtDigis.RPCfCandidates = 'source:RPCf'
0066 process.gmtDigis.Debug = 9
0067 process.gmtDigis.BX_min = -1
0068 process.gmtDigis.BX_max = 1
0069 process.gmtDigis.BX_min_readout = -1
0070 process.gmtDigis.BX_max_readout = 1
0071 process.gtDigis.inputMask = [1, 0]
0072 process.l1GtPack.ActiveBoardsMask = 0x0100
0073