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 
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     cout = cms.untracked.PSet(
0012         enable = cms.untracked.bool(True)
0013     )
0014 )
0015 
0016 # rpc geometry
0017 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0018 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0019 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0020 
0021 
0022 # rpc r2d
0023 #process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0024 #process.load("EventFilter.RPCRawToDigi.rpcUnpacker_cfi")
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(-1)
0028 )
0029 
0030 #process.source = cms.Source("NewEventStreamFileReader",
0031 process.source = cms.Source("PoolSource",
0032     fileNames = cms.untracked.vstring(
0033        '/store/relval/CMSSW_3_1_0_pre7/RelValSingleMuPt1000/GEN-SIM-RECO/IDEAL_31X_v1/0004/EC465F32-C941-DE11-A41B-001D09F2441B.root',
0034        '/store/relval/CMSSW_3_1_0_pre7/RelValSingleMuPt1000/GEN-SIM-RECO/IDEAL_31X_v1/0004/42075C89-E641-DE11-9864-001D09F2441B.root' ,
0035        '/store/relval/CMSSW_3_1_0_pre7/RelValSingleMuPt100/GEN-SIM-RECO/IDEAL_31X_v1/0004/B286E67D-E641-DE11-96CD-001D09F2527B.root',
0036        '/store/relval/CMSSW_3_1_0_pre7/RelValSingleMuPt100/GEN-SIM-RECO/IDEAL_31X_v1/0004/36C61875-D141-DE11-AB22-001D09F2447F.root',
0037        '/store/relval/CMSSW_3_1_0_pre7/RelValSingleMuPt10/GEN-SIM-RECO/IDEAL_31X_v1/0004/B89FA4AB-CC41-DE11-8348-000423D98B28.root',
0038        '/store/relval/CMSSW_3_1_0_pre7/RelValSingleMuPt10/GEN-SIM-RECO/IDEAL_31X_v1/0004/58AEC160-E741-DE11-AE53-001D09F2AF1E.root',
0039        '/store/relval/CMSSW_3_1_0_pre7/RelValSingleMuPt10/GEN-SIM-RECO/IDEAL_31X_v1/0004/50F087DB-CB41-DE11-98F2-0030487C5CFA.root' 
0040     )
0041 )
0042 
0043 process.rpceff  = cms.EDFilter("RPCPhiEff",
0044       #rpcb = cms.InputTag("rpcTriggerDigis:RPCb"),
0045       #rpcf = cms.InputTag("rpcTriggerDigis:RPCf"),
0046  #     rpcb = cms.InputTag("simRpcTriggerDigis:RPCb"),
0047  #     rpcf = cms.InputTag("simRpcTriggerDigis:RPCf"),
0048  # for RECO
0049       rpcb = cms.InputTag("gtDigis:RPCb"),
0050       rpcf = cms.InputTag("gtDigis:RPCf"),
0051       rpcdigi = cms.InputTag("simMuonRPCDigis"),
0052       g4 = cms.InputTag("g4SimHits")
0053 
0054 )
0055 
0056 process.a = cms.Path(process.rpceff)