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_GR108290_Calo.root')
0025 process.jetMETAnalyzer.OutputFileName = cms.string('jetMETMonitoring_TTbar.root')
0026 process.jetMETAnalyzer.DoJetPtAnalysis = cms.untracked.bool(True)
0027 process.jetMETAnalyzer.caloMETAnalysis.allSelection       = cms.bool(True)
0028 process.jetMETAnalyzer.caloMETNoHFAnalysis.allSelection   = cms.bool(True)
0029 process.jetMETAnalyzer.caloMETHOAnalysis.allSelection     = cms.bool(True)
0030 process.jetMETAnalyzer.caloMETNoHFHOAnalysis.allSelection = cms.bool(True)
0031 process.jetMETAnalyzer.caloMETAnalysis.verbose            = cms.int32(0)
0032 
0033 # the task - JetMET trigger
0034 process.load("DQMOffline.Trigger.JetMETHLTOfflineSource_cfi")
0035 
0036 # check # of bins
0037 process.load("DQMServices.Components.DQMStoreStats_cfi")
0038 
0039 # for igprof
0040 #process.IgProfService = cms.Service("IgProfService",
0041 #  reportFirstEvent            = cms.untracked.int32(0),
0042 #  reportEventInterval         = cms.untracked.int32(25),
0043 #  reportToFileAtPostEvent     = cms.untracked.string("| gzip -c > igdqm.%I.gz")
0044 #)
0045 
0046 process.source = cms.Source("PoolSource",
0047     fileNames = cms.untracked.vstring(
0048 #    'file:/home/xv/sordini/QCD_Pt170_summer09_31X_V3-v1_GEN-SIM-RECO.root'
0049     '/store/relval/CMSSW_3_4_0_pre1/RelValTTbar/GEN-SIM-RECO/MC_31X_V9-v1/0008/2C8CD8FE-B6B5-DE11-ACB8-001D09F2905B.root'
0050 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/FC70C563-1678-DE11-92EC-000423D999CA.root'
0051 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/F8AF03F6-1978-DE11-829B-001D09F252F3.root',
0052 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/F83D885F-1678-DE11-BAC1-000423D951D4.root',
0053 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/F26AA2D6-1278-DE11-B9C5-000423D98FBC.root',
0054 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/E6B19C9E-1A78-DE11-B0DC-000423D98EC8.root',
0055 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/E417AC6B-1678-DE11-91E2-000423D986A8.root',
0056 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/E0C2C65E-1678-DE11-B755-000423D98BC4.root',
0057 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/DE34EE8D-1878-DE11-A20C-001D09F24024.root',
0058 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/C0115BD1-1778-DE11-9D63-001D09F24DDA.root',
0059 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/B61073CE-1778-DE11-BAC0-001D09F244BB.root',
0060 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/B4A66260-1678-DE11-AF5A-000423D944F8.root',
0061 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/AC18D41F-1778-DE11-898F-000423D94494.root',
0062 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/A8842AFA-1478-DE11-9C71-000423D991D4.root',
0063 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/9EC2FB1F-1778-DE11-90D3-001D09F34488.root',
0064 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/948CEE47-1478-DE11-8610-000423D951D4.root',
0065 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/9243415C-1B78-DE11-8650-001D09F24DDA.root',
0066 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/808C5C48-1478-DE11-BE29-000423D944F0.root',
0067 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/78FC8993-1F78-DE11-B79F-000423D99160.root',
0068 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/76A40786-1878-DE11-A8BB-001D09F23E53.root',
0069 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/76A299CE-1778-DE11-8CBE-000423D98E54.root',
0070 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/709AB95E-1678-DE11-AF06-000423D98E6C.root',
0071 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/689F8D60-1678-DE11-B981-000423D99896.root',
0072 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/68457387-1878-DE11-BD30-001D09F2503C.root',
0073 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/64E9C35C-1B78-DE11-ADC6-001D09F24D8A.root',
0074 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/60E22226-1778-DE11-A958-001D09F2983F.root',
0075 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/5CF42529-1778-DE11-B52D-0019B9F72D71.root',
0076 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/5C7C76AF-2178-DE11-B49A-000423D998BA.root',
0077 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/586703D2-1778-DE11-8DDC-001D09F24399.root',
0078 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/52776364-1678-DE11-B9EA-000423D990CC.root',
0079 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/4C4D1F60-1678-DE11-A9BD-000423D99658.root',
0080 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/4A5576CF-1778-DE11-AF6A-001D09F25438.root',
0081 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/40CF75CE-1778-DE11-95E1-001D09F24DA8.root',
0082 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/3E56DB20-1778-DE11-9041-001D09F2B2CF.root',
0083 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/363856D0-1778-DE11-8E60-000423D991F0.root',
0084 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/2AF0D062-2278-DE11-A9EF-001D09F2437B.root',
0085 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/2AD949CF-1778-DE11-AB52-001D09F29114.root',
0086 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/1C584562-2278-DE11-9835-001D09F2538E.root',
0087 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/1C55F321-1778-DE11-A1CF-001D09F24EAC.root',
0088 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/0E943F48-1478-DE11-849B-000423D98E6C.root',
0089 #    '/store/data/Commissioning09/Calo/RECO/v6/000/108/290/0AFFD0CE-1778-DE11-87A6-001D09F2AF96.root',
0090 #    '/store/data/Commissioning09/Calo/RECO/v3/000/100/945/FA72B935-0960-DE11-A902-000423D98DB4.root'
0091     )
0092 )
0093 
0094 process.source.inputCommands = cms.untracked.vstring('keep *', 'drop *_MEtoEDMConverter_*_*')
0095 
0096 process.maxEvents = cms.untracked.PSet(
0097     input = cms.untracked.int32(1000)
0098 )
0099 process.Timing = cms.Service("Timing")
0100 
0101 process.MessageLogger = cms.Service("MessageLogger",
0102     debugModules = cms.untracked.vstring('jetMETAnalyzer'),
0103     cout = cms.untracked.PSet(
0104         default = cms.untracked.PSet(
0105             limit = cms.untracked.int32(0)
0106         ),
0107         jetMETAnalyzer = cms.untracked.PSet(
0108             limit = cms.untracked.int32(100)
0109         ),
0110         noLineBreaks = cms.untracked.bool(True),
0111         DEBUG = cms.untracked.PSet(
0112             limit = cms.untracked.int32(0)
0113         ),
0114         #FwkJob = cms.untracked.PSet(
0115         #    limit = cms.untracked.int32(0)
0116         #),
0117         threshold = cms.untracked.string('DEBUG')
0118     ),
0119     categories = cms.untracked.vstring('jetMETAnalyzer'),
0120     destinations = cms.untracked.vstring('cout')
0121 )
0122 process.options = cms.untracked.PSet(
0123     wantSummary = cms.untracked.bool(True)
0124 )
0125 
0126 process.FEVT = cms.OutputModule("PoolOutputModule",
0127     outputCommands = cms.untracked.vstring('keep *_MEtoEDMConverter_*_*'),
0128     #outputCommands = cms.untracked.vstring('keep *'),
0129     fileName = cms.untracked.string('reco_DQM_GR108290_Calo.root')
0130 )
0131 
0132 process.options = cms.untracked.PSet(
0133     wantSummary = cms.untracked.bool(True) ## default is false
0134 
0135 )
0136 
0137 process.p = cms.Path(process.hcalnoise
0138                      * process.jetMETHLTOfflineSource
0139                      * process.jetMETDQMOfflineSourceCosmic
0140                      * process.MEtoEDMConverter
0141                      * process.dqmStoreStats)
0142 process.outpath = cms.EndPath(process.FEVT)
0143 process.DQM.collectorHost = ''
0144