Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:42

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0007 
0008 process.maxEvents = cms.untracked.PSet(
0009     input = cms.untracked.int32(60)
0010 )
0011 
0012 # This will generate:
0013 #   run 41 lumis 11-20 events 1-30
0014 #   run 42 lumis 11-20 events 1-30
0015 process.source = cms.Source("EmptySource",
0016     firstRun = cms.untracked.uint32(41),
0017     firstLuminosityBlock = cms.untracked.uint32(11),
0018     firstEvent = cms.untracked.uint32(1),
0019     numberEventsInLuminosityBlock = cms.untracked.uint32(3),
0020     numberEventsInRun = cms.untracked.uint32(30)
0021 )
0022 
0023 process.thingWithMergeProducer = cms.EDProducer("ThingWithMergeProducer")
0024 
0025 process.out = cms.OutputModule("PoolOutputModule",
0026     fileName = cms.untracked.string('testRunMerge101.root')
0027 )
0028 
0029 process.task = cms.Task(process.thingWithMergeProducer)
0030 
0031 process.e = cms.EndPath(process.out, process.task)