Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('HARVESTING')
0004 
0005 # import of standard configurations
0006 process.load('Configuration.StandardSequences.Harvesting_cff')
0007 process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')
0008 
0009 ## input file (adapt input file name correspondingly)
0010 process.source = cms.Source("PoolSource",
0011     fileNames = cms.untracked.vstring("file:b2gDQM.root"),
0012     processingMode = cms.untracked.string('RunsAndLumis')
0013 )
0014 
0015 ## number of events
0016 process.maxEvents = cms.untracked.PSet(
0017     input = cms.untracked.int32(-1)
0018 )
0019 
0020 ## output options
0021 process.options = cms.untracked.PSet(
0022     Rethrow  = cms.untracked.vstring('ProductNotFound'),
0023     fileMode = cms.untracked.string('FULLMERGE')
0024 )
0025 
0026 ## DQMStore and output configuration
0027 process.EDMtoMEConverter.convertOnEndLumi = True
0028 process.EDMtoMEConverter.convertOnEndRun  = True
0029 process.dqmSaver.saveByRun      = cms.untracked.int32( -1)
0030 process.dqmSaver.saveAtJobEnd   = cms.untracked.bool(True)
0031 process.dqmSaver.forceRunNumber = cms.untracked.int32(  1)
0032 process.dqmSaver.workflow       = cms.untracked.string('/B2G/CMSSW_7_2_0_pre5/B2GDQM') ## adapt apropriately
0033 
0034 
0035 ## path definitions
0036 process.edmtome = cms.Path(
0037     process.EDMtoME
0038 )
0039 process.dqmsave = cms.Path(
0040     process.DQMSaver
0041 )
0042 
0043 ## schedule definition
0044 process.schedule = cms.Schedule(process.edmtome,process.dqmsave)