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('l1RpcEmulDigis'),
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 process.load("L1TriggerConfig.RPCTriggerConfig.RPCConeDefinition_cff")
0025 # emulation
0026 process.load("L1TriggerConfig.RPCTriggerConfig.L1RPCConfig_cff")
0027 
0028 process.load("L1Trigger.RPCTrigger.RPCConeConfig_cff")
0029 process.load("L1TriggerConfig.RPCTriggerConfig.RPCHwConfig_cff")
0030 
0031 process.load("L1TriggerConfig.RPCTriggerConfig.RPCBxOrConfig_cff")
0032 process.load("L1TriggerConfig.RPCTriggerConfig.RPCHsbConfig_cff")
0033 
0034                                        #TC  11  0  1  2  3  4  5  6
0035 process.l1RPCHsbConfig.hsb0Mask = cms.vint32(3, 3, 3, 3, 3, 3, 3, 3)
0036                                        #TC   5  6  7  8  9 10 11  0
0037 process.l1RPCHsbConfig.hsb1Mask = cms.vint32(3, 3, 3, 3, 3, 3, 3, 3)
0038 
0039 #process.l1RPCHsbConfig.hsb0Mask = cms.vint32(0, 0, 0, 0 , 0, 0 , 0 ,0 )
0040 #process.l1RPCHsbConfig.hsb1Mask = cms.vint32(0, 0, 0, 0 , 0, 0 , 0 ,0 )
0041 
0042 
0043 process.load("L1Trigger.RPCTrigger.l1RpcEmulDigis_cfi")
0044 process.l1RpcEmulDigis.label = cms.string('simMuonRPCDigis')
0045 process.l1RpcEmulDigis.RPCTriggerDebug = 1
0046 
0047 # rpc r2d
0048 #process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0049 #process.load("EventFilter.RPCRawToDigi.rpcUnpacker_cfi")
0050 
0051 process.maxEvents = cms.untracked.PSet(
0052     input = cms.untracked.int32(-1)
0053 )
0054 
0055 #process.source = cms.Source("NewEventStreamFileReader",
0056 process.source = cms.Source("PoolSource",
0057     fileNames = cms.untracked.vstring(
0058 
0059             'file:/tmp/fruboes/SingleMuPt10_cfi_py_GEN_SIM_DIGI.root'
0060 
0061     )
0062 )
0063 
0064 process.a = cms.Path(process.l1RpcEmulDigis)
0065 
0066 process.out = cms.OutputModule("PoolOutputModule",
0067     fileName = cms.untracked.string('l1.root')
0068 )
0069 
0070 #process.this_is_the_end = cms.EndPath(process.out)
0071