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 # HCALNoise module
0016 process.load("RecoMET.METProducers.hcalnoiseinfoproducer_cfi")
0017 process.hcalnoise.refillRefVectors = cms.bool(True)
0018 process.hcalnoise.hcalNoiseRBXCollName = "hcalnoise"
0019 process.hcalnoise.requirePedestals = cms.bool(False)
0020 
0021 # the task - JetMET objects
0022 process.load("DQMOffline.JetMET.jetMETDQMOfflineSourceCosmic_cff")
0023 process.jetMETAnalyzer.OutputMEsInRootFile = cms.bool(True)
0024 process.jetMETAnalyzer.OutputFileName = cms.string('jetMETMonitoring_GR112220_Calo.root')
0025 process.jetMETAnalyzer.DoJetPtAnalysis = cms.untracked.bool(True)
0026 process.jetMETAnalyzer.caloMETAnalysis.allSelection       = cms.bool(True)
0027 process.jetMETAnalyzer.caloMETNoHFAnalysis.allSelection   = cms.bool(True)
0028 process.jetMETAnalyzer.caloMETHOAnalysis.allSelection     = cms.bool(True)
0029 process.jetMETAnalyzer.caloMETNoHFHOAnalysis.allSelection = cms.bool(True)
0030 process.jetMETAnalyzer.caloMETAnalysis.verbose     = cms.int32(0)
0031 
0032 # the task - JetMET trigger
0033 process.load("DQMOffline.Trigger.JetMETHLTOfflineSource_cfi")
0034 
0035 # check # of bins
0036 process.load("DQMServices.Components.DQMStoreStats_cfi")
0037 
0038 # for igprof
0039 #process.IgProfService = cms.Service("IgProfService",
0040 #  reportFirstEvent            = cms.untracked.int32(0),
0041 #  reportEventInterval         = cms.untracked.int32(25),
0042 #  reportToFileAtPostEvent     = cms.untracked.string("| gzip -c > igdqm.%I.gz")
0043 #)
0044 
0045 process.source = cms.Source("PoolSource",
0046     fileNames = cms.untracked.vstring(
0047     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/F0B768A4-5E93-DE11-B222-000423D94524.root',
0048     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/E25D4F9E-5E93-DE11-8D3E-003048D2C0F0.root',
0049     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/E0132A9C-5E93-DE11-ACA0-0019DB29C614.root',
0050     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/CAC87C9B-5E93-DE11-85AF-000423D98DC4.root',
0051     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/BC0F3371-5893-DE11-85B4-001D09F241B4.root',
0052     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/9866B39E-5E93-DE11-AE6C-003048D37456.root',
0053     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/70B5C597-5E93-DE11-BC9C-000423D9863C.root',
0054     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/6E1DF6A1-5E93-DE11-BD4A-000423D987FC.root',
0055     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/5A82B29E-5E93-DE11-8381-003048D37560.root',
0056     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/2EEFED9A-5E93-DE11-A6F7-000423D98834.root',
0057     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/1C85A466-5893-DE11-8FB5-001D09F252F3.root',
0058     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/142D5D99-5E93-DE11-961E-000423D94C68.root',
0059     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/0AABE3B2-5993-DE11-9EE2-000423D98EA8.root',
0060     '/store/data/CRAFT09/Calo/RECO/v1/000/112/220/04C0659F-5E93-DE11-88AC-000423D6B444.root'
0061     )
0062 )
0063 
0064 process.source.inputCommands = cms.untracked.vstring('keep *', 'drop *_MEtoEDMConverter_*_*')
0065 
0066 process.maxEvents = cms.untracked.PSet(
0067 #    input = cms.untracked.int32( 100 )
0068     input = cms.untracked.int32( 100000 )
0069 )
0070 process.Timing = cms.Service("Timing")
0071 
0072 process.MessageLogger = cms.Service("MessageLogger",
0073     debugModules = cms.untracked.vstring('jetMETAnalyzer'),
0074     cout = cms.untracked.PSet(
0075         default = cms.untracked.PSet(
0076             limit = cms.untracked.int32(0)
0077         ),
0078         jetMETAnalyzer = cms.untracked.PSet(
0079             limit = cms.untracked.int32(100)
0080         ),
0081         noLineBreaks = cms.untracked.bool(True),
0082         DEBUG = cms.untracked.PSet(
0083             limit = cms.untracked.int32(0)
0084         ),
0085         #FwkJob = cms.untracked.PSet(
0086         #    limit = cms.untracked.int32(0)
0087         #),
0088         threshold = cms.untracked.string('DEBUG')
0089     ),
0090     categories = cms.untracked.vstring('jetMETAnalyzer'),
0091     destinations = cms.untracked.vstring('cout')
0092 )
0093 process.options = cms.untracked.PSet(
0094     wantSummary = cms.untracked.bool(True)
0095 )
0096 
0097 process.FEVT = cms.OutputModule("PoolOutputModule",
0098     outputCommands = cms.untracked.vstring('keep *_MEtoEDMConverter_*_*'),
0099     #outputCommands = cms.untracked.vstring('keep *'),
0100     fileName = cms.untracked.string('reco_DQM_GR112220_Calo.root')
0101 )
0102 
0103 process.options = cms.untracked.PSet(
0104     wantSummary = cms.untracked.bool(True) ## default is false
0105 
0106 )
0107 
0108 process.p = cms.Path(process.hcalnoise
0109                      * process.jetMETHLTOfflineSource
0110                      * process.jetMETDQMOfflineSourceCosmic
0111                      * process.MEtoEDMConverter
0112                      * process.dqmStoreStats)
0113 process.outpath = cms.EndPath(process.FEVT)
0114 process.DQM.collectorHost = ''
0115