Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EDMtoMEConvert")
0004 
0005 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0006 
0007 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0008 
0009 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0010 # CRAFT08
0011 # process.GlobalTag.globaltag = CRAFT0831X_V1::All
0012 # CRAFT09
0013 process.GlobalTag.globaltag = "GR09_P_V2::All"
0014 #process.GlobalTag.globaltag = "CRAFT09_R_V2::All"
0015 
0016 
0017 process.load("DQM.SiStripMonitorClient.SiStripClientConfig_Tier0_cff")
0018 process.siStripDaqInfo = cms.EDAnalyzer("SiStripDaqInfo")
0019 process.siStripDcsInfo = cms.EDAnalyzer("SiStripDcsInfo")
0020 process.siStripCertificationInfo = cms.EDAnalyzer("SiStripCertificationInfo")
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 
0026 process.options = cms.untracked.PSet(
0027  fileMode = cms.untracked.string('FULLMERGE')
0028 )
0029 
0030 process.source = cms.Source("PoolSource",
0031 #    dropMetaData = cms.untracked.bool(True),
0032     processingMode = cms.untracked.string("RunsLumisAndEvents"),
0033     fileNames = cms.untracked.vstring('file:sistrip_reco1.root', 'file:sistrip_reco2.root')
0034 )
0035 
0036 process.maxEvents.input = -1
0037 
0038 process.source.processingMode = "RunsAndLumis"
0039 
0040 process.dqmSaver.convention = 'Online'
0041 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0042 process.dqmEnvTr = DQMEDAnalyzer('DQMEventInfo',
0043                                                  subSystemFolder = cms.untracked.string('Tracking'),
0044                                                  eventRateWindow = cms.untracked.double(0.5),
0045                                                  eventInfoFolder = cms.untracked.string('EventInfo')
0046                                 )
0047 
0048 #process.dqmSaver.workflow = '/GlobalCruzet4-A/CMSSW_2_1_X-Testing/RECO'
0049 
0050 process.EDMtoMEConverter.convertOnEndLumi = True
0051 process.EDMtoMEConverter.convertOnEndRun = False
0052 
0053 # DQM Utility to calculate # of bins
0054 process.load("DQMServices.Components.DQMStoreStats_cfi")
0055 
0056 # Tracer service
0057 process.Tracer = cms.Service('Tracer',indentation = cms.untracked.string('$$'))
0058 #process.load('DQM.SiStripCommon.MessageLogger_cfi')
0059 
0060 process.p1 = cms.Path(process.EDMtoMEConverter*process.SiStripOfflineDQMClient*process.siStripDaqInfo*process.siStripDaqInfo*process.siStripDcsInfo*process.siStripCertificationInfo*process.dqmEnvTr*process.dqmSaver*process.dqmStoreStats)