Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:47

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.FrontierConditions_GlobalTag_cff")
0008 #process.GlobalTag.connect = "frontier://PromptProd/CMS_COND_21X_GLOBALTAG"
0009 process.GlobalTag.globaltag = "GR09_31X_V5P::All"
0010 process.prefer("GlobalTag")
0011 
0012 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0013 
0014 #process.load("DQMOffline.Configuration.DQMOfflineCosmics_SecondStep_cff")
0015 process.load("DQM.DTMonitorClient.dtDQMOfflineClients_cff")
0016 process.load("DQM.DTMonitorClient.dtDQMOfflineCertification_cff")
0017 #process.load("DQMOffline.Configuration.DQMOfflineCosmics_Certification_cff")
0018 
0019 process.maxEvents = cms.untracked.PSet(
0020     input = cms.untracked.int32(1)
0021 )
0022 
0023 process.options = cms.untracked.PSet(
0024  fileMode = cms.untracked.string('FULLMERGE')
0025 )
0026 
0027 process.source = cms.Source("PoolSource",
0028                             #    dropMetaData = cms.untracked.bool(True),
0029                             processingMode = cms.untracked.string("RunsLumisAndEvents"),
0030                             fileNames = cms.untracked.vstring(
0031     "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_1.root",
0032 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_10.root",
0033 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_12.root",
0034 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_13.root",
0035 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_15.root",
0036 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_16.root",
0037 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_18.root",
0038 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_19.root",
0039 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_2.root",
0040 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_20.root",
0041 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_21.root",
0042 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_22.root",
0043 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_23.root",
0044 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_25.root",
0045 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_3.root",
0046 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_4.root",
0047 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_6.root",
0048 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_8.root",
0049 "rfio:/castor/cern.ch/user/c/cerminar/DT-DQM/test/run109815/DTDQMOffline_9.root"
0050 )
0051 )
0052 
0053 
0054 # process.source = cms.Source("PoolSource",
0055 # #    dropMetaData = cms.untracked.bool(True),
0056 #     processingMode = cms.untracked.string("RunsLumisAndEvents"),
0057 #     fileNames = cms.untracked.vstring(
0058 #     "file:DTDQMOffline_1.root",
0059 #     "file:DTDQMOffline_2.root",
0060 #     "file:DTDQMOffline_3.root")
0061 # )
0062 
0063 
0064 process.maxEvents.input = -1
0065 
0066 process.source.processingMode = "RunsAndLumis"
0067 
0068 process.dqmSaver.convention = 'Offline'
0069 process.dqmSaver.workflow = '/Cosmics/CMSSW_2_2_X-Testing/RECO'
0070 
0071 process.EDMtoMEConverter.convertOnEndLumi = True
0072 process.EDMtoMEConverter.convertOnEndRun = False
0073 
0074 process.load("DQMServices.Components.DQMStoreStats_cfi")
0075 
0076 process.p1 = cms.Path(process.EDMtoMEConverter*
0077                       process.dtClients*
0078                       process.dtCertification*
0079                       process.dqmSaver*
0080                       process.dqmStoreStats)
0081 
0082 
0083 # message logger
0084 process.MessageLogger = cms.Service("MessageLogger",
0085     cerr = cms.untracked.PSet(
0086         enable = cms.untracked.bool(False)
0087     ),
0088     cout = cms.untracked.PSet(
0089         DEBUG = cms.untracked.PSet(
0090             limit = cms.untracked.int32(0)
0091         ),
0092         DTBlockedROChannelsTest = cms.untracked.PSet(
0093             limit = cms.untracked.int32(-1)
0094         ),
0095         INFO = cms.untracked.PSet(
0096             limit = cms.untracked.int32(0)
0097         ),
0098         enable = cms.untracked.bool(True),
0099         noLineBreaks = cms.untracked.bool(False),
0100         threshold = cms.untracked.string('WARNING')
0101     ),
0102     debugModules = cms.untracked.vstring('*')
0103 )
0104 
0105 
0106 
0107 
0108