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(-1)
0007 )
0008 
0009 process.source = cms.Source("PoolSource",
0010     moduleLogName = cms.untracked.string('source'),
0011     fileNames = cms.untracked.vstring(
0012             '/store/data/Commissioning08/Calo/RAW/v1/000/069/997/00CA7C60-67AD-DD11-AF89-000423D94A20.root'
0013     )
0014 )
0015 
0016 
0017 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtConfig_cff")
0018 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerScalesConfig_cff")
0019 process.load("L1TriggerConfig.L1ScalesProducers.L1MuTriggerPtScaleConfig_cff")
0020 process.load("L1TriggerConfig.L1ScalesProducers.L1MuGMTScalesConfig_cff")
0021 process.load("L1TriggerConfig.GMTConfigProducers.L1MuGMTParametersConfig_cff")
0022 process.load("L1TriggerConfig.L1GeometryProducers.l1CaloGeomConfig_cff")
0023 process.load("EventFilter.L1GlobalTriggerRawToDigi.l1GtUnpack_cfi")
0024 process.l1GtUnpack.DaqGtInputTag = cms.InputTag("source")
0025 process.l1GtUnpack.UnpackBxInEvent = cms.int32(-1)
0026 
0027 
0028 
0029 #process.load("L1Trigger.GlobalMuonTrigger.l1GmtEmulDigis_cff")
0030 #process.l1GmtEmulDigis.DTCandidates = cms.InputTag("l1GtUnpack","DT"),
0031 #process.l1GmtEmulDigis.CSCCandidates = cms.InputTag("l1GtUnpack","CSC"),
0032 #process.l1GmtEmulDigis.RPCbCandidates = cms.InputTag("l1GtUnpack","RPCb"),
0033 #process.l1GmtEmulDigis.RPCfCandidates = cms.InputTag("l1GtUnpack","RPCf"),
0034 
0035 
0036 
0037 
0038 
0039 #process.load("FWCore.MessageLogger.MessageLogger_cfi")
0040 process.MessageLogger = cms.Service("MessageLogger",
0041 # log = cms.untracked.PSet( threshold = cms.untracked.string("DEBUG") ),
0042 # debugModules = cms.untracked.vstring("*"),
0043  destinations = cms.untracked.vstring('log.txt')
0044 )
0045 
0046 # rpc geometry
0047 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0048 process.load("Geometry.MuonCommonData.muonIdealGeometryXML_cfi")
0049 process.load("Geometry.RPCGeometry.rpcGeometry_cfi")
0050 
0051 # emulation
0052 process.load("L1TriggerConfig.RPCTriggerConfig.RPCPatSource_cfi")
0053 
0054 # Choose proper patterns here!
0055 process.rpcconf.filedir = cms.untracked.string('MyAna/DataEmuComp/data/CosmicPats6/')
0056 process.rpcconf.PACsPerTower = cms.untracked.int32(1)
0057 
0058 
0059 process.load("L1TriggerConfig.RPCTriggerConfig.RPCConeSource_cfi")
0060 process.load("L1TriggerConfig.RPCTriggerConfig.RPCHwConfigSource_cfi")
0061 process.load("L1Trigger.RPCTrigger.l1RpcEmulDigis_cfi")
0062 
0063 
0064 process.load("EventFilter.RPCRawToDigi.RPCSQLiteCabling_cfi")
0065 process.load("EventFilter.RPCRawToDigi.rpcUnpacker_cfi")
0066 
0067 #process.l1RpcEmulDigis.label = cms.string('muonRPCDigis')
0068 process.l1RpcEmulDigis.label = cms.string('rpcunpacker')
0069 
0070 #emulator/comparator
0071 process.load("L1Trigger.HardwareValidation.L1HardwareValidation_cff")
0072 #process.load("L1Trigger.Configuration.L1Config_cff import *
0073 process.load("DQM.L1TMonitor.L1TDEMON_cfi")
0074 
0075 #process.l1compare.RPCsourceData = cms.InputTag("gtDigis")
0076 process.l1compare.RPCsourceData = cms.InputTag("l1GtUnpack")
0077 process.l1compare.RPCsourceEmul = cms.InputTag("l1RpcEmulDigis")
0078 process.l1compare.COMPARE_COLLS = cms.untracked.vuint32(0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0)
0079 process.l1compare.VerboseFlag   = 0
0080 process.l1compare.DumpMode      = -1
0081 
0082 process.load("DQMServices.Core.DQM_cfg")
0083 process.load("DQMServices.Components.DQMEnvironment_cfi")
0084 
0085 #DQM = cms.Service("DQM",
0086 #    debug = cms.untracked.bool(False),
0087 #    publishFrequency = cms.untracked.double(5.0),
0088 #    collectorPort = cms.untracked.int32(9090),
0089 #    collectorHost = cms.untracked.string('localhost'),
0090 #    filter = cms.untracked.string('')
0091 #)
0092 
0093 
0094 process.DQMStore = cms.Service("DQMStore")
0095 #,
0096 #    verbose = cms.untracked.int32(0),
0097 #)
0098 
0099 #process.tdqmSaver = cms.EDFilter("DQMFileSaver",
0100 #     saveAtJobEnd = cms.untracked.bool(False),
0101 #     environment = cms.untracked.string('Offline'),
0102 #     workflow = cms.untracked.string('/A/B/C'),
0103 #     saveAtRunEnd = cms.untracked.bool(False),
0104 #     dirName = cms.untracked.string('.')
0105 #)
0106 
0107 process.l1demon.disableROOToutput = cms.untracked.bool(False)
0108 
0109 
0110 # Time 6178 Orbit start 69802064 orbit end 69813278 triggers: 3323
0111 # Time 6179 Orbit start 69813280 orbit end 69824501 triggers: 7671
0112 # process.flt = cms.EDFilter("OrbitFilter", minOrbit = cms.int32(69802064), maxOrbit = cms.int32(69824501) )
0113 #process.p = cms.Path(process.flt*process.rpcunpacker*process.l1RpcEmulDigis*process.l1GtUnpack*process.l1compare*process.l1demon)
0114 
0115 process.p = cms.Path(process.rpcunpacker*process.l1RpcEmulDigis*process.l1GtUnpack*process.l1compare*process.l1demon)
0116 
0117 
0118 
0119