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_GR109134_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/109/134/EC0B693D-BE7C-DE11-8DF7-001D09F24763.root',
0048     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/E856A03C-BE7C-DE11-AB30-001D09F25460.root',
0049     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/E843B572-C77C-DE11-90FE-000423D6B444.root',
0050     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/E246E37E-C77C-DE11-9E60-001D09F28D54.root',
0051     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/C6F86257-C07C-DE11-AC8A-000423D99996.root',
0052     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/BA76158E-C97C-DE11-96D0-000423D986C4.root',
0053     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/B4B89A79-C27C-DE11-9D4B-000423D998BA.root',
0054     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/9A9C220F-E57C-DE11-9BA1-0019B9F72D71.root',
0055     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/987D120E-E57C-DE11-963C-001D09F27003.root',
0056     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/8E2C670F-E57C-DE11-8A57-001D09F253D4.root',
0057     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/78372356-C57C-DE11-A5C2-001D09F28D54.root',
0058     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/763AE7F1-BE7C-DE11-8316-0019B9F72BFF.root',
0059     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/748346F1-BE7C-DE11-A3E1-001D09F2A465.root',
0060     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/70776C19-E57C-DE11-BCA1-000423D9A212.root',
0061     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/6E4E38BF-C67C-DE11-BD9A-001D09F28F1B.root',
0062     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/4E6905E6-C37C-DE11-AA0E-0019B9F70468.root',
0063     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/4E31B083-BD7C-DE11-A224-001D09F2B2CF.root',
0064     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/408B3F3E-BE7C-DE11-841C-001D09F251CC.root',
0065     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/34FE333D-BE7C-DE11-A574-001D09F28F11.root',
0066     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/304AAC96-BD7C-DE11-84FA-0019B9F709A4.root',
0067     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/0C632371-C77C-DE11-B4A5-001D09F291D2.root',
0068     '/store/data/CRAFT09/Calo/RECO/v1/000/109/134/06FE3F28-C37C-DE11-AFC2-001D09F27067.root'
0069     )
0070 )
0071 
0072 process.source.inputCommands = cms.untracked.vstring('keep *', 'drop *_MEtoEDMConverter_*_*')
0073 
0074 process.maxEvents = cms.untracked.PSet(
0075     input = cms.untracked.int32( 1000 )
0076 )
0077 process.Timing = cms.Service("Timing")
0078 
0079 #process.MessageLogger = cms.Service("MessageLogger",
0080 #    debugModules = cms.untracked.vstring('jetMETAnalyzer'),
0081 #    cout = cms.untracked.PSet(
0082 #        default = cms.untracked.PSet(
0083 #            limit = cms.untracked.int32(0)
0084 #        ),
0085 #        jetMETAnalyzer = cms.untracked.PSet(
0086 #            limit = cms.untracked.int32(100)
0087 #        ),
0088 #        noLineBreaks = cms.untracked.bool(True),
0089 #        DEBUG = cms.untracked.PSet(
0090 #            limit = cms.untracked.int32(0)
0091 #        ),
0092 #        #FwkJob = cms.untracked.PSet(
0093 #        #    limit = cms.untracked.int32(0)
0094 #        #),
0095 #        threshold = cms.untracked.string('DEBUG')
0096 #    ),
0097 #    categories = cms.untracked.vstring('jetMETAnalyzer'),
0098 #    destinations = cms.untracked.vstring('cout')
0099 #)
0100 
0101 process.options = cms.untracked.PSet(
0102     wantSummary = cms.untracked.bool(False)
0103 )
0104 
0105 process.FEVT = cms.OutputModule("PoolOutputModule",
0106     outputCommands = cms.untracked.vstring('keep *_MEtoEDMConverter_*_*'),
0107     #outputCommands = cms.untracked.vstring('keep *'),
0108     fileName = cms.untracked.string('reco_DQM_GR109134_Calo.root')
0109 )
0110 
0111 process.options = cms.untracked.PSet(
0112     wantSummary = cms.untracked.bool(False) ## default is false
0113 
0114 )
0115 
0116 process.p = cms.Path(process.hcalnoise
0117                      * process.jetMETHLTOfflineSource
0118                      * process.jetMETDQMOfflineSourceCosmic
0119                      * process.MEtoEDMConverter
0120                      * process.dqmStoreStats)
0121 process.outpath = cms.EndPath(process.FEVT)
0122 process.DQM.collectorHost = ''
0123