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 # load and configure modules
0005 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtTextToRaw_cfi")
0006 
0007 # FED Id (default 813)
0008 #replace l1GtTextToRaw.FedId = 813
0009 # FED raw data size (in 8bits units, including header and trailer)
0010 # If negative value, the size is retrieved from the trailer.        
0011 #replace l1GtTextToRaw.RawDataSize = 872
0012 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
0013 
0014 process.MessageLogger = cms.Service("MessageLogger",
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(False)
0017     ),
0018     cout = cms.untracked.PSet(
0019         DEBUG = cms.untracked.PSet(
0020             limit = cms.untracked.int32(-1)
0021         ),
0022         INFO = cms.untracked.PSet(
0023             limit = cms.untracked.int32(-1)
0024         ),
0025         enable = cms.untracked.bool(True),
0026         threshold = cms.untracked.string('DEBUG')
0027     ),
0028     debugModules = cms.untracked.vstring('l1GtUnpack')
0029 )
0030 
0031 process.source = cms.Source("EmptySource",
0032     maxEvents = cms.untracked.int32(10)
0033 )
0034 
0035 process.dump = cms.EDAnalyzer("L1MuGMTDump",
0036     GMTInputTag = cms.untracked.InputTag("l1GtUnpack")
0037 )
0038 
0039 process.p = cms.Path(process.l1GtTextToRaw*process.l1GtUnpack*process.dump)
0040 process.l1GtTextToRaw.TextFileName = 'testGt_DumpSpyToText_output.txt'
0041 process.l1GtUnpack.DaqGtInputTag = 'l1GtTextToRaw'
0042 process.l1GtUnpack.ActiveBoardsMask = 0x0101
0043