File indexing completed on 2024-04-06 12:10:47
0001
0002
0003
0004
0005
0006 import FWCore.ParameterSet.Config as cms
0007
0008
0009 process = cms.Process("TestGtTextToRaw")
0010
0011
0012 process.maxEvents = cms.untracked.PSet(
0013 input = cms.untracked.int32(10)
0014 )
0015
0016
0017
0018 process.source = cms.Source("EmptySource")
0019
0020
0021
0022
0023 process.load("L1Trigger.Configuration.L1DummyConfig_cff")
0024
0025
0026 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtTextToRaw_cfi")
0027
0028
0029
0030
0031
0032 process.l1GtTextToRaw.TextFileName = '/afs/cern.ch/user/g/ghete/scratch0/CmsswTestFiles/testGt_TextToRaw_source.txt'
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042 process.p = cms.Path(process.l1GtTextToRaw)
0043
0044
0045
0046
0047
0048 process.MessageLogger = cms.Service("MessageLogger",
0049 cerr = cms.untracked.PSet(
0050 enable = cms.untracked.bool(False)
0051 ),
0052 debugModules = cms.untracked.vstring('l1GtTextToRaw'),
0053 files = cms.untracked.PSet(
0054 testGt_TextToRaw = cms.untracked.PSet(
0055 DEBUG = cms.untracked.PSet(
0056 limit = cms.untracked.int32(-1)
0057 ),
0058 INFO = cms.untracked.PSet(
0059 limit = cms.untracked.int32(-1)
0060 ),
0061 threshold = cms.untracked.string('DEBUG')
0062 )
0063 )
0064 )
0065
0066
0067 process.outputL1GtTextToRaw = cms.OutputModule("PoolOutputModule",
0068 fileName = cms.untracked.string('testGt_TextToRaw_output.root'),
0069
0070 outputCommands = cms.untracked.vstring('drop *',
0071 'keep *_l1GtTextToRaw_*_*')
0072 )
0073
0074 process.outpath = cms.EndPath(process.outputL1GtTextToRaw)
0075