Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0003 
0004 process = cms.Process("Demo")
0005 
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 process.load("DQMServices.Core.DQM_cfg")
0008 process.DQM.collectorHost = ''
0009 
0010 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1)
0011 )
0012 
0013 process.source = cms.Source("EmptySource"
0014 )
0015 
0016 process.TFileService = cms.Service("TFileService",
0017                                    fileName = cms.string("histos.root")
0018 )
0019 
0020 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0021 process.dqmInfoJetMET = DQMEDAnalyzer('DQMEventInfo',
0022                                          subSystemFolder = cms.untracked.string('JetMET')
0023                                      )
0024 
0025 process.load("DQMOffline.JetMET.dataCertificationJetMET_cfi")
0026 process.dataCertificationJetMET = DQMEDHarvester('DataCertificationJetMET',
0027                               fileName       = cms.untracked.string("/uscms_data/d1/hatake/DQM-data/DQM_V0001_R000066594__Cosmics__Commissioning08-PromptReco-v2__RECO.root"),
0028                               refFileName    = cms.untracked.string("/uscms_data/d1/hatake/DQM-data/DQM_V0001_R000066714__Cosmics__Commissioning08-PromptReco-v2__RECO.root"),
0029                               OutputFile     = cms.untracked.bool(False),
0030                               OutputFileName = cms.untracked.string("DQMResult.root"),
0031                               Verbose        = cms.untracked.int32(0),
0032                               TestType       = cms.untracked.int32(0)
0033 )
0034 
0035 
0036 process.p = cms.Path(process.dqmInfoJetMET*process.dataCertificationJetMET)