Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import os
0004 
0005 
0006 
0007 process = cms.Process("EDMtoMEConvert")
0008 process.load('Configuration/StandardSequences/Services_cff')
0009 process.load('FWCore/MessageService/MessageLogger_cfi')
0010 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0011 
0012 process.load("DQMServices.Components.EDMtoMEConverter_cff")
0013 
0014 process.load("Validation.Configuration.postValidation_cff")
0015 
0016 process.maxEvents = cms.untracked.PSet(
0017     input = cms.untracked.int32(-1)
0018 )
0019 process.source = cms.Source("PoolSource",
0020     fileNames = cms.untracked.vstring(
0021 [
0022        
0023 '/store/relval/CMSSW_3_1_0_pre4/RelValSingleMuPt10/GEN-SIM-DIGI-RECO/IDEAL_30X_v1/0001/189AF476-A516-DE11-8357-001A92810AA8.root',
0024        
0025 '/store/relval/CMSSW_3_1_0_pre4/RelValSingleMuPt10/GEN-SIM-DIGI-RECO/IDEAL_30X_v1/0001/3E0A9B94-6916-DE11-8393-003048678D52.root',
0026        
0027 '/store/relval/CMSSW_3_1_0_pre4/RelValSingleMuPt10/GEN-SIM-DIGI-RECO/IDEAL_30X_v1/0002/BC2D1B56-FE16-DE11-9048-0018F3D095EC.root' 
0028 ]    ),
0029     secondaryFileNames = cms.untracked.vstring()
0030 )
0031 
0032 
0033 process.dqmSaver.convention = 'Offline'
0034 #Settings equivalent to 'RelVal' convention:
0035 process.dqmSaver.saveByRun = cms.untracked.int32(-1)
0036 process.dqmSaver.saveAtJobEnd = cms.untracked.bool(True)
0037 process.dqmSaver.forceRunNumber = cms.untracked.int32(1)
0038 #End of 'RelVal convention settings
0039 
0040 process.dqmSaver.workflow = "/"+os.environ["CMSSW_VERSION"]+"/RelVal/Validation"
0041 process.DQMStore.verbose=3
0042 
0043 process.options = cms.untracked.PSet(
0044     fileMode = cms.untracked.string('FULLMERGE')
0045 )
0046 
0047 # Other statements
0048 
0049 #Adding DQMFileSaver to the message logger configuration
0050 process.MessageLogger.cout.DQMFileSaver = cms.untracked.PSet(
0051        limit = cms.untracked.int32(1000000)
0052        )
0053 process.MessageLogger.cerr.DQMFileSaver = cms.untracked.PSet(
0054        limit = cms.untracked.int32(1000000)
0055        )
0056 
0057 process.post_validation= cms.Path(process.postValidation)
0058 process.EDMtoMEconv_and_saver= cms.Path(process.EDMtoMEConverter*process.dqmSaver)
0059 
0060 process.schedule = cms.Schedule(process.post_validation,process.EDMtoMEconv_and_saver)
0061 
0062 
0063 for filter in (getattr(process,f) for f in process.filters_()):
0064     if hasattr(filter,"outputFile"):
0065         filter.outputFile=""