Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:17

0001 import FWCore.ParameterSet.Config as cms
0002 import os
0003 
0004 process = cms.Process("TEST")
0005 
0006 process.source = cms.Source("EmptySource",
0007                             numberEventsInLuminosityBlock = cms.untracked.uint32(3),
0008                             numberEventsInRun= cms.untracked.uint32(6))
0009 process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(10))
0010 
0011 process.i =cms.EDProducer("IntProducer", ivalue = cms.int32(4))
0012 process.f =cms.EDFilter("TestFilterModule", acceptValue = cms.untracked.int32(0))
0013 
0014 process.prd = cms.Path(process.i*process.f)
0015 process.out = cms.OutputModule("PoolOutputModule",
0016                    SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring("prd")),
0017                                fileName = cms.untracked.string("empty_old_format_"+os.environ['CMSSW_VERSION']+".root"))
0018 process.o = cms.EndPath(process.out)