Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:33:00

0001 import os
0002 import FWCore.ParameterSet.Config as cms
0003 
0004 process = cms.Process("Merge")
0005 
0006 #--- limit event reports number by each 100th event
0007 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0008 process.MessageLogger.cerr.FwkReport.reportEvery = 100
0009 
0010 process.load("DQMServices.Core.DQM_cfg")
0011 process.DQM.collectorHost = ''
0012 
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(-1)
0015 )
0016 
0017 process.source = cms.Source("PoolSource",
0018     duplicateCheckMode = cms.untracked.string("noDuplicateCheck"),
0019     fileNames = cms.untracked.vstring('file:output_seed1.root',
0020                                       'file:output_seed2.root'
0021                                       )
0022 )
0023 
0024 process.load('Configuration/StandardSequences/EDMtoMEAtRunEnd_cff')
0025 process.dqmSaver.referenceHandling = cms.untracked.string('all')
0026 
0027 cmssw_version = os.environ.get('CMSSW_VERSION','CMSSW_X_Y_Z')
0028 Workflow = '/HcalValidation/'+'Harvesting/'+str(cmssw_version)
0029 process.dqmSaver.workflow = Workflow
0030 
0031 process.p = cms.Path(process.EDMtoME * process.dqmSaver)