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 process.maxEvents = cms.untracked.PSet(
0006     input = cms.untracked.int32(100)
0007 )
0008 
0009 process.source = cms.Source("PoolSource",
0010     moduleLogName = cms.untracked.string('source'),
0011     fileNames = cms.untracked.vstring(
0012             '/store/data/Summer08/Cosmics/RECO/CRAFT_ALL_V8_v1/0000/047AADFF-0FF4-DD11-B47F-001D0968F0B2.root'
0013     )
0014 )
0015 
0016 
0017 
0018 process.MessageLogger = cms.Service("MessageLogger",
0019  destinations = cms.untracked.vstring('log.txt')
0020 )
0021 
0022 # rpc geometry
0023 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0024 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0025 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0026 
0027 # emulation
0028 process.load("L1TriggerConfig.RPCTriggerConfig.RPCPatSource_cfi")
0029 
0030 # Choose proper patterns here!
0031 process.rpcconf.filedir = cms.untracked.string('MyAna/DataEmuComp/data/CosmicPats6/')
0032 process.rpcconf.PACsPerTower = cms.untracked.int32(1)
0033 
0034 
0035 process.load("L1TriggerConfig.RPCTriggerConfig.RPCConeSource_cfi")
0036 process.load("L1TriggerConfig.RPCTriggerConfig.RPCHwConfigSource_cfi")
0037 process.load("L1Trigger.RPCTrigger.l1RpcEmulDigis_cfi")
0038 
0039 process.l1RpcEmulDigis.label = cms.string('muonRPCDigis')
0040 
0041 process.load("L1Trigger.HardwareValidation.L1HardwareValidation_cff")
0042 process.load("DQM.L1TMonitor.L1TDEMON_cfi")
0043 
0044 process.l1compare.RPCsourceData = cms.InputTag("gtDigis")
0045 process.l1compare.RPCsourceEmul = cms.InputTag("l1RpcEmulDigis")
0046 
0047 
0048 process.l1compare.COMPARE_COLLS = cms.untracked.vuint32(0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0)
0049 process.l1compare.VerboseFlag   = 0
0050 process.l1compare.DumpMode      = -1
0051 
0052 process.load("DQMServices.Core.DQM_cfg")
0053 process.load("DQMServices.Components.DQMEnvironment_cfi")
0054 
0055 process.DQMStore = cms.Service("DQMStore")
0056 
0057 process.l1demon.disableROOToutput = cms.untracked.bool(False)
0058 
0059 
0060 #process.p = cms.Path(process.l1RpcEmulDigis*process.l1GtUnpack*process.l1compare*process.l1demon)
0061 process.p = cms.Path(process.l1RpcEmulDigis*process.l1compare*process.l1demon)
0062 
0063