Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:31:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("EDMtoMEConvert")
0004 process.load('Configuration/StandardSequences/Services_cff')
0005 process.load('FWCore/MessageService/MessageLogger_cfi')
0006 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0007 
0008 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0009 
0010 process.load("Validation.Configuration.postValidation_cff")
0011 
0012 process.maxEvents = cms.untracked.PSet(
0013     input = cms.untracked.int32(-1)
0014 )
0015 process.source = cms.Source("PoolSource",
0016     fileNames = cms.untracked.vstring()
0017 )
0018 
0019 
0020 process.dqmSaver.convention = 'Offline'
0021 #Settings equivalent to 'RelVal' convention:
0022 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0023 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0024 process.dqmSaver.forceRunNumber = cms.untracked.int32(1)
0025 #End of 'RelVal convention settings
0026 
0027 process.dqmSaver.workflow = ""
0028 process.DQMStore.verbose=3
0029 
0030 process.options = cms.untracked.PSet(
0031     fileMode = cms.untracked.string('FULLMERGE')
0032 )
0033 
0034 # Other statements
0035 
0036 #Adding DQMFileSaver to the message logger configuration
0037 process.MessageLogger.DQMFileSaver=dict()
0038 process.MessageLogger.cout.DQMFileSaver = cms.untracked.PSet(
0039        limit = cms.untracked.int32(1000000)
0040        )
0041 process.MessageLogger.cerr.DQMFileSaver = cms.untracked.PSet(
0042        limit = cms.untracked.int32(1000000)
0043        )
0044 
0045 process.post_validation= cms.Path(process.postValidation)
0046 process.EDMtoMEconv_and_saver= cms.Path(process.EDMtoMEConverter*process.dqmSaver)
0047 
0048 process.schedule = cms.Schedule(process.post_validation,process.EDMtoMEconv_and_saver)
0049 
0050 
0051 for filter in (getattr(process,f) for f in process.filters_()):
0052     if hasattr(filter,"outputFile"):
0053         filter.outputFile=""