Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:55

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