Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:33

0001 #
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 process = cms.Process("test")
0006 process.load("CondCore.DBCommon.CondDBSetup_cfi")
0007 
0008 #
0009 # DQM
0010 #
0011 process.load("DQMServices.Core.DQM_cfg")
0012 
0013 process.load("DQMServices.Components.MEtoEDMConverter_cfi")
0014 
0015 # the task
0016 process.load("DQMOffline.JetMET.jetMETDQMOfflineSourceCosmic_cff")
0017 process.jetMETAnalyzer.OutputMEsInRootFile = cms.bool(True)
0018 process.jetMETAnalyzer.OutputFileName = cms.string('jetMETMonitoring_cruzet100945.root')
0019 process.jetMETAnalyzer.DoJetPtAnalysis = cms.untracked.bool(True)
0020 process.jetMETAnalyzer.caloMETAnalysis.allSelection       = cms.bool(True)
0021 process.jetMETAnalyzer.caloMETNoHFAnalysis.allSelection   = cms.bool(True)
0022 process.jetMETAnalyzer.caloMETHOAnalysis.allSelection     = cms.bool(True)
0023 process.jetMETAnalyzer.caloMETNoHFHOAnalysis.allSelection = cms.bool(True)
0024 
0025 # check # of bins
0026 process.load("DQMServices.Components.DQMStoreStats_cfi")
0027 
0028 # for igprof
0029 #process.IgProfService = cms.Service("IgProfService",
0030 #  reportFirstEvent            = cms.untracked.int32(0),
0031 #  reportEventInterval         = cms.untracked.int32(25),
0032 #  reportToFileAtPostEvent     = cms.untracked.string("| gzip -c > igdqm.%I.gz")
0033 #)
0034 
0035 process.source = cms.Source("PoolSource",
0036     fileNames = cms.untracked.vstring(
0037     '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/FA72B935-0960-DE11-A902-000423D98DB4.root'
0038     #'/store/data/Commissioning09/Calo/RECO/v3/000/100/945/0C547BAF-0C60-DE11-83C3-000423D98868.root'
0039     #'/store/data/CRUZET09/Calo/RECO/v1/000/098/154/EADF3BE3-BE4F-DE11-8BB8-000423D9870C.root'
0040     #'file:/tmp/hatake/EADF3BE3-BE4F-DE11-8BB8-000423D9870C.root'
0041     )
0042 )
0043 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/FA72B935-0960-DE11-A902-000423D98DB4.root',
0044 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/EA597588-0F60-DE11-938A-001D09F251B8.root',
0045 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/B80B1DA7-0560-DE11-8850-000423D6CA02.root',
0046 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/A2A21790-0A60-DE11-8231-001617E30D40.root',
0047 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/94D38392-0A60-DE11-8DE9-0019DB2F3F9A.root',
0048 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/8C1F34B5-0C60-DE11-9413-000423D985B0.root',
0049 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/6243D9DC-0960-DE11-8104-001617C3B5F4.root',
0050 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/52F63D01-2460-DE11-8DB4-001D09F24489.root',
0051 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/4EDF8E52-0B60-DE11-A6CB-000423D98930.root',
0052 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/301E3B65-0D60-DE11-B51C-000423D94908.root',
0053 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/22E1ECD9-0E60-DE11-B9EB-001D09F28D54.root',
0054 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/22BEF6AE-0C60-DE11-B76D-001617C3B6C6.root',
0055 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/1EA1811B-0E60-DE11-A6F0-001617C3B76E.root',
0056 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/1CE0FB64-0D60-DE11-9F26-000423D98BE8.root',
0057 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/1AA3E288-0F60-DE11-8900-001D09F24399.root',
0058 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/12CCE9D9-0E60-DE11-95FD-001D09F2A690.root',
0059 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/10075189-0F60-DE11-B1E5-001D09F2932B.root',
0060 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/0C547BAF-0C60-DE11-83C3-000423D98868.root',
0061 #        '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/06B387FF-0B60-DE11-94A9-000423D95220.root'
0062 
0063 process.source.inputCommands = cms.untracked.vstring('keep *', 'drop *_MEtoEDMConverter_*_*')
0064 
0065 process.maxEvents = cms.untracked.PSet(
0066     input = cms.untracked.int32( 1000 )
0067 )
0068 process.Timing = cms.Service("Timing")
0069 
0070 process.MessageLogger = cms.Service("MessageLogger",
0071     debugModules = cms.untracked.vstring('jetMETAnalyzer'),
0072     cout = cms.untracked.PSet(
0073         default = cms.untracked.PSet(
0074             limit = cms.untracked.int32(0)
0075         ),
0076         jetMETAnalyzer = cms.untracked.PSet(
0077             limit = cms.untracked.int32(100)
0078         ),
0079         noLineBreaks = cms.untracked.bool(True),
0080         DEBUG = cms.untracked.PSet(
0081             limit = cms.untracked.int32(0)
0082         ),
0083         #FwkJob = cms.untracked.PSet(
0084         #    limit = cms.untracked.int32(0)
0085         #),
0086         threshold = cms.untracked.string('DEBUG')
0087     ),
0088     categories = cms.untracked.vstring('jetMETAnalyzer'),
0089     destinations = cms.untracked.vstring('cout')
0090 )
0091 process.options = cms.untracked.PSet(
0092     wantSummary = cms.untracked.bool(True)
0093 )
0094 
0095 process.FEVT = cms.OutputModule("PoolOutputModule",
0096     outputCommands = cms.untracked.vstring('keep *_MEtoEDMConverter_*_*'),
0097     #outputCommands = cms.untracked.vstring('keep *'),
0098     fileName = cms.untracked.string('reco_DQM_cruzet100945.root')
0099 )
0100 
0101 process.options = cms.untracked.PSet(
0102     wantSummary = cms.untracked.bool(True) ## default is false
0103 
0104 )
0105 
0106 #process.load('Configuration/StandardSequences/EDMtoMEAtRunEnd_cff')
0107 #process.load("DQMOffline.JetMET.jetMETDQMStoreClean_cff");
0108 
0109 process.p = cms.Path(process.jetMETDQMOfflineSourceCosmic
0110                      * process.MEtoEDMConverter
0111                      * process.dqmStoreStats)
0112 process.outpath = cms.EndPath(process.FEVT)
0113 process.DQM.collectorHost = ''
0114