Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("RPCR2D")
0004 
0005 process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0006 process.RPCCabling.connect = 'sqlite_file:RPCEMap3.db'
0007 process.load("EventFilter.RPCRawToDigi.rpcUnpacker_cfi")
0008 
0009 # set maxevents; -1 -> take all
0010 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(2))
0011 
0012 #process.source = cms.Source ("PoolSource",fileNames = cms.untracked.vstring( 'file:input.root'))
0013 process.source = cms.Source ("NewEventStreamFileReader",fileNames = cms.untracked.vstring( 'file:input.dat'))
0014 
0015 
0016 process.load('FWCore.MessageService.MessageLogger_cfi')
0017 process.MessageLogger = cms.Service("MessageLogger",
0018     cerr = cms.untracked.PSet(
0019         enable = cms.untracked.bool(False)
0020     ),
0021     cout = cms.untracked.PSet(
0022         enable = cms.untracked.bool(True),
0023         threshold = cms.untracked.string('DEBUG')
0024     ),
0025     debugModules = cms.untracked.vstring('rpcunpacker')
0026 )
0027 
0028 process.out = cms.OutputModule("PoolOutputModule",
0029     fileName =  cms.untracked.string('file:out.root'),
0030     outputCommands = cms.untracked.vstring("keep *")
0031 )
0032 
0033 process.p = cms.Path(process.rpcunpacker)
0034 #process.ep = cms.EndPath(process.out)