Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("rpctest")
0004 
0005 
0006 #process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 process.MessageLogger = cms.Service("MessageLogger",
0008     cerr = cms.untracked.PSet(
0009         enable = cms.untracked.bool(False)
0010     ),
0011     debugModules = cms.untracked.vstring('rpcTriggerDigis'),
0012     files = cms.untracked.PSet(
0013         log = cms.untracked.PSet(
0014             threshold = cms.untracked.string('DEBUG')
0015         )
0016     )
0017 )
0018 
0019 # rpc geometry
0020 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0021 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0022 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0023 
0024 useGlobalTag = 'IDEAL_31X'
0025 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0026 process.GlobalTag.globaltag = useGlobalTag + '::All'
0027 
0028 # emulation
0029 process.load("L1Trigger.RPCTrigger.rpcTriggerDigis_cff")
0030 process.rpcTriggerDigis.label = cms.string('simMuonRPCDigis')
0031 
0032 # rpc r2d
0033 #process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0034 #process.load("EventFilter.RPCRawToDigi.rpcUnpacker_cfi")
0035 
0036 process.maxEvents = cms.untracked.PSet(
0037     input = cms.untracked.int32(100000)
0038 )
0039 
0040 #process.source = cms.Source("NewEventStreamFileReader",
0041 process.source = cms.Source("PoolSource",
0042     fileNames = cms.untracked.vstring(
0043 
0044             'file:digi.root'
0045 
0046     )
0047 )
0048 
0049 #process.a = cms.Path(process.rpcunpacker*process.l1RpcEmulDigis)
0050 process.a = cms.Path(process.rpcTriggerDigis)