File indexing completed on 2024-04-06 12:10:05
0001 import FWCore.ParameterSet.Config as cms
0002 import FWCore.ParameterSet.VarParsing as VarParsing
0003
0004
0005
0006 process = cms.Process("QuadJetAnalysis")
0007
0008
0009
0010
0011 process.load("DQMOffline.Trigger.QuadJetAna_cfi")
0012 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0013 process.load("DQMServices.Components.DQMStoreStats_cfi")
0014
0015
0016
0017
0018 options = VarParsing.VarParsing ('standard')
0019
0020
0021 options.output = 'quadjet_source_031109a.root'
0022 options.maxEvents = 100
0023
0024 options.parseArguments()
0025
0026
0027 process.maxEvents = cms.untracked.PSet(
0028 input = cms.untracked.int32(options.maxEvents)
0029
0030 )
0031
0032 process.source = cms.Source("PoolSource",
0033 skipEvents = cms.untracked.uint32(0),
0034 fileNames = cms.untracked.vstring(options.files),
0035 )
0036
0037
0038
0039
0040
0041 process.DQMStore = cms.Service("DQMStore")
0042
0043 process.MessageLogger = cms.Service("MessageLogger",
0044 debugModules = cms.untracked.vstring('*'),
0045 cout = cms.untracked.PSet(
0046
0047
0048 threshold = cms.untracked.string('INFO')
0049
0050 ),
0051 categories = cms.untracked.vstring('HLTMuonVal'),
0052 destinations = cms.untracked.vstring('cout')
0053 )
0054
0055 process.out = cms.OutputModule("PoolOutputModule",
0056 fastCloning = cms.untracked.bool(False),
0057 outputCommands = cms.untracked.vstring('drop *', 'keep *_MEtoEDMConverter_*_*'),
0058 fileName = cms.untracked.string(options.output)
0059 )
0060
0061 process.analyzerpath = cms.Path(
0062 process.quadJetAna*
0063 process.MEtoEDMConverter
0064
0065 )
0066
0067 process.outpath = cms.EndPath(process.out)