Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DQM")
0004 
0005 #
0006 #  DQM SERVICES
0007 #
0008 process.load("DQMServices.Core.DQM_cfg")
0009 
0010 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0011 
0012 #
0013 #  ME to EDM 
0014 #
0015 process.load("DQMServices.Components.MEtoEDMConverter_cff")
0016 #
0017 # DQMOffline
0018 #
0019 #process.load("DQMOffline.Configuration.DQMOfflineCosmics_cff")
0020 process.load("DQMOffline.Configuration.DQMOffline_cff")
0021 
0022 
0023 process.maxEvents = cms.untracked.PSet(
0024     input = cms.untracked.int32(10)
0025 )
0026 
0027 process.load("curRun_files_cfi")
0028 
0029 #process.source = cms.Source("PoolSource",
0030 #    fileNames = 
0031 #        cms.untracked.vstring(
0032 ##'/store/data/BeamCommissioning09/Cosmics/RECO/v1/000/120/020/DE706F2B-5FCC-DE11-98C7-001617E30CC8.root',
0033 #
0034 #               )
0035 #)
0036 
0037 process.EDM = cms.OutputModule("PoolOutputModule",
0038 #process.RECOEventContent,
0039 #dataset = cms.untracked.PSet(dataTier = cms.untracked.string('RECO')),
0040     fileName = cms.untracked.string('myDQMOfflineTriggerEDM.root'),
0041     outputCommands = cms.untracked.vstring('drop *', 
0042          'keep  *_*_*_DQM')
0043 )
0044 
0045 
0046 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True))
0047 
0048 #process.MessageLogger = cms.Service("MessageLogger",
0049 #    detailedInfo= cms.untracked.PSet(
0050 #      threshold = cms.untracked.string('DEBUG'),
0051 #      DEBUG = cms.untracked.PSet(
0052 #            limit = cms.untracked.int32(10000)
0053 #      )
0054 #    ),
0055 #    critical = cms.untracked.PSet(
0056 #        threshold = cms.untracked.string('ERROR')
0057 #    ),
0058 #    debugModules = cms.untracked.vstring('hltFiltersDQMonitor'),
0059 ##debugModules = cms.untracked.vstring('*'),
0060 #    cout = cms.untracked.PSet(
0061 #        threshold = cms.untracked.string('WARNING'),
0062 #        WARNING = cms.untracked.PSet(
0063 #            limit = cms.untracked.int32(0)
0064 #        ),
0065 #        noLineBreaks = cms.untracked.bool(True)
0066 #    ),
0067 #    destinations = cms.untracked.vstring('detailedInfo', 
0068 #        'critical', 
0069 #        'cout')
0070 ##    destinations = cms.untracked.vstring( 'critical', 'cout')
0071 #)
0072 process.triggerOfflineDQMSource.remove(process.l1tgmt)
0073 process.triggerOfflineDQMSource.remove(process.l1tcsctf)
0074 
0075 process.AllPath = cms.Path(process.triggerOfflineDQMSource *  process.MEtoEDMConverter)
0076 #process.AllPath = cms.Path(process.hltFiltersDQMonitor *  process.MEtoEDMConverter)
0077 
0078 process.outpath = cms.EndPath(process.EDM)
0079