Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:24

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("rpctest")
0004 
0005 process.MessageLogger = cms.Service("MessageLogger",
0006     cerr = cms.untracked.PSet(
0007         enable = cms.untracked.bool(False)
0008     ),
0009     cout = cms.untracked.PSet(
0010         enable = cms.untracked.bool(True)
0011     )
0012 )
0013 
0014 # rpc geometry
0015 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0016 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0017 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0018 
0019 process.load("L1TriggerConfig.RPCTriggerConfig.RPCConeDefinition_cff")
0020 # emulation
0021 process.load("L1TriggerConfig.RPCTriggerConfig.L1RPCConfig_cff")
0022 
0023 process.load("L1TriggerConfig.RPCTriggerConfig.RPCConeDefinition_cff")
0024 process.load("L1TriggerConfig.RPCTriggerConfig.RPCHwConfig_cff")
0025 process.load("L1Trigger/RPCTrigger/rpcTriggerDigis_cff")
0026 process.rpcTriggerDigis.label = cms.string('simMuonRPCDigis')
0027 
0028 
0029 # should I test globalTag?
0030 #process.load("L1TriggerConfig.RPCTriggerConfig.RPCPatSource_cfi")
0031 #process.rpcconf.filedir = cms.untracked.string('L1Trigger/RPCTrigger/data/D30/')
0032 
0033 #process.rpcTriggerDigis.buildOwnLinkSystem = cms.bool(True)
0034 process.rpcTriggerDigis.label = cms.string('simMuonRPCDigis')
0035 
0036 # rpc r2d
0037 #process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0038 #process.load("EventFilter.RPCRawToDigi.rpcUnpacker_cfi")
0039 
0040 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(10))
0041 
0042 #process.source = cms.Source("NewEventStreamFileReader",
0043 process.source = cms.Source("PoolSource",
0044     fileNames = cms.untracked.vstring(
0045         "file:/tmp/fruboes/digi_11.root"
0046     )
0047 )
0048 
0049 process.rpceff  = cms.EDFilter("RPCPhiEff",
0050       rpcb = cms.InputTag("rpcTriggerDigis:RPCb"),
0051       rpcf = cms.InputTag("rpcTriggerDigis:RPCf"),
0052       rpcdigi = cms.InputTag("simMuonRPCDigis"),
0053       g4 = cms.InputTag("g4SimHits")
0054 
0055 )
0056 
0057 process.a = cms.Path(process.rpcTriggerDigis*process.rpceff)